On Sun, Feb 1, 2009 at 2:08 AM, Aryeh Gregor Simetrical+wikilist@gmail.com wrote:
On Sat, Jan 31, 2009 at 6:57 PM, Ilmari Karonen nospam@vyznev.net wrote:
Come to think of it, shouldn't the toolserver have some resource use limits that would stop things like this from happening? A single non-root user running a fork bomb or anything similar really shouldn't be able to bring down the entire server.
Maybe set ulimit -m to a gigabyte or something?
And limit the number of processes a user can run. while (1) { fork(); } is gonna run you out of pids rather than memory.
Bryan