Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2021 16:48:25 +0300
From:      Christos Chatzaras <chris@cretaforce.gr>
To:        Mark Johnston <markj@freebsd.org>
Cc:        FreeBSD-STABLE Mailing List <freebsd-stable@freebsd.org>, "gjb@freebsd.org" <gjb@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:  <873C34A0-5516-4832-88B6-F60139FA009A@cretaforce.gr>
In-Reply-To: <YGMragGCp%2BQKSBre@nuc>
References:  <94CCFC59-B381-40B1-8F85-F86D87A16B53@cretaforce.gr> <YGMragGCp%2BQKSBre@nuc>

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


> 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 =
Nginx.
>>=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 =
sleepq_catch_signals+0x2e6 sleepq_wait_sig+0x9 _sleep+0x1be =
kern_sigsuspend+0x164 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=3Ddbec10e08808e375365fb2a2462f306e=
0cdfda32 =
<https://cgit.freebsd.org/src/commit/?id=3Ddbec10e08808e375365fb2a2462f306=
e0cdfda32>
>>=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?


I will use the patch today night, so I can verify it tomorrow morning.

If it works do we still have time to land the patch in 13.0?=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?873C34A0-5516-4832-88B6-F60139FA009A>