SHMMAX and shared_bufffers - Mailing list pgsql-general

From Thom Brown
Subject SHMMAX and shared_bufffers
Date
Msg-id bddc86150811110857r6768a4e0w7e3eefb60996ca5a@mail.gmail.com
Whole thread Raw
Responses Re: SHMMAX and shared_bufffers  ("Thom Brown" <thombrown@gmail.com>)
Re: SHMMAX and shared_bufffers  (Alvaro Herrera <alvherre@commandprompt.com>)
Re: SHMMAX and shared_bufffers  (Greg Smith <gsmith@gregsmith.com>)
List pgsql-general
Hi,

I've noticed that if I set my SHMMAX to 256 * 1024 * 1024 (268435456)
and my shared_buffers value in postgresql.conf to 256MB the server
fails to start.  I managed to find a tipping point: 249MB seems to be
too much and 248MB seems to be okay.

Could someone explain what I'm missing here?  I thought the
shared_buffers could be anything up to SHMMAX?

Thanks in advance

Thom

pgsql-general by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Very slow queries w/ NOT IN preparation (seems like a bug, test case)
Next
From: "Thom Brown"
Date:
Subject: Re: SHMMAX and shared_bufffers