> Interactive shells always ignore SIGTERM. I confirmed that the fork bomb through bash would cause the system oom! This indicates that anybody can use this flaw to crash the system.It is quite dangerous.
If you think the behavior of ignoring the SIGTERM is reasonable. Maybe the only way to solve the problem is to deal with the increasing of the memory?