Re: Adjusting Shared Memory with sysctl.conf not working?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Adjusting Shared Memory with sysctl.conf not working?
Дата
Msg-id 6316.1238196138@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Adjusting Shared Memory with sysctl.conf not working?  (Doug Graham <duggram@gmail.com>)
Ответы Re: Adjusting Shared Memory with sysctl.conf not working?
Список pgsql-novice
Doug Graham <duggram@gmail.com> writes:
> Reboot multiple times. Here's what shared memory I have running now:

> DougMBP:~ duggram$ sysctl -a | grep shm
> kern.exec: unknown type returned
> kern.sysv.shmall: 16777216
> kern.sysv.shmseg: 8
> kern.sysv.shmmni: 4096
> kern.sysv.shmmin: 1
> kern.sysv.shmmax: 4194304

My MBP has

kern.sysv.shmall: 8192
kern.sysv.shmseg: 8
kern.sysv.shmmni: 32
kern.sysv.shmmin: 1
kern.sysv.shmmax: 33554432

I think you possibly have the meaning/units for shmall and shmmax
reversed.  shmall is in pages, shmmax is in bytes.  I wouldn't be
surprised if the shmall value you're trying to stuff in there is
overflowing to zero...

            regards, tom lane

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

Предыдущее
От: Doug Graham
Дата:
Сообщение: Adjusting Shared Memory with sysctl.conf not working?
Следующее
От: Dennis Clark
Дата:
Сообщение: Re: Adjusting Shared Memory with sysctl.conf not working?