Re: [EXIM] accept() errors instead of accepting when network…

Top Page
Delete this message
Reply to this message
Author: D. J. Bernstein
Date:  
To: exim-users
Subject: Re: [EXIM] accept() errors instead of accepting when network unreachable
Greg A. Woods writes:
>     errno != ECONNRESET && errno != ENETUNREACH && errno != EHOSTUNREACH
>     && errno != ENOTCONN && errno != ENETDOWN && errno != EHOSTDOWN
>     && errno != errno != ECONREFUSED


tcpserver has always treated all accept() failures as ``try again.''

> lots of STREAMS based TCP/IP stacks where
> completely killing and restarting the daemon, or even rebooting
> sometimes, is still required when accept(2) gets itself tied in a knot.


The sendmail notes say that you sometimes have to close and reopen
non-blocking sockets under Solaris 2.3. Do you have evidence of a more
serious problem?

---Dan
1000 recipients, 28.8 modem, 10 seconds. http://pobox.com/~djb/qmail/mini.html

--
*** Exim information can be found at http://www.exim.org/ ***