strange inn "crash"
Per Hedeland
per at erix.ericsson.se
Sun Apr 16 12:18:13 UTC 2000
Russ Allbery wrote:
>You went over 1024 file descriptors (those numbers are the file descriptor
>number). Are you running Solaris? Don't ever set the hard file
>descriptor limit on Solaris over 1024 so long as innd uses select instead
>of poll, or you'll get the above problem.
>
>There should probably be some sanity checks put into innd for this, but I
>don't know of a good recovery method beyond just throttling the server.
Well, what happens if you do have the limit set at 1024, and a new
connection would bump it past that? Presumably accept() gives EMFILE,
innd logs the error, and the client sees an immediately closed
connection. So innd could just do the same (explicitly closing the
socket - perhaps even writing an error message to it first) if accept()
returned an fd that was >= FD_SETSIZE.
--Per Hedeland
per at erix.ericsson.se
More information about the inn-workers
mailing list