Re: shmget fails on OS X with proper settings - Mailing list pgsql-general

From Isak Hansen
Subject Re: shmget fails on OS X with proper settings
Date
Msg-id 6b9e1eb20705070550u32d131b9oc2f7579cfb21d85c@mail.gmail.com
Whole thread Raw
In response to shmget fails on OS X with proper settings  ("Christopher S Martin" <martin.christopher.s@gmail.com>)
List pgsql-general
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
>

pgsql-general by date:

Previous
From: "Christopher S Martin"
Date:
Subject: Re: shmget fails on OS X with proper settings
Next
From: "Sinead O Brien"
Date:
Subject: Re: did not find any relation for existing table