Date: Fri, 18 Sep 2015 15:56:25 +0200 From: Julien Charbon <jch@freebsd.org> To: Palle Girgensohn <girgen@FreeBSD.org>, freebsd-net@freebsd.org Subject: Re: Kernel panics in tcp_twclose Message-ID: <55FC1809.3070903@freebsd.org> In-Reply-To: <26B0FF93-8AE3-4514-BDA1-B966230AAB65@FreeBSD.org> References: <26B0FF93-8AE3-4514-BDA1-B966230AAB65@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --FWnD3UtvklttSg1bb2eNanqOQTxu4rfff Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Palle, On 18/09/15 11:12, Palle Girgensohn wrote: > We see daily panics on our production systems (web server, apache > running MPM event, openjdk8. Kernel with VIMAGE. Jails using netgraph > interfaces [not epair]). >=20 > The problem started after the summer. Normal port upgrades seems to > be the only difference. The problem occurs with 10.2-p2 kernel as > well as 10.1-p4 and 10.1-p15. >=20 > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203175 >=20 > Any ideas? Thanks for you detailed report. I am not aware of any tcp_twclose() related issues (without VIMAGE) since FreeBSD 10.0 (does not mean there are none). Few interesting facts (at least for me): - Your crash happens when unlocking a inp exclusive lock with INP_WUNLOC= K() - Something is already wrong before calling turnstile_broadcast() as it is called with ts =3D NULL: turnstile_broadcast (ts=3D0x0, queue=3D1) at /usr/src/sys/kern/subr_turnstile.c:838 __rw_wunlock_hard () at /usr/src/sys/kern/kern_rwlock.c:988 tcp_twclose () at /usr/src/sys/netinet/tcp_timewait.c:540 tcp_tw_2msl_scan () at /usr/src/sys/netinet/tcp_timewait.c:748 tcp_slowtimo () at /usr/src/sys/netinet/tcp_timer.c:198 I won't go to far here as I am not expert enough in VIMAGE, but one question anyway: - Can you correlate this kernel panic to a particular event? Like for example a VIMAGE/VNET jail destruction. I will test that on my side on a 10.2 machine. -- Julien --FWnD3UtvklttSg1bb2eNanqOQTxu4rfff Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJV/BgXAAoJEKVlQ5Je6dhxf8IH/iko4HYhG6QLHsbJ+5HcSJVk xJz/PWyaLtsFsvOQVszXWU8MtsC1HkWyvv+5yJdMbEDPSj0sxG+DJ0jVqliNSidu 6opF68HjoqOzo+piBDyvxzQOXtDnofjfEDNRdXtRh49LL9QcvxmQHViWvSHJg8iw 82qdfdCrbUr7dJWknjR6EAvRjrFbZe37neFXkSfRKJqrS7sOohV4DXBa5NqPcamw ANJOne7YgYW4T1iSUZP7QQLNtJYQp5PtLt4e7rLNFg1TcTS9l9iGlEdlWtUU+jEd Dgd8jwyrQ3LajHE9CclSNmU29cGi9nYZy5ifH3UpKh/QyhuiqFc5brx73TMBcxY= =QeCn -----END PGP SIGNATURE----- --FWnD3UtvklttSg1bb2eNanqOQTxu4rfff--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55FC1809.3070903>