pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Maximilian Tyrtania <mty@fischerappelt.de>
To: pgsql-admin@postgresql.org
Subject: shared memory settings on MAC OS X
Date: Sun, 28 Oct 2007 16:02:18 +0100
Message-ID: <C34A630A.149D9%mty@fischerappelt.de> (raw)

Hi there,

I am trying to increase the amount of shared memory on my Mac OS 10.4
machine (i have 5 GB RAM installed), but without too much success.

My /etc/sysctl.conf file looks like this:
                
kern.sysv.shmmax=33554432
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=8192

Then I reboot and do sysctl -a | grep shm, and read:

kern.sysv.shmmax=4194304
kern.sysv.shmmin=1
kern.sysv.shmmni=32
kern.sysv.shmseg=8
kern.sysv.shmall=8192


4194304 is the default value for kern.sysv.shmmax.
It looks as if Tiger ignores my feeble attempt to set the kern.sysv.shmmax
value.

Any pointers? 

BTW, as I intend to allow 240 connections I should probably raise the
settings even way beyond that, I am just still experimenting.

Best,

- Maximilian Tyrtania | mty@fischerappelt.de
  fischerAppelt Kommunikation GmbH
  Tucholskystr.18 | D-10117 Berlin | Germany
  Tel. ++49-30-726146-728
  http://www.fischerappelt.de

--





view thread (9+ messages)  latest in thread

Message-ID: <C34A630A.149D9%mty@fischerappelt.de>
Permalink:  ../C34A630A.149D9%25mty@fischerappelt.de/
Also on:    postgresql.org/message-id/C34A630A.149D9%mty@fischerappelt.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: mty@fischerappelt.de
  Subject: Re: shared memory settings on MAC OS X
  In-Reply-To: <C34A630A.149D9%mty@fischerappelt.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox