how to troubleshoot timeouts

Ugo Bellavance ugob at CAMO-ROUTE.COM
Thu Feb 19 17:02:16 GMT 2004


> -----Message d'origine-----
> De : Chris Yuzik [mailto:chris at FRACTALWEB.COM]
> Envoyé : Thursday, February 19, 2004 11:58 AM
> À : MAILSCANNER at JISCMAIL.AC.UK
> Objet : Re: how to troubleshoot timeouts
> 
> 
> Julian Field wrote:
> 
> > In MailScanner.conf, set
> > Debug = yes
> > Debug SpamAssassin = yes
> > then kill all your MailScanner processes. Wait for a few 
> emails (4 or 5
> > will do) to appear in mqueue.in, then run check_mailscanner.
> > When the SpamAssassin output pauses (it will spew up the 
> screen very fast
> > normally), thump Ctrl-S to pause it. (Ctrl-Q starts it 
> again). Read the
> > last few lines of output and you should get an idea what is 
> holding it
> > up.
> > If it mentions cloudmark.com just before you stopped it, 
> that's Razor.
> 
> Thank you for the troubleshooting tips.
> 
> I am seeing the following that makes me somewhat suspicious.
> 
>     debug: forged-HELO: from=cgmails.com helo=cgmails.com 
> by=fractalweb.com
>     debug: DNS MX records found: 2
>     debug: RBL: success for 16 of 18 queries
>     debug: RBL: timeout for easynet after 2 seconds
>     debug: RBL: timeout for dsbl after 2 seconds
> 
> So, I see that easynet is timing out. I also see that dsbl is timing
> out, but only sometimes. Perhaps I should remove them from the checks?
> 
> There was also a bit of a pause when it did the DNS lookup, 
> so perhaps a
> caching dns server would be a good idea too. I'm on Red Hat 7.3...what
> do you guys recommend?

Begin with a caching dns server, for sure.

If you have apt installed, do a apt-get install caching-nameserver

If it is not there you can search with apt-cache search caching...
> 
> Cheers,
> Chris
> 




More information about the MailScanner mailing list