Uncategorized

Fork bombs, they still exist.

I’m amazed sometimes that modern Linux distributions don’t have the basic Fork Bomb prevention in place. Last night Sara started telling me how she was so furious with me a few weeks ago she considered fork bombing one of my servers. For fun Sara and I fork bombed my desktop as a “lets see how long it takes for 8GB of RAM to be exhausted” – 45 seconds if you’re curious. I had a similar experience when working for a web hosting company when some of the level 2 support personnel decided to see if our servers work protected from Fork Bombing. This resulted in my fork-bomb proofing every server in our network for the rest of the day. Since then I’ve always put appropriate ULIMITS on every production machine to prevent this from happening again. If you’re interested here is how you can do this: