|
From: | dev |
Subject: | Re: [Jailkit-users] Prevent Fork Bombs on Jailed Python Interpreter |
Date: | Thu, 25 Oct 2007 23:29:53 +0200 |
the standard thing that works against fork bombs: limit the number ofprocesses.Thanks, that sounds like it would work. Any advice on how to do that on Linux?
This is usually done by setting values in limits.conf (to be found in /etc or /etc/security). The file comes with good comments and a few examples. So there is some basis there to work from. Remember that a normal shell session via jailkit already uses a few processes, so don't go setting the number too strictly. On the other hand, memory should probably be guarded more closely.
Cheers, Stephen
[Prev in Thread] | Current Thread | [Next in Thread] |