lkml.org 
[lkml]   [1998]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: sendmail 8.9.0
Date
From

>> * accept() problem on Linux.
>> 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:
>> Jun 9 17:14:12 hostname sendmail[207]: NOQUEUE: SYSERR(root):
>> getrequests: accept: Connection timed out
>> "Connection timed out" is not documented as a valid return from
>> accept(2) and this is believed to be a bug in the Linux kernel.
>>
>This is a real problem for me - and I do believe it is a kernel bug.

Whether it's actually a bug or not is a matter for debate. However,
it means we're not conforming to the Single Unix Specification. SUS v2
says accept *will* fail on EAGAIN, EWOULDBLOCK, EBADF, ECONNABORTED,
EFAULT, EINTR, EINVAL, EMFILE, ENFILE, ENOTSOCK, EOPNOTSUPP and it
*may* fail on ENOBUFS, ENOMEM, ENOSR, EPROTO.

ETIMEDOUT is not given as a valid return.

Tet

--
``Live free or die; death is not the worst of evils'' - General George Stark
--------------------+--------------+----------------------------------------
tethys@ml.com | Micro$oft: | Linux, the choice of a GNU generation.
tet@astradyne.co.uk | Just say no! | See http://www.uk.linux.org for details

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu

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