lkml.org 
[lkml]   [1998]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Sendmail 8.9.0 claims a Linux kernel bug
On 24 Jun 1998, Ben Gertzfield wrote:

> >From the Sendmail 8.9.0 Known Bugs List:
>
> * 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:
>

What I've done on our system is to comment out the sleep:

line 310 of daemon.c
(void) close(DaemonSocket);
DaemonSocket = -1;
refusingconnections = TRUE;
/* sleep(5); */
continue;


It seems to work ok, and does not reject connections for 5 seconds each time
accept returns -1. It might not be a proper fix but it works.

Regards,
Jim

> Ben
>

--
James Bourne | E-Mail: jbourne@island.net
Systems Administrator | WWW: http://www.island.net
Island Internet Inc. | Linux - The choice of a GNU generation



-
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:43    [W:0.089 / U:3.964 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site