On Fri, Nov 17, 2000 at 12:43:55PM +0600, Kornyakov Yevgeniy wrote:
> I have strange delay --
> If clients (or other servers) d't use my
> SMTP server during 10 (or more) minutes
> appear timaut about 1 min.
> After this timeout all working OK - without
> some timeout till next pause from work SMTP server...
> I use tcpserver with -R -H options and Slackware linux...
> I suspect this problem have to do with reduce process prioritet
> and remove all qmail daemons to swap...
> How I can avoid this  ???

This is a guess, but it may be that your SMTP server is having a hard time
looking up its own name. It eventually caches an NXDOMAIN (and an NXDOMAIN is,
I believe, cached for 10 ten minutes), and connections that come in while the
NXDOMAIN is cached happen quickly. Once the NXDOMAIN expires from cache another
lookup must be done, and you see the delay again.

If you're using tcpserver, try adding -l0 (that's el zero) to its options. This
will keep your server from trying to look up its own name.

Chris

Reply via email to