Qube2

From: Dan Higham <danhigham(at)fairadsl(dot)co(dot)uk>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Qube2
Date: 2003-05-27 16:39:05
Message-ID: 1054053545.3212.9.camel@linuxlaptop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

I have installed postgresql on a qube2 running netbsd 1.6, when I try
and init the database, I get this error;

IpcSemaphoreCreate: semget(key=4, num=17, 03600) failed: No space left
on device

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 1).

The PostgreSQL Administrator's Guide contains more information about
configuring your system for PostgreSQL.

I have rebuilt the kernel with the following values

options SHMMAXPGS=4096
options SHMSEG=256

options SEMMNI=256
options SEMMNS=512
options SEMMNU=256
options SEMMAP=256

but this doesn't seem to work, although I have not rebuilt a kernel
before, I am fairly sure I am doing this the correct way.

I would be grateful of any advice you can spare.

Thanks

Dan Higham

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2003-05-27 16:49:33 Re: [BUGS] Bug #928: server_min_messages (log_min_messages in CVS)
Previous Message Bruce Momjian 2003-05-27 16:15:27 Re: [BUGS] Bug #928: server_min_messages (log_min_messages