On Wed, Sep 15, 2010 at 11:34:29AM +0200, Jozsef R.Nagy wrote: > Hey, > > Think found the reason causing this, after looking and logging debug: > Serving requests just goes on for a while, then suddenly: > > 000003c0:my-webfarm.srvcls[0009:000a] > 000003c0:my-webfarm.clicls[0009:000a] > 000003c0:my-webfarm.closed[0009:000a] > [ALERT] 257/101918 (78231) : accept(): cannot set the socket in non > blocking mode. Giving up
Good catch! It's the first time I've ever seen that error. What annoys me most is that it does not look possible. The file descriptor passed to fcntl() in session_accept() is the same as the one returned by accept() in stream_sock_accept(). So what I'm suspecting now is that either something corrupts the stack, ot that someone closes the same FD by error at one point. In either case, it's not funny at all :-( Have you found a minimal way to reproduce this ? Also did you have the tcp-request rules enabled in the conf causing this issue ? Thanks, Willy

