Fighting fork bombs
Posted Apr 3, 2011 19:06 UTC (Sun) by giraffedata
In reply to: Fighting fork bombs
Parent article: Fighting fork bombs
Keeping processes around just because some descendent is still running is a waste of resources.
Seems like a pretty good return on investment for me. Maybe 50 cents worth of memory (system-wide) to be able to avoid system failures due to runaway resource usage and always be able to know where processes came from. It's about the same tradeoff as keeping a process around just because its parent hasn't yet looked at its termination status, which Unix has always done.
A process that no longer has to execute shouldn't use an appreciable amount of resource.
to post comments)