logo       

Re: Postgresql error "pg_ctl stop" is invoked after a "postmaster -i &" in: msg#00015

Subject: Re: Postgresql error "pg_ctl stop" is invoked after a "postmaster -i &" invocation
Reini Urban wrote:

Carlo Florendo schrieb:

I invoked:

"postmaster -i -D /var/postgresql/data  &"

and was able to start and connect to my database. Since the process was made to run on the background, I wanted a way to stop it without doing a "kill -9". Thus, on another instance of my shell, I invoked :

"pg_ctl stop -D /var/postgresql/data"

Postgres says it was unsuccessful in shutting down the database. However, doing a "ps" revealed that no postgres processes were running.

I then tried to restart the DB once again with:

"postmaster -i -D /var/postgresql/data  &"

This time, I got this errror:

$ postmaster -i -D /var/postgresql/data &
FATAL:  could not create semaphores: No space left on device
DETAIL:  Failed system call was semget(5432004, 17, 03600).
HINT:  This error does *not* mean that you have run out of disk space.
It occurs when either the system limit for the maximum number of semaphore sets (SEMMNI), or the system wide maximum number of semaphores (SEMMNS), would be exceeded. You need to raise the respective kernel parameter. Alternatively, reduce PostgreSQL's consumption of semaphores by reducing its max_connections parameter (currently 40). The PostgreSQL documentation contains more information about configuring your system for PostgreSQL.


I have a lot of diskspace.  Doing a "df" revealed:


Now the tricky part:
Did you actually read what the error message told you?


Oh sheeesh! I'm so sorry. (How come I didn't see the hint?....sorry, must've been my sleepiness.) No, I didn't read everything. And yes, the explanation is really straightforward and to the point ( I realized after I read it.) .
Apologies for the noise.

Thanks!

Best Regards,

Carlo

--
Carlo Florendo
Astra Philippines Inc.
www.astra.ph




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
web.pylons.gene...    hurd.l4/2002-10...    kernel.commits....    user-groups.lin...    yellowdog.gener...    java.drools.use...    security.openva...    package-managem...    linux.debian.us...    qnx.openqnx.dev...    genealogy.gramp...    file-systems.if...    voip.wengophone...    tex.context/200...    ietf.smime/2003...    audio.csound.de...    culture.region....    xfree86.devel/2...    mobile.kannel.u...    distributed.con...    education.engli...    org.user-groups...    bug-tracking.gn...    recreation.bicy...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe