Can't Kill Sendmail Processes

If you find yourself in the sticky situation where kill -9 still won't kill a sendmail process, check the process list. If ps fax returns a "D" status code, you won't be able to stop the process. It's in an "uninterruptable sleep" state which cannot be killed.

What can you do to fix this? Check for file locking. Are files in the mail queue directory locked? Are the files in the mail queue mounted over NFS (by an idiotic administrator)? If so, the only fix is to set sendmail to not start on reboot, then reboot the box.

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Printed from: http://rackerhacker.com/2006/12/28/cant-kill-sendmail-processes/ .
© Major Hayden 2010.

Leave a Reply