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

Поиск
Список
Период
Сортировка
От Dennis Clark
Тема Re: Adjusting Shared Memory with sysctl.conf not working?
Дата
Msg-id 6fb84bdd0903271623w7f6e22b4n267eaf8cb27c7f65@mail.gmail.com
обсуждение исходный текст
Ответ на Adjusting Shared Memory with sysctl.conf not working?  (Doug Graham <duggram@gmail.com>)
Ответы Re: Adjusting Shared Memory with sysctl.conf not working?
Список pgsql-novice
Hi Doug,

I have a very similar configuration to yours, but I was able to install PostgreSQL successfully through dumb luck; that is, I simply ignored the advice about the shared memory just to see what would happen.  The installation apparently is smart enough to fix one's environment automatically now, and I received this nice message telling me to re-boot and re-run the installer. I did that and everything works just fine.  You may simply want to delete /etc/sysctl.conf and try again.

Good Luck,
Dennis Clark
 
On Fri, Mar 27, 2009 at 3:05 PM, Doug Graham <duggram@gmail.com> wrote:
I'm trying to install Postresql on my Mac Book Pro which has 4GB ram and runs OS X 10.5.6. Postgres won't install because it says I don't have more than 32MB of shared memory. So as they tell you in their readme I created a file /etc/sysctl.conf with these lines:

kern.sysv.shmmax=16777216
kern.sysv.shmall=16777216
kern.sysv.shmmin=1
kern.sysv.shmmni=4096
kern.sysv.shmseg=8

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

Which is more than Postgres says is required. Any suggestions on what I need to do to get Postgres to install?

Any advice appreciated, Doug



--
Dennis M. Clark
OSS Analyst
http://www.nexb.com
http://www.EasyEclipse.org

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Adjusting Shared Memory with sysctl.conf not working?
Следующее
От: "Nagle, Gail A \(US SSA\)"
Дата:
Сообщение: Problem editing pg_hba.conf on Vista