I found this article which explains all the different siG* sent by kill and Ctrl C. Exactly as Kevin pointed out SIGKILL cannot be caught by the application. The application would be forced to terminate.
http://www.hudzilla.org/phpbook/read.php/16_1_1 SIGTERM is what you should handle. If cherrypy handles SIGTERM then I'll just add my cleanup code to onStopServer Thanks, vinjvinj

