loading...

re: My Favorite Linux Tools VIEW POST

TOP OF THREAD FULL DISCUSSION
re: You usually don't want to kill all your node processes, just the one that's running away... and using SIGKILL like a hammer is a slippery slope.
 

This made me remember an incident at work sometime around 2006/07 when a colleague who only knew Linux typed killall without arguments on a HP-UX machine to get the usage instructions, not realizing that this will kill all active processes (HP-UX killall manpage). He had to call someone in the data center to get the machine rebooted 😂

For me killall proved useful when working with PHP. For example when there is this one rogue script that did not finish like it should. killall -9 php is not a problem because apache will spawn another one as soon as new request is made, but currently made request would be interrupted, so I only use in dev env.

code of conduct - report abuse