DEV Community

Discussion on: How to kill a node process

Collapse
 
jesusgollonet profile image
jesús gollonet

It's usually good to try a kill -15 PROCESS_ID before resorting to kill -9, since it gives the stuck process a chance to clean up before dying.

Probably overkill for local development servers, but definitely preferrable for things that may have state such as a database.

Collapse
 
dvddpl profile image
Davide de Paolis

thanx for pointing this out. :-)