mailq takes 25 sec to respond

Howard Leadmon howard at leadmon.net
Sun Feb 24 16:26:51 UTC 2008


The main reason sendmail usually gets slow, is that it's waiting on a DNS
lookup for something.  Be it the DNS info on the incoming connection, or if
you have any RBL's configured, the DNS response from an RBL.  As you said you
have differences in your IPF, so my first guess is that it's blocking
something sendmail wants to look up..


---
Howard Leadmon 



> -----Original Message-----
> From: owner-freebsd-alpha at freebsd.org [mailto:owner-freebsd-
> alpha at freebsd.org] On Behalf Of Anton Shterenlikht
> Sent: Wednesday, February 13, 2008 6:59 AM
> To: freebsd-alpha at freebsd.org
> Subject: mailq takes 25 sec to respond
> 
> Hello
> 
> On my ds10l sendmail seem to work fine with the exception
> of very long wait time for mailq (sendmail -bp) - about 25 sec.
> 
> On a much slower i386 running the same version of OS and of sendmail
> it takes less than a second.
> 
> # uname -srm
> FreeBSD 6.3-STABLE alpha
> 
> # sendmail -d0.1
> Version 8.14.2
>  Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7
>                 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING
> SCANF
>                 TCPWRAPPERS USERDB XDEBUG
> 
> 
> The only software difference between my i386 and my alpha I can think of
> is that on alpha I run IPF:
> 
> # grep "= 25" /etc/ipf.rules
> pass out on dc0 proto tcp from any to any port = 25 flags S/SA keep state
> 
> Is slow response of mailq an indication of misconfiguration?
> Is it likely to be an alpha problem at all?
> 
> many thanks
> 
> --
> Anton Shterenlikht
> Room 2.6, Queen's Building
> Mech Eng Dept
> Bristol University
> University Walk, Bristol BS8 1TR, UK
> Tel: +44 (0)117 928 8233
> Fax: +44 (0)117 929 4423
> _______________________________________________
> freebsd-alpha at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-alpha
> To unsubscribe, send any mail to "freebsd-alpha-unsubscribe at freebsd.org"




More information about the freebsd-alpha mailing list