[Mimedefang] MD Lock-Ups occasionally

Kevin A. McGrail kmcgrail at pccc.com
Wed Oct 17 08:56:11 EDT 2007


Lately on just one machine, I am seeing MD just end up in a hung state. 
Restarting MD seems to get everything back on track.  Running MD 2.63 and SA 
3.1.4 on this box.  This started a few weeks ago with MD 2.57 and I've been 
tweaking things since.  About the same time this started happening though, I 
did start seeing the definition files for uvscan take a large jump in size.

Anyway, this is a three part question:

1 - What's the best command to run to see what might be occurring when it is 
locked up?

2 - What's the best command to run to simply check that MD is alive and if 
not restart the multiplexor and children?

3 - On this same machine, I'm seeing some VERY long sendmail processes stuck 
in user open.  These could be the cause for the hang or they could be 
unrelated:

For example:

root     30588  0.0  0.1   7960  4760 ?        S    Oct16   0:15 sendmail: 
./l9DGFVLL020125 postoffice.telstra.net.: user open

root     13000  0.0  0.1   7912  4708 ?        S    Oct16   0:15 sendmail: 
./l9DDo4vt032194 mail.blonnet.com.: user open

root     27763  0.0  0.1   7800  4628 ?        S    Oct16   0:14 sendmail: 
./l9BJpgoO011662 mx.lyricsfreak.com.: user open

root      8276  0.0  0.1   7816  4592 ?        S    Oct16   0:14 sendmail: 
./l9DAYfog032104 mail.ppmusic.com.: user open

root     19580  0.0  0.1   7892  4588 ?        S    Oct16   0:12 sendmail: 
./l9GKUvEd015228 mx.atomis.com.: user open


I am using these timeouts (Ken Cormack's I believe):

dnl TIMEOUTS (MANY OF THESE)...
define(`confTO_IDENT', `0s')dnl
define(`confTO_INITIAL', `30s')
define(`confTO_CONNECT', `30s')
define(`confTO_ICONNECT', `30s')
define(`confTO_HELO', `1m')
define(`confTO_MAIL', `2m')
define(`confTO_RCPT', `2m')
define(`confTO_DATAINIT', `2m')
define(`confTO_DATABLOCK', `2m')
define(`confTO_DATAFINAL', `5m')
define(`confTO_RESET', `1m')
define(`confTO_QUIT', `1m')
define(`confTO_MISC', `2m')
define(`confTO_COMMAND', `1m')
define(`confTO_IDENT', `0s')
define(`confTO_FILEOPEN', `1m')
define(`confTO_CONTROL', `1m')
define(`confTO_HOSTSTATUS', `5m')

Am I missing a timeout that could perhaps limit an entire email to take no 
more than say 30 minutes?


Thanks for reading.

Regards,

KAM 




More information about the MIMEDefang mailing list