jailkit-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Jailkit-users] Prevent Fork Bombs on Jailed Python Interpreter


From: dev
Subject: Re: [Jailkit-users] Prevent Fork Bombs on Jailed Python Interpreter
Date: Thu, 25 Oct 2007 23:29:53 +0200

Hello Greg,
the standard thing that works against fork bombs: limit the number of
processes.

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]