I rebooted my machine with some logging in the postgres startup script.

[at boot time]
$ ipcs -m
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      

$ sysctl -a | grep -i shm
kernel.shmmax = 33554432
kernel.shmall = 2097152
kernel.shmmni = 4096

[logged in later]
$ ipcs -m
------ Shared Memory Segments --------
key        shmid      owner      perms      bytes      nattch     status      
0x00000000 0          root      700        16777216   1          dest         
0x00000000 32769      root      700        16777216   1          dest         
0x00000000 65538      root      700        16777216   1          dest         

$ sysctl -a | grep -i shm
kernel.shmmax = 268435456
kernel.shmall = 2097152
kernel.shmmni = 4096

-- 
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
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to