Hacker News new | ask | show | jobs
by ufo 1815 days ago
I'll take this chance to ask a fork bomb question I always had: on Linux, is there a way to stop a fork bomb once it gets going, other than turning off the power?
1 comments

As far as I know the only way to handle a fork bomb is to limit the allowed forks an instance is allowed to create.

This limit isn't set by default in most distributions, but does exist.

It would still crash the bombed shell but the server itself would be safe and a manual kill signal could be send to the bombing thread.