Search Postgresql Archives

Re: shmget fails on OS X with proper settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Bah, evil google interface. My reply was ment for the list.

On 5/7/07, Isak Hansen <isak.hansen@xxxxxxxxx> wrote:
On 5/7/07, Christopher S Martin <martin.christopher.s@xxxxxxxxx> wrote:
> sysctl -a reveals the following:
> kern.sysv.shmmax: 12582912

Maximum size of shared memory segment (afaik bytes - needs to be a
multiple of 4096).

> kern.sysv.shmall: 1024

Total amount of shared memory available (afaik pages of 4k).


Shouldn't matter how large you make shmmax if there's not enough
shared memory to allocate chunks from.


My settings:
kern.sysv.shmmax: 134217728
kern.sysv.shmmin: 1
kern.sysv.shmmni: 32
kern.sysv.shmseg: 8
kern.sysv.shmall: 32768

and shared_buffers = 80MB. Probably a bit excessive for my dev box, but..


HTH,
Isak



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux