Re: settings for 8.2.5 on Mac OS X 10.4.11

From: Wolfgang Keller <wolfgang(dot)keller(dot)privat(at)gmx(dot)de>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: 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 08:12:13
Message-ID: EEF2EEF2C32A2C906B0102FE@[192.168.1.25]
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> 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? :-)

Sincerely,

Wolfgang Keller

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2007-12-21 08:19:08 Re: referential integrity and defaults, DB design or trick
Previous Message ivan.hou 2007-12-21 07:48:08 update pg question?