Re: 7.4.3 initdb: could not create semaphores

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: teknet(at)poczta(dot)onet(dot)pl
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: 7.4.3 initdb: could not create semaphores
Date: 2004-07-02 16:44:55
Message-ID: 15694.1088786695@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

teknet(at)poczta(dot)onet(dot)pl writes:
> could not create semaphores: No space left on device
> DETAIL: Failed system call was semget(1, 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 10).
> The PostgreSQL documentation contains more information about
> configuring your system for PostgreSQL.

> How can i sovle this problem ?

You need to increase your kernel's settings for maximum number of
semaphores. See the admin documentation that the error message is
trying to point you to:

http://www.postgresql.org/docs/7.4/static/kernel-resources.html

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Bender, Cheryl 2004-07-02 16:48:02 Re: Dumping partial database content
Previous Message Jean-Christophe Weis 2004-07-02 15:33:40 Re: unable to pass variable PGDATA2 into server environment