Not applicable in Mac OS X Server v10.8 (Mountain Lion)?
This chart seems not applicable in Mac OS X Server v10.8.4 (Mountain Lion) [Server v2.1.1].
I have 32GB of RAM but the maxproc limit is still 2500, no matter setting via launchctl (the new way), sysctl (the old way), ulimit (the soft way), or both of them.
Commands applied:
$ sudo launchctl limit maxproc 2501
$ sudo launchctl limit
cpu unlimited unlimited
filesize unlimited unlimited
data unlimited unlimited
stack 8388608 67104768
core 0 unlimited
rss unlimited unlimited
memlock unlimited unlimited
maxproc 2500 2500
maxfiles 1048576 1048576
$ sudo sysctl -w kern.maxproc=2500
kern.maxproc: 2500 -> 2500
$ sudo sysctl -w kern.maxproc=2501
kern.maxproc: 2500
Files also created / modified accordingly:
/etc/launchd.conf
/etc/sysctl.conf
When I see the source code of the Darwin kernel (unix_startup.c), it works like it is specified here. But I still cannot I wonder whether the kernel calls srv_setup() and bsd_srv_setup() properly. I would like to find a way (via systemsetup command, modifying com.apple.Boot.plist, applying NVRAM parameter, etc.) so that bsd_srv_setup() would be called with a larger "scale" parameter. Or perhaps is there any way to compile a custom kernel from source and replace the system one?
iMac, OS X Server, Mac OS X v1.8.4, Server v2.1.1