Date: Mon, 25 Feb 2008 12:40:03 +0000 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Howard Leadmon <howard@leadmon.net> Cc: freebsd-alpha@freebsd.org Subject: Re: mailq takes 25 sec to respond Message-ID: <20080225124003.GA69905@mech-aslap33.men.bris.ac.uk> In-Reply-To: <016901c876ff$4bb68510$081872cf@Leadmon.local> References: <20080213115901.GA37336@mech-aslap33.men.bris.ac.uk> <016901c876ff$4bb68510$081872cf@Leadmon.local>
next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org [mailto:owner-freebsd- > > alpha@freebsd.org] On Behalf Of Anton Shterenlikht > > Sent: Wednesday, February 13, 2008 6:59 AM > > To: freebsd-alpha@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@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-alpha > > To unsubscribe, send any mail to "freebsd-alpha-unsubscribe@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080225124003.GA69905>