pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Maximilian Tyrtania <mty@fischerappelt.de>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: shared memory settings on MAC OS X
Date: Mon, 29 Oct 2007 09:40:10 -0400
Message-ID: <4731.1193665210@sss.pgh.pa.us> (raw)
In-Reply-To: <C34B62D9.2B38E%mty@fischerappelt.de>
References: <C34B62D9.2B38E%mty@fischerappelt.de>

Maximilian Tyrtania <mty@fischerappelt.de> writes:
> Tom, I suspect you have Mac OS X Server installed, right? That's probably
> why your /etc/sysctl.conf file mentions that /etc/sysctl-macosxserver.conf
> file, while mine doesn't.

Uh, no, I'm looking at my laptop.  Curious that yours has no reference
to the other file.

> And frankly, to me it looks as if it means "if there is a /etc/sysctl.conf
> file, then read it and accept its settings. Then overwrite the sysctl
> settings with the default values, no matter what."

You're forgetting the point I made that the first complete set of shmem
settings wins.  If we could change the settings on the fly after that,
all this would be a whole lot easier, but the OSX kernel locks them down
somehow.

BTW, I dunno if you read awk at all, but that awk command effectively
says "print lines that contain = and do not contain #".  You didn't try
appending comments to the setting lines in your file did you?

			regards, tom lane



view thread (9+ messages)  latest in thread

Message-ID: <4731.1193665210@sss.pgh.pa.us>
Permalink:  ../4731.1193665210@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4731.1193665210@sss.pgh.pa.us

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, mty@fischerappelt.de
  Subject: Re: shared memory settings on MAC OS X
  In-Reply-To: <4731.1193665210@sss.pgh.pa.us>
  References: <C34B62D9.2B38E%mty@fischerappelt.de> <4731.1193665210@sss.pgh.pa.us>

* 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