Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # see the current limits
- $ sysctl -a | grep maxproc
- # increase it
- $ sudo sysctl -w kern.maxproc=xxxx
- $ sudo sysctl -w kern.maxprocperuid=xxx
- # run at startup
- $ sudo vim /etc/sysctl.conf
- kern.maxproc=xxxx
- kern.maxprocperuid=xxxx
- $ sudo launchctl limit
- $ sudo launchctl limit maxproc <maxprocperuid> <maxproc>
- $ sudo launchctl limit maxfiles 512 unlimited
- # run at startup
- $ sudo vim /etc/launchd.conf
- limit maxproc <maxprocperuid> <maxproc>
- limit maxfiles 512 unlimited
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement