On Thu, 20 Nov 2008, Aaron Hopkins wrote: > On Thu, 20 Nov 2008, Wouter Wijngaards wrote: > > I am curious why you are getting the accept failure. What resource is > > temporarily unavailable? Is the kernel running out of TCP buffers? Is > > there a problem with ulimit(number of files) ? > > "Resource temporarily unavailable" is EAGAIN, I think. Which is documented > in Linux's man accept(2) as: > > EAGAIN or EWOULDBLOCK > The socket is marked non-blocking and no connections are present to be > accepted. EAGAIN on Linux is at least incorrectly used in combination with IPsec with the NETKEY module and "on demand" IPsec tunnels. Be careful with dealing with EAGAIN. Paul