Re: shmmax 9.3

Поиск
Список
Период
Сортировка
От Matheus de Oliveira
Тема Re: shmmax 9.3
Дата
Msg-id CAJghg4+34QY1O_j7ze4Thehp8w1_67O3J0B+kP=CSEhaTMcvEw@mail.gmail.com
обсуждение исходный текст
Ответ на shmmax 9.3  (dx k9 <bitsandbytes88@hotmail.com>)
Список pgsql-admin

On Tue, Dec 17, 2013 at 2:51 PM, dx k9 <bitsandbytes88@hotmail.com> wrote:
Hi, we are building a 9.3 instance on CentOS with 32 GB of RAM.   What is the recommended value for SHMMAX the documentation was far less is needed but not exactly how much.   We used 25% of total memory < 9.3.   But what should we use now ?  5% of total memory or just 10 MB or 10 KB ?   Do we even need to mess with sysctl.conf?    The documentation table 17-1 shows just 1 kb is needed yet below under linux the example uses 17 GB of SHMMAX.   We will run several instances on one server. 
 

At 9.3 the mechanism for shared memory allocation has changed. Now it uses mmap(). And so, there is no more need to adjust the SHMMAX parameter (at least not more than the 1KB).

So the answer to your question is basically that you don't need to mess sysctl.conf anymore to change SHMMAX (at least not in CentOS). You still may need to tweak there to change semaphores limits.

Best regards,
--
Matheus de Oliveira
Analista de Banco de Dados
Dextra Sistemas - MPS.Br nível F!
www.dextra.com.br/postgres

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

Предыдущее
От: dx k9
Дата:
Сообщение: shmmax 9.3
Следующее
От: "Campbell, Lance"
Дата:
Сообщение: script to drop and create all indexes in a database with parameter concurrently