|
-
April 15th, 2003, 06:50 PM
#1
Fork bomb prevention / cure
Dear All,
As I'm running a shell server, as I mentioned here,
http://www.antionline.com/showthread...177#post618177
Some kind soul (you know who you are I assume) decided it would be really fun to run fork bombs.
I am running Linux, 2.5.67 at the moment and I'm not averse to the idea of patching the kernel.
Do you know a way I can
a. Limit the number of processes per user (like you can in Irix and is setup by default in some commercial Unix)
or
b. Limit the total memory usage per user
or
c. Some other solution which will prevent fork bombs from hanging the machine, for instance reserve a number of processes or memory for root.
I can usually kill them off but it does effectively DoS the system by making everything very slow until I do.
Ideas appreciated
Slarty
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|