LearnBoost / cluster

Node.JS multi-core server manager with plugins support.
http://learnboost.github.com/cluster
MIT License
2.29k stars 159 forks source link

SIGKILL handling #171

Closed cliffano closed 12 years ago

cliffano commented 12 years ago

I sent SIGKILL to cluster master, which then killed the master process, but left the worker processes running. From lib/master.js registerSignalHandlers, I found out that cluster handles SIGINT and SIGTERM as hard shutdown, but there's no SIGKILL handling.

Shouldn't SIGKILL be considered a hard shutdown too? Or is it by design that cluster ignores SIGKILL?

tj commented 12 years ago

you cant handle SIGKILL