Bah, evil google interface. My reply was ment for the list.
On 5/7/07, Isak Hansen <isak.hansen@gmail.com> wrote:
> On 5/7/07, Christopher S Martin <martin.christopher.s@gmail.com> 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
>