Hacker News new | past | comments | ask | show | jobs | submit login

One example of where you might not want to kill -9 (-KILL) is a web server, like nginx. If you kill -QUIT (-3) nginx it will do a graceful shutdown. Nginx closes its listen sockets while allowing existing clients to finish. Many other daemons have similarly friendly behavior if you give them a chance to shutdown gracefully. They should degrade safely (if not nicely) with -KILL (-9) as well.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: