From owner-freebsd-alpha@FreeBSD.ORG Mon Feb 25 12:42:17 2008 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7D06316A406 for ; Mon, 25 Feb 2008 12:42:17 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from diri.bris.ac.uk (diri.bris.ac.uk [137.222.10.112]) by mx1.freebsd.org (Postfix) with ESMTP id 3CFD813C45E for ; Mon, 25 Feb 2008 12:42:17 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from seis.bris.ac.uk ([137.222.10.93]) by diri.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JTces-000663-Bl; Mon, 25 Feb 2008 12:42:15 +0000 Received: from mech-aslap33.men.bris.ac.uk ([137.222.184.33]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1JTcer-00032n-5V; Mon, 25 Feb 2008 12:42:13 +0000 Received: from mech-aslap33.men.bris.ac.uk (localhost [127.0.0.1]) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2) with ESMTP id m1PCe4Zc069929; Mon, 25 Feb 2008 12:40:09 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-aslap33.men.bris.ac.uk (8.14.2/8.14.2/Submit) id m1PCe3i5069928; Mon, 25 Feb 2008 12:40:03 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-aslap33.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 25 Feb 2008 12:40:03 +0000 From: Anton Shterenlikht To: Howard Leadmon Message-ID: <20080225124003.GA69905@mech-aslap33.men.bris.ac.uk> Mail-Followup-To: Howard Leadmon , freebsd-alpha@freebsd.org References: <20080213115901.GA37336@mech-aslap33.men.bris.ac.uk> <016901c876ff$4bb68510$081872cf@Leadmon.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <016901c876ff$4bb68510$081872cf@Leadmon.local> User-Agent: Mutt/1.4.2.3i X-Spam-Score: -1.4 X-Spam-Level: - Cc: freebsd-alpha@freebsd.org Subject: Re: mailq takes 25 sec to respond X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Feb 2008 12:42:17 -0000 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