Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 15:23:55 +0000
From:      Glen Barber <gjb@freebsd.org>
To:        Christos Chatzaras <chris@cretaforce.gr>
Cc:        Mark Johnston <markj@freebsd.org>, FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, "jtl@freebsd.org" <jtl@freebsd.org>, kib@freebsd.org
Subject:   Re: FreeBSD 13.0-RC4 and Nginx process "stuck" during restart
Message-ID:  <20210330152355.GF92026@FreeBSD.org>
In-Reply-To: <873C34A0-5516-4832-88B6-F60139FA009A@cretaforce.gr>
References:  <94CCFC59-B381-40B1-8F85-F86D87A16B53@cretaforce.gr> <YGMragGCp%2BQKSBre@nuc> <873C34A0-5516-4832-88B6-F60139FA009A@cretaforce.gr>

next in thread | previous in thread | raw e-mail | index | archive | help

--BqNvIJgrK1/MQy2W
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Mar 30, 2021 at 04:48:25PM +0300, Christos Chatzaras wrote:
>=20
>=20
> > On 30 Mar 2021, at 16:45, Mark Johnston <markj@freebsd.org> wrote:
> >=20
> > On Mon, Mar 29, 2021 at 10:57:09PM +0300, Christos Chatzaras wrote:
> >> Hello,
> >>=20
> >>=20
> >> I upgrade from 12.2 to 13.0-RC4 and I notice a strange issue with Ngin=
x.
> >>=20
> >> When I run "service nginx restart" in some (random) servers it doesn't=
 complete the restart and it "stucks" at "Waiting for PIDS: 20536." .
> >>=20
> >> I can kill the 20536 process and then restart completes.
> >>=20
> >>=20
> >> procstat -kk 20536:
> >>=20
> >>  PID    TID COMM                TDNAME              KSTACK
> >> 63094 100505 nginx               -                   mi_switch+0xc1 sl=
eepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _sleep+0x1be kern_sigsuspend+0=
x164 sys_sigsuspend+0x31 amd64_syscall+0x10c fast_syscall_common+0xf8=20
> >>=20
> >>=20
> >> I found this commit:
> >>=20
> >> https://cgit.freebsd.org/src/commit/?id=3Ddbec10e08808e375365fb2a2462f=
306e0cdfda32 <https://cgit.freebsd.org/src/commit/?id=3Ddbec10e08808e375365=
fb2a2462f306e0cdfda32>
> >>=20
> >> Could this be related? If yes can we have the patch in releng/13.0 ?
> >=20
> > I think it is hard to say without some testing.  Are you able to verify
> > that backporting the patch fixes the hangs?
>=20
>=20
> I will use the patch today night, so I can verify it tomorrow morning.
>=20
> If it works do we still have time to land the patch in 13.0?

If it resolves the issue, yes.

Glen


--BqNvIJgrK1/MQy2W
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAmBjQosACgkQAxRYpUeP
4pMovw//XWsqIOYvcH5XaYsK1FbpcallwkiuKkVlBkvMVzZ2sCEX6N1hty/c0KMm
u54r9cYfVmyiTSG6+1krXOeM+J1SgJfnAPy4U0pQ/vZUAiBcwxz5wQlHxcwYtPdD
U1i+e+eJy8r9SlYFkSO3eheSy5evt1f3HJkt/y2+/vLvfJr+UxnRKu0yQ55scycL
KGRkg/OMozklzhfrg1Ute8BU06IGu3sH00ngfoQZA2aAF2URgcoZkRSTU5b7B3z0
3GbpU+tGJoTx5I4umscngElN3SfaJXi5sv8VYFHPEWbYeOn+s2REtu43d1pvgGiQ
+MCIQxtFRwgP/NuhdTDwoXCavk0meOtiDeIceE/gUeAv4YgjeRiBWrTCDCjOmJCt
4tpOQ92GGxDU+XsnTpktNUWILYoaBEgChFpgIwP0uJbtFJDlEkc9Ltxrl9Et3Blo
m/Uh2I9gD9PPtNplVffEV6lCC64t/LvahNw0F47EODAngmbogh5SRjOuoRAjSKV+
aYVKnoOE/WIRw2TmKZLqgrCms/klVRmSWoSHpJvUBkw3vVcOAP4Gxv1rcc+XAXlD
8nbU1ca3f6ZX2OcXm9FbRLhIlUzS8jRyu9en88oyJuN3/40o3axuqv8Uy0JXr7DR
1DfRTddIw7JQdi2PJohJmrNLrRVXOTmsD6Gi6LRScMwrkWlEGgo=
=qqNH
-----END PGP SIGNATURE-----

--BqNvIJgrK1/MQy2W--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210330152355.GF92026>