Qube2 - Mailing list pgsql-bugs

From Dan Higham
Subject Qube2
Date
Msg-id 1054053545.3212.9.camel@linuxlaptop
Whole thread Raw
List 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

pgsql-bugs by date:

Previous
From: Serge Obeuf
Date:
Subject: Re: Question to You
Next
From: Gerhard Dieringer
Date:
Subject: Bug in parser?