>Is there a way to limit the number of processes associated with a UID >on Solaris? Set maxuprc in "/etc/system". This usually controls them well enough to allow you to kill of the processes. One method that works for killing them of is to do a lot of su user -c "exec sleep 1000" & This fills that users limit (set by maxuprc), so that future fork() commands will fail for that user. Horst Scheuermann : set maxuprc = ... in /etc/system a appropriate value and reboot maxuprc will limit fork-bombs but Your system will slow down and if You have accounting on Your /var will fill up. * $ man -k rlimit getrlimit getrlimit (2) - control maximum system resource consumption setrlimit getrlimit (2) - control maximum system resource consumption * /usr/proc/bin/*