Neutralize fork-bomb through ssh
I have access to a server through SSH (namely, it's our informatics server :) ) and ran a fork-bomb there (the bash one). Is there a way to neutralize it remotely? Just using ssh name@server
does just nothing: no lines are output, even the password request, but ping server
reaches it. Of course, the bomb will be eliminated tomorrow, but it would be nice if it's possible to do this myself...
If you can't even log in, then there's probably not much you can do. As explained on Wikipedia:
Due to their nature, fork bombs can be difficult to stop once started. Stopping a fork bomb from reproducing further requires the termination of all running copies, which can be difficult to achieve. One problem faced is that a separate program to terminate the fork bomb cannot execute if the process table is fully saturated. The second major problem is that in the time taken between finding the processes to terminate and actually terminating them, more may have been created.