mailq takes 25 sec to respond

Anton Shterenlikht mexas at bristol.ac.uk
Mon Feb 25 12:42:17 UTC 2008


On Sun, Feb 24, 2008 at 11:06:58AM -0500, Howard Leadmon wrote:
> 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, many thanks, I solved the problem already, my /etc/hosts was
missing the second ethernet port's IP address. All is fine now.
Here is how I solved it, if anybody is interested:

http://unix.derkeiler.com/Mailing-Lists/FreeBSD/questions/2008-02/msg01180.html

thanks
anton

> 
> > -----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"
> 
> 

-- 
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


More information about the freebsd-alpha mailing list