Re: shared memory on OS X - 7.4beta4

From: Jim Crate <jcrate(at)deepskytech(dot)com>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: shared memory on OS X - 7.4beta4
Date: 2003-10-28 15:44:41
Message-ID: r02000200-1030-A5719B5A095D11D899740003939CD378@[63.175.177.209]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

>> And here are are the default settings for OS X 10.2.6:
>>
>> sysctl -w kern.sysv.shmmax=4194304
>
>Well, I can only say that if I lower shmmax to that value, initdb picks
>max_connections = 50
>shared_buffers = 300

I just did a fresh install of 7.4b5 on a fresh install of MacOS 10.3, and initdb
picked those same values for postgresql.conf. PostgreSQL started up the first
time successfully, but then refused to start again even after restarting the
computer until I reduced shared_buffers.

Now to figure out why sysctl -w kern.sysv.shmmax=<some_reasonable_value> doesn't
seem to work on 10.3...

Jim Crate

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fernando Nasser 2003-10-28 15:51:41 Re: Versioning control in PostgreSQL?
Previous Message Doug McNaught 2003-10-28 15:38:43 Re: Newbie-question

Browse pgsql-hackers by date

  From Date Subject
Next Message Devrim GUNDUZ 2003-10-28 15:54:37 Re: Compilation of PostgreSQL on Irix
Previous Message Bruce Momjian 2003-10-28 15:22:47 Re: Open items