Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'A solution for Mac OS X process limits' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
A solution for Mac OS X process limits
Authored by: wlf on Jul 07, '06 04:23:34PM

In Mac OS X 10.4, the proper place to put sysctl settings is in /etc/sysctl.conf. This file is processed by /etc/rc at system boot time.

Say

kern.maxproc=2048
kern.maxprocperuid=1024

in /etc/sysctl.conf.

Then, the proper way to set the system-wide "max user processes" is to say

limit maxproc 1000

in /etc/lanuchd.conf, which is processed by launchd at boot time.

After reboot, login, open Terminal, and run

ulimit -a

and you'll see "max user processes" as expected.



[ Reply to This | # ]