John and All,

Yes and No... (to Kevin's Question)

I mean, there are some defaut values for these parameters.
Yes - You can tune these parameters (on linux) using /etc/sysctl.conf
No - If you want to see the value for shmmax just type:
        1 - cat /proc/sys/kernel/shmmax
        2 - sysctl <variable> or sysctl -a (for all)

By the way, I disagree on setting shmmax and shmall to the same values.
It's ok only if you run a server for one purpose with minimal services installed and you don't want your system to page nothing.


Another mistake is kernel.shmmax=256000000 that doesn't mean exactly 256MB.
If you want to setup shmmax to 256MB will be 256*1024*1024=268435456

Nuno

John P. Bland wrote:
On Mon, 26 Jul 2004 20:57:25 +0100, kevin furze <[EMAIL PROTECTED]>
wrote:


1) CSP version 4.x on Cach� 5.x

When we upgraded our development box to Cach� 5, the CSP package were not upgraded, so we were using a version 4 CSP daemon and CGIs with a version 5 superserver, which caused eventual locks. Enough said about this one.

How do we check this is OK or wrong on our boxes please, I guess there must be some sign / property somewhere we can look at



kev


On linux boxes, there is a file /etc/sysctl.conf.  There are two
entries:

kernel.shmmax=256000000 kernel.shmall=256000000

these are the two linux entries

John




Reply via email to