Re: sendmail 8.9.0

Tethys (tethys@ml.com)
Wed, 27 May 1998 14:43:34 +0100


>> * 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