Hi Sanjay I think sysctl is the command you want to use to set this stuff - see it's man page for more info. If you look in /etc/rc you will see, if [ -f /etc/sysctl-macosxserver.conf ]; then awk '{ if (!index($1, "#") && index($1, "=")) print $1 }' < /etc/sysctl-macosxserver.conf | while read do sysctl -w ${REPLY} done fi 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 It seems that if you add, kern.maxprox=<my number> To either /etc/sysctl.conf or /etc/sysctl-macosxserver.conf then you will get the effect you want. I think that using sysctl.conf may be the best of the two as I can imagine Apple using the latter for their purposes on MacOSX Server... Hope it works! ;-) aid On 12 Mar 2004, at 15:53, Sanjay Mishra wrote: Where to override the maxproc and other settings for limit so that it is available to everybody across the reboot and my application can use it ? I tried to edit the rc.common in the etc directory for both bash and tcsh ie I set for both limit and ulimit. Despite this change in the maxproc and descriptors are not available. Am I doing changes the wrong way? I am running on Mac OS 10.3. Regards, Sanjay Mishra _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored. _______________________________________________ darwin-kernel mailing list | darwin-kernel@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-kernel Do not post admin requests to the list. They will be ignored.
participants (1)
-
Adrian Bool