Mail Not Routing, stuck in /var/spool/mqueue.in

Michael Janssen Janssen at RZ.UNI-FRANKFURT.DE
Wed Sep 3 14:29:51 IST 2003


On Wed, 3 Sep 2003, Raymond Dijkxhoorn wrote:

> > Please run both of the commands and send me the output.

> > > > What processes are running?
> > > >          ps ax | grep -i mail
>
> [root at vmx10 mqueue]# ps ax | grep -i mail
[snip sendmail procs]

> qn-212-58-184-161.quicknet.nl [212.58.184.161]: DATA
> 10513 ?        D      7:43 /usr/bin/perl -I/usr/lib/MailScanner

"D" means "uninterruptable sleep" (while doing I/O). This is bad.
You can't even kill those processes with -9 Option (you shouldn't use
kill -9 with MS anyway...). In case the "D" state lasts long it's very
bad. Those processes are idle waiting for disk I/O.



ps -C MailScanner o pid,wchan

strace -p <pid-of-proc>

ls -l /proc/<pid-of-proc>/fd/

might give further information what's going wrong (1: full name of the
wait channel; 2: last system call yet in process; 3: open
filedescriptors). This should work well on GNU/Linux Systems.



regards
Michael



More information about the MailScanner mailing list