Re: SHMMAX and shared_bufffers

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: SHMMAX and shared_bufffers
Дата
Msg-id 20081111171720.GK4272@alvh.no-ip.org
обсуждение исходный текст
Ответ на SHMMAX and shared_bufffers  ("Thom Brown" <thombrown@gmail.com>)
Ответы Re: SHMMAX and shared_bufffers  (Sam Mason <sam@samason.me.uk>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: "Thom Brown"
Дата:
Сообщение: Re: SHMMAX and shared_bufffers
Следующее
От: "Brent Wood"
Дата:
Сообщение: Re: how to best resync serial columns