Re: SHMMAX and shared_bufffers

From: "Thom Brown" <thombrown(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: SHMMAX and shared_bufffers
Date: 2008-11-11 17:07:12
Message-ID: bddc86150811110907g365d56d5ucaaed56126f205ea@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Actually, I think I may have solved it, but I would like someone to verify it.

The temp_buffers takes up 8MB which suggests that needs to be taken
into account, so 256MB - 8MB = 248MB.

Is this right?

Thanks

Thom

On Tue, Nov 11, 2008 at 4:57 PM, Thom Brown <thombrown(at)gmail(dot)com> wrote:
> 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
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2008-11-11 17:17:20 Re: SHMMAX and shared_bufffers
Previous Message Thom Brown 2008-11-11 16:57:10 SHMMAX and shared_bufffers