I have been researching about fork bomb and how it can be prevented.
I have found two ways to safely execute fork bomb code.
One of them is to set
ulimit either temporary or permanently.
Another way is to set
FUNCNEST in bash,
I recently learned about
FUNCNEST and wondering if there is any other way to safely execute fork bomb?