Now (probably after upgrading to kernel 2.6.28-14) postgres will no
longer start, not even when I try to start it manually with sudo
/etc/init.d/postgresql-8.3 start, it complains with

2009-08-06 10:55:59 CEST FATAL:  could not create shared memory segment: 
Invalid argument
2009-08-06 10:55:59 CEST DETAIL:  Failed system call was shmget(key=5432001, 
size=39288832, 03600).
2009-08-06 10:55:59 CEST HINT:  This error usually means that PostgreSQL's 
request for a shared memory segment exceeded your kernel's SHMMAX parameter.  
You can either reduce the request size or reconfigure the kernel with larger 
SHMMAX.  To reduce the request size (currently 39288832 bytes), reduce 
PostgreSQL's shared_buffers parameter (currently 4096) and/or its 
max_connections parameter (currently 103).
        If the request size is already small, it's possible that it is less 
than your kernel's SHMMIN parameter, in which case raising the request size or 
reconfiguring SHMMIN is called for.
        The PostgreSQL documentation contains more information about shared 
memory configuration.

-- 
pgsql fails to start due to shared buffer setting greater than kernel allows
https://bugs.launchpad.net/bugs/264336
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to