On Mon, 2006-02-06 at 14:38 -0800, Li Juen Hwang wrote: > What's wrong with shutting down agent with "kill -9"?
Should should *NEVER* terminate *ANY* application with "kill -9", unless you've tried to shut it down cleanly first. Blindly using "kill -9" is a sign of a slapdash and unprofessional administrator. A well-written application will typically catch the standard "TERM" signal, and perform any processing necessary to shut down cleanly. (Flushing persistent data to file, unlinking named sockets, informing other applications that it's shutting down). If you use "kill -9", you're preventing this from happening.. "kill -9" is very much a last resort, when you need to shut the application down *NOW* (regardless of any mess or inconsistencies that might result), or when shutting it down cleanly has failed. You'll then need to check what inconsistencies might have resulted, and be prepared to tidy things up. It should *NOT* be used as a matter of course. Escalating straight to "kill -9" is laziness, pure and simple. Dave ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
