From owner-freebsd-stable@freebsd.org Tue Mar 30 16:01:05 2021 Return-Path: Delivered-To: freebsd-stable@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 8CC0E57BA74 for ; Tue, 30 Mar 2021 16:01:05 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from relay3.cretaforce.gr (relay3.cretaforce.gr [195.201.253.216]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8vLn0J05z4wVh for ; Tue, 30 Mar 2021 16:01:04 +0000 (UTC) (envelope-from chris@cretaforce.gr) Received: from server1.cretaforce.gr (server1.cretaforce.gr [138.201.248.69]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.cretaforce.gr", Issuer "RapidSSL RSA CA 2018" (verified OK)) by smtp1.cretaforce.gr (Postfix) with ESMTPS id DDF7E1F4C5 for ; Tue, 30 Mar 2021 19:01:02 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cretaforce.gr; s=cretaforce; t=1617120062; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Ik49mVi/43TeA3RMP5eaD7eQcG+0VREk0anAixnFvuc=; b=r5C+f6TIIQM2AM6/6HzI2sycxmNO8EHg2uo6DrWAcuJAnYC5pwkBlfJH/3vVfqak+c3Jit +l1TJAVSWIV8m5KHAZIFotaE1spPZ/xq61vmLABYV/fXOzQ8IqDOuD4Z7F6w64VfIhP2Ry 6rQk73w5tYsGVdZWA6+0tFh4Ro/QORw= Received: from macbook-air.fritz.box (athedsl-126859.home.otenet.gr [85.75.71.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: chris@cretaforce.gr) by server1.cretaforce.gr (Postfix) with ESMTPSA id 6D4302730B; Tue, 30 Mar 2021 19:01:02 +0300 (EEST) From: Christos Chatzaras Message-Id: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\)) Subject: Re: FreeBSD 13.0-RC4 and Nginx process "stuck" during restart Date: Tue, 30 Mar 2021 19:01:01 +0300 In-Reply-To: Cc: FreeBSD-STABLE Mailing List , "gjb@freebsd.org" , Konstantin Belousov To: "Jonathan T. Looney" References: <94CCFC59-B381-40B1-8F85-F86D87A16B53@cretaforce.gr> X-Mailer: Apple Mail (2.3654.60.0.2.21) X-Rspamd-Queue-Id: 4F8vLn0J05z4wVh X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.34 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Mar 2021 16:01:05 -0000 > On 30 Mar 2021, at 18:40, Jonathan T. Looney wrote: >=20 > Yes, it could be related. Because of the timing of when we first saw = the behavior, I assumed the trigger for the behavior (which remains = unknown) only existed in main. However, it is possible that this = behavior is now being triggered in 13.0. >=20 > Are you able to reliably reproduce this? I was never able to do that. = A reliable reproduction may help narrow down the change which triggered = this behavior. >=20 > I can certainly MFC the patch to stable/13. re@ will need to decide = whether to admit it to the release branch. >=20 > Jonathan Hello Jonathan, I have 100+ nginx servers and I can reproduce it in many of them. It = doesn't happen always in the same servers. Also after a "killlall -9 = nginx && service nginx restart" a second "service nginx restart" few = seconds after the first restart completes successfully. I believe it = needs few minutes/hours running nginx before the restart "stuck" in = "Waiting for PIDS: 85499." Did you notice it with nginx too or something else? I also run monit, = bind, dovecot, postfix, mysql, php-fpm and pure-ftpd and didn't notice = any restart of these services to "stuck".=