sendmail/strace hanging

Matthew Seaman m.seaman at infracaninophile.co.uk
Sat Apr 10 00:29:51 PDT 2004


On Fri, Apr 09, 2004 at 06:27:42PM -0700, Cory Petkovsek wrote:
> On Fri, Apr 09, 2004 at 10:16:42AM +0100, Matthew Seaman wrote:
> > On Thu, Apr 08, 2004 at 04:08:39PM -0700, Cory Petkovsek wrote:
> > 
> > > Stopping sendmail with `sh /etc/rc.sendmail stop` works quickly.  Starting it
> > > takes about 3min.   Both sendmail-submit and sendmail-clientmqueue take a
> > > while before moving.  Booting also has this delay.
> > 
> > In the interests of eliminating the obvious: you have confirmed that
> > this is not some sort of DNS timeout?  Delays of that length on
> > starting up sendmail are usually due to waiting out the DNS timeouts.
> 
> Would dns timeouts affect mailq?  My dns is setup correctly locally, which is
> where I was trying to send my tests, to my local mailhub.  What is also
> interesting is that it has started working again at a normal speed, without any
> changes or restarts.  It was slow over config changes, make world, and
> reboots.  But became slow, then became normal just by sitting idle.  I have a
> p4 with HT and an SMP/HT kernel.  Could that have anything to do with it?

Hmmm... Very strange.  I wonder if it's sendmail causing the effect at
all -- sounds like it might be something more systemic.  Do you have
ACPI enabled?  Could it be that the system is throttling the CPU under
load -- perhaps to keep the CPU cool?

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040410/10e064c0/attachment.bin


More information about the freebsd-questions mailing list