This is directly from my /etc/rc file

if [ -f /etc/sysctl.conf ]; then
awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' < /etc/ sysctl.conf | while read
        do
                sysctl -w ${REPLY}
        done
fi

#sysctl -w kern.sysv.shmmax=4194304 kern.sysv.shmmin=1 kern.sysv.shmmni=32 kern.sysv.shmseg=8 kern.sysv.shmall=1024 sysctl -w kern.sysv.shmmax=8388608 kern.sysv.shmmin=1 kern.sysv.shmmni=64 kern.sysv.shmseg=8 kern.sysv.shmall=32768

I don't claim to completely understand this magic but it appears to me that etc/rc overrides anything that may be in the /etc/ sysctl.conf file as it relates to kern.sysv.shm*. This is also how it worked for me as I could not get the settings to stick until I modified /etc/rc.

Please explain?

Neil


On Feb 2, 2006, at 1:55 PM, Martin Costabel wrote:

X-SpamDetect-Info: ------------- Start ASpam results ---------------
X-SpamDetect-Info: This message may be spam. This message BODY has been altered to show you the spam information X-SpamDetect: **************: 14.100000 SPF Fail=8.0,X-Verify-MX present=1.6,Aspam=4.5
X-SpamDetect-Info: ------------- End ASpam results -----------------

Benjamin Reed wrote:
[]
Ah, so they changed the kernel so that settings *can* be changed later? It used to be once you set the shm* values, they were stuck, so it had
to be in sysctl.conf so they got set first.

No they didn't, and you are right. I should have tested myself instead of taking Neil's word for the fact that it didn't work. It does.

--
Martin



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Fink-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to