Re: SHMMAX and shared_bufffers

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Thom Brown <thombrown(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: SHMMAX and shared_bufffers
Date: 2008-11-11 17:17:20
Message-ID: 20081111171720.GK4272@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Thom Brown escribió:
> 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?

shared_buffers is not the only factor to shared memory, so you need to
provide some extra SHMMAX slop.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Brent Wood 2008-11-11 17:51:57 Re: how to best resync serial columns
Previous Message Thom Brown 2008-11-11 17:07:12 Re: SHMMAX and shared_bufffers