Hmmm... This is why I was asking... I have lshell set up. And the
process limits work. But I brought down my machine with an malloc'ing
fork bomb the other day.. with a process limit of 5.
Maybe I don't have it setup right..
I have all the lshells renamed to /bin/bash, /bin/sh etc.. and the real
shells in /bin/shells/bash, and /bin/shells/sh respectively.
here's my /etc/limits:
---------------------------------------
// F: Number of file descriptors
// P: Number of processes
// C: CPU time in minutes
// D: Data segment in Megabytes
root - // No limits for root
imain -
imainb -
mmobbs -
guest C1P8D2 // Limit guest to 5 minutes CPU time and 8 processes, 5Mb
deuce C1P8D5
tmobbs C1P8D5
default C60P40D15 // Default limits, 60 min's CPU time, 30 processes, 15Mb
----------------------------------------
I've been playing around with the settings, so some maybe be a little
funky.. I was using the guest account for the experiments.
I just assumed it didn't work.. I'm pretty sure I got it set up
right.. but hopefully not :) (easier to fix my setup :) )
How much cpu time is good to set ?
Thanks for the help :)