[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
system/3808: select() does not timeout correctly
- To: firstname.lastname@example.org
- Subject: system/3808: select() does not timeout correctly
- From: email@example.com
- Date: Thu, 3 Jun 2004 12:18:19 -0600 (MDT)
- Resent-Date: Thu, 3 Jun 2004 14:35:03 -0600 (MDT)
- Resent-From: firstname.lastname@example.org (GNATS Filer)
- Resent-Message-Id: <200406032035.i53KZ31D020639@cvs.openbsd.org>
- Resent-Reply-To: email@example.com, firstname.lastname@example.org
- Resent-To: email@example.com
>Synopsis: select() does not timeout correctly
>Arrival-Date: Thu Jun 03 20:30:02 GMT 2004
>Originator: Roger Waterhouse
System : OpenBSD 3.4
Machine : i386
I am using the postfix MTA (compiled form source and it is timeing out
too quickly when a reverse DNS lookup fails. It timesout in approx 13
seconds instead of the specified 300 seconds. I posted this on the
postfix list and the author stated "Postfix implements read/write
timeouts with select(). You may want to capture a system call trace to
see why select() returns in less than 300 seconds."
This is very difficult to reproduce as the only time it shows up is when
a MTA that has a broken Reverse DNS (looping or some other problem)
attempts to connect. This is pretty rare (5 or 6 times in the last
three months on a system that accepts approx 7k messages/day).
System was built from cvs 3.4 about 3 months ago and hasn't been updated since, postfix version is 2.0.18.
Get everybody on the internet to fix their DNS. Yeah right <grin>.
Actually I can get away with putting entries in /etc/hosts. This is
a bit reactive, but works.