From: | Erik Jones <erik(at)myemma(dot)com> |
---|---|
To: | Wolfgang Keller <wolfgang(dot)keller(dot)privat(at)gmx(dot)de> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgres General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: settings for 8.2.5 on Mac OS X 10.4.11 |
Date: | 2007-12-21 17:31:50 |
Message-ID: | 52101DDC-8442-48DF-A860-893A802B7A34@myemma.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Dec 21, 2007, at 2:12 AM, Wolfgang Keller wrote:
>> The best thing is to fix the OS' ridiculously small shmem limits.
>> I've got this in /etc/sysctl.conf:
>>
>> kern.sysv.shmmax=33554432
>> kern.sysv.shmmin=1
>> kern.sysv.shmmni=32
>> kern.sysv.shmseg=8
>> kern.sysv.shmall=8192
>
> Dependency on the available RAM?
>
>> and on a production DB you'd probably want shmmax and shmall
>> a good bit higher.
>>
>> Don't forget to reboot after changing settings. Also, a
>> "sysctl -a | grep shm" is a good idea to make sure it "took";
>> OS X is infamously picky about these settings.
>>
>> regards, tom lane
>
> A Macnerd as a core developer of Postgres? :-)
Not surprising. Macs are an absolute joy for developing.
Erik Jones
Software Developer | Emma®
erik(at)myemma(dot)com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
From | Date | Subject | |
---|---|---|---|
Next Message | Richard Broersma Jr | 2007-12-21 18:06:04 | Re: Exactly what is DEFERRABLE |
Previous Message | Andreas 'ads' Scherbaum | 2007-12-21 17:07:18 | Hotel for FOSDEM 2008 |