[lkml]   [1998]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Sendmail 8.9.0 claims a Linux kernel bug
>>>>> "Richard" == Richard B Johnson <> writes:

>> Apparently, the accept() in sendmail daemon loop can return
>> ETIMEDOUT and cause sendmail to sleep for 5 seconds during
>> which time no new connections will be accepted. An error is
>> reported to syslog:

>> What is going on here? This is a heavily loaded mail server. Is
>> this really a Linux kernel bug?

Richard> Apparently. Sendmail() expects to see EWOULDBLOCK even
Richard> though the socket has not been set to non-blocking. The
Richard> kernel returns ETIMEDOUT if no resources are presently
Richard> available. I know what my Sun does under these
Richard> conditions, but I don't think a kernel crash is the
Richard> correct response either!

Odd. Well, I manually patched Sendmail to ignore ETIMEDOUT and
EHOSTUNREACH (both of which I've been getting recently) and the
problems went away. Go fig.

Brought to you by the letters X and R and the number 4.
"We are the music makers. And we are the dreamers of dreams." -- Willy Wonka
Debian GNU/Linux -- where do you want to go tomorrow?
I'm on FurryMUCK as Che, and EFNet and YiffNet IRC as Che_Fox.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to

 \ /
  Last update: 2005-03-22 13:43    [W:0.100 / U:14.724 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site