Received: from smtp012.mail.yahoo.com (smtp012.mail.yahoo.com [216.136.173.32]) by postgresql.org (8.11.3/8.11.4) with SMTP id g0P1e5l46698 for ; Thu, 24 Jan 2002 20:40:05 -0500 (EST) (envelope-from chrup999@yahoo.com) Received: from chill-025.dfw.tx.bbnow.net (HELO ?192.168.0.6?) (24.219.2.25) by smtp.mail.vip.sc5.yahoo.com with SMTP; 25 Jan 2002 01:40:02 -0000 Mime-Version: 1.0 X-Sender: chrup999@pop.mail.yahoo.com Message-Id: In-Reply-To: <5511D658682A7740BA295CCF1E1233A635A83B@vsvapostal2.bkup3> References: <5511D658682A7740BA295CCF1E1233A635A83B@vsvapostal2.bkup3> Date: Thu, 24 Jan 2002 19:39:50 -0600 To: PostGreSQL Admin Group From: Chris Ruprecht Subject: Re: Increasing Shared Memory - on MacOS X Content-Type: text/plain; charset="iso-8859-1" ; format="flowed" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by postgresql.org id g0P1gsm47018 X-Archive-Number: 200201/180 X-Sequence-Number: 3066 At 14:21 -0500 01/24/2002, Zhang, Anna wrote: >You need to increase SHMMAX. For solaris, it's in /etc/system file; Linux: >/etc/sysctl.conf. You should know corresponding file for your system or >check with your SA to figure out. I have this well under control on my production server (Linux) with /sbin/sysctl. I am doing development on a PowerBook G4 running MacOS X 10.1.2 and I have tried to up the shared memory on the postgres.conf file. I have it at 256 8K blocks and it's working, but it's pretty slow. When I try and specify more memory (512 8K Blocks or more), I get an error, telling me that the system is not allowing more. I can not ask my SA, I AM the SA ;-). And there are no recognizable files in or around the /etc directory, I can modify. MacOS X has the sysctl command, but there is no kern.shmmax parameter to read or set. This is a MacOS X SPECIFIC question, and solutions for other UNIXen don't quite apply. I checked on the web and any other available resource on this, but came up empty handed ... Best regards, Chris -- Chris Ruprecht Network grunt and bit pusher extraordinaíre _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com