I've been a professional C, Perl, PHP and Python developer.
I'm an ex-sysadmin from the late 20th century.
These days I do more Javascript and CSS and whatnot, and promote UX and accessibility.
yep! VSCode and other processes spin up their own node processes. I'd want to kill a specific one.
What doesn't help is that if you're using webpack or nodemon, or a combination of tools, they'll just spin up another node process as soon as you kill it.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
This is so useful when trying to find runaway node processes.
Why not use
killall -9 node
?I'd like to add 'screen' to the list. Useful when you want to leave your terminal session running after leaving VPS.
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.
yep! VSCode and other processes spin up their own node processes. I'd want to kill a specific one.
What doesn't help is that if you're using webpack or nodemon, or a combination of tools, they'll just spin up another node process as soon as you kill it.