Bruce Momjian <[email protected]> writes:
> Daniel van Eeden wrote:
>> creating template1 database in /opt/postgresql/data/base/1 ... FATAL: 
>> semctl(10977333, 16, SETVAL, 536) failed: Invalid argument

> That is a problem with semaphores in your kernel.  Have you modified
> your postgresql.conf from the default?  If so, you should read the
> PostgreSQL documentation on how to modify your kernel for larger
> settings.

But it's failing at semctl() not semget().  So it seems he hasn't run
out of semaphores.  I wonder if SEMVMX is unusually small on his setup
(ie, less than 536).  My Linux semctl man page says that that case would
return ERANGE not EINVAL, but ...

                        regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to