|
|
|
In Debian:
http://gentoo-wiki.com/SECURITY_Limit_User_Processes
Edit /etc/security/limits.conf
# Prevents anyone from dumping core files.
* hard core 0
# This will prevent anyone in the 'users' group from having more than 150 processes, and a warning will be given at 100 processes.
@users soft nproc 100
@users hard nproc 150
To check, if you are protected. You can run this cute little forkbomb:
:(){ :|:& };:
In OS X Tiger:
http://www.macosxhints.com/article.php?story=20050709233920660&mode=print
So, you just need to have launchd launch processes with a higher limit. If you run launchctl limit right now, you will see that the maxproc is set to 100. To change this, you need to create the /etc/launchd.conf file (if it does not already exist) and add the following line:
limit maxproc 512 2048 |
|