-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Neil Tiffin wrote:
> 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?
as far as I'm aware, on OSX the only time that the values actually get
set is the *first time*, after bootup, that you run, say:
sysctl -w kern.sysv.shmmax=8388608
So if you have a sysctl.conf, it will have already set them. The line
you've commented out can't change them because they've already been set.
- --
Benjamin Reed a.k.a. Ranger Rick
http://ranger.befunk.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFD4mbLUu+jZtP2Zf4RAvfeAJ9WA9pMuFbIZ6Ou/j+lNMuh+UwGfgCdF376
42s9q3QKCjdBQhtj4rV2N7U=
=iIdJ
-----END PGP SIGNATURE-----
-------------------------------------------------------
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