Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Sep 2016 09:06:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 212920] Li loaded web server cath race condition on _close () from /lib/libc.so.7 with accf_http
Message-ID:  <bug-212920-8-4RcBRtpWST@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212920-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212920-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212920

Mikanoshi <iam@mikanoshi.name> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |iam@mikanoshi.name

--- Comment #1 from Mikanoshi <iam@mikanoshi.name> ---
I have the same problem on 11.0-RC3 if reset_timedout_connection is enabled=
 in
Nginx (accept filters are enabled too).

Running truss on a worker stuck in soclos produces this output:
    close(49) ERR#9 'Bad file descriptor'
    write(36,"2016/09/19 18:16:03 [crit] 15495#0: close() socket 49 failed =
(9:
Bad file descriptor)\n",86) =3D 86 (0x56)
and then worker starts to process requests as usual.

Such entries are written to log when reset_timedout_connection is disabled
(workers do not stuck in this case):
[info] 89888#0: close() socket 12 failed (54: Connection reset by peer)

Problem appeared after moving from FreeBSD 9.2 to 11.0-RC3.

Discussion on Nginx forum (in russian):
https://forum.nginx.org/read.php?21,269501,269778#msg-269778

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212920-8-4RcBRtpWST>