Re: shared memory settings on MAC OS X - Mailing list pgsql-admin

From Tom Lane
Subject Re: shared memory settings on MAC OS X
Date
Msg-id 4731.1193665210@sss.pgh.pa.us
Whole thread Raw
In response to Re: shared memory settings on MAC OS X  (Maximilian Tyrtania <mty@fischerappelt.de>)
Responses Re: shared memory settings on MAC OS X  (Maximilian Tyrtania <mty@fischerappelt.de>)
Re: shared memory settings on MAC OS X  (Brendan Duddridge <brendan@clickspace.com>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: David Lowry
Date:
Subject: Re: way to turn off epochs in log_filename
Next
From: Maximilian Tyrtania
Date:
Subject: Re: shared memory settings on MAC OS X