Re: Instructions for Linux ipc config - Mailing list pgsql-docs

From Tom Lane
Subject Re: Instructions for Linux ipc config
Date
Msg-id 5980.1107472704@sss.pgh.pa.us
Whole thread Raw
In response to Instructions for Linux ipc config  (Mark Kirkwood <markir@coretech.co.nz>)
Responses Re: Instructions for Linux ipc config  (Mark Kirkwood <markir@coretech.co.nz>)
List pgsql-docs
Mark Kirkwood <markir@coretech.co.nz> writes:
> Glancing over these as I was doing the FreeBSD patch, I noticed some
> scope for modernization there plus a possible error to correct:

> i) we could standardize the change method to use sysctl instead of
> echo'ing things into /proc/kernel/* structures (unless there is some
> reason for this to be preferable?)

How far back in Linux history does that work?  It would be bad to remove
instructions needed for versions that people are still using.  But yeah,
if we can standardize on describing sysctl that's probably a good thing,
since it applies to more than one platform.

> ii) we are recommending setting kernel.shmall equal to kernel.shmmax. I
> think this is incorrect or strange anyway :

It does make sense for shmall-in-bytes to exceed shmmax-in-bytes, but
probably not by a factor of 4000 ...

            regards, tom lane

pgsql-docs by date:

Previous
From: Mark Kirkwood
Date:
Subject: Instructions for Linux ipc config
Next
From: Mark Kirkwood
Date:
Subject: Re: Instructions for Linux ipc config