From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 8JhcFTRVPWQvoQAASxT56A (envelope-from ) for ; Mon, 17 Apr 2023 16:18:28 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sMdPFTRVPWRkMAEA9RJhRA (envelope-from ) for ; Mon, 17 Apr 2023 16:18:28 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 3156614CCD for ; Mon, 17 Apr 2023 16:18:28 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1poP71-0000Vd-Ag; Mon, 17 Apr 2023 09:41:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poP70-0000VP-LL for guix-devel@gnu.org; Mon, 17 Apr 2023 09:41:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poP70-0005dU-0k; Mon, 17 Apr 2023 09:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=vdnJFVyhi1jmQLuI4+BBY2HVrS93bEN5+8rn/rZhEsA=; b=cq37Nwr5GKSHWxouonbY gBTm/Edkr4zt0NuRlZWTH8v+lJoHuDeyWBeR25AQCpYnHNdVT1+JJh/U6c+2yRwwT7V4/eUIThCCa A17DZh8EOv5/Ql6Ud/eB+5SGFdtObCknrCe2YSD3F1+3ttFi2tHFdIu1+fu2vW3PMPeGAd3rvhXeZ XfahcAaIEpKK3PGUZcqxM5YHL2IvVnKrhCPbkA7GustWiv3/3ykYAfBu3/RDrtOQxbZhFHk0ZXJQG LxuAwcV4umLHWUep09A7TDPiVB3CMTejXXlepfrAPzvK/Og4E6lsw6gEyoX0iD2WFN9QPL3kggB9y B+ar44sOvJzbnw==; Received: from [193.50.110.118] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1poP6y-0008UQ-55; Mon, 17 Apr 2023 09:41:40 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Vlad Kozin Cc: guix-devel@gnu.org Subject: Re: herd stop hangs References: <87r0sny2f5.fsf@gnu.org> <80A65A09-697F-444B-9E53-72D9088C57EB@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Octidi 28 Germinal an 231 de la =?utf-8?Q?R=C3=A9vol?= =?utf-8?Q?ution=2C?= jour de la =?utf-8?Q?Pens=C3=A9e?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 17 Apr 2023 15:41:38 +0200 In-Reply-To: <80A65A09-697F-444B-9E53-72D9088C57EB@gmail.com> (Vlad Kozin's message of "Thu, 13 Apr 2023 22:02:27 +0100") Message-ID: <87fs8yeict.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1681741108; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=vdnJFVyhi1jmQLuI4+BBY2HVrS93bEN5+8rn/rZhEsA=; b=H7D57c9JoTd9nKNm/wzOHir9I+UEPXSw67NiPqHQULjEGee92sGlovsuNgCtghGArz8Tue nUk7jouxUfgyy19Dpa3hY1oBhbcaOJNCfbEtop3lTZT/OCUz3zXgatpZydjMCsiivOFBaT FE+btAtAsTUkO0FMXC71WY0Y/jvuA6T7nmwVziNr8nX0OM1phTGU7sdBbDGmKKkr4Fliuz naI/s4IJ0qbn+SN6p4XERpimoP4RkqA7V4pLr1+Nr3i7uiYVNtkFWlJ8TwARJVHGWm8rMa 71qFCX9XSGuaAIcloOY6LU0z1WBeD3oidukvJ0NdNBm5HjXaYGPA3hBiXs3keg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cq37Nwr5; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1681741108; a=rsa-sha256; cv=none; b=aIYtCytWq4ZWvsfoeuz7zfkY57rIR4eouaPLRSor1VZSYDOv4e5MPPFXhJPvyqPaEUADMI 7xFypfCNqeMXul0Q8N/jiBiuAd/3mM2HdIqse9IOmKJ3xN+C2fZBRO8FTDbQ3uaOfRG2t8 2WpxdWEZy7xZnBHg+HHVWWnNNQ4GjYl4gKQQheSOEmCKhRtkXkgRu9iYSCAeqDIAfZYhwO jqWOzJyXPeKvL3g5jqllqqLIi53tAvZ5+H5e5Mrq4a+PawLltFYCg1rnjswEFsdnfay+L9 vKMJeQcP4NAAHXsdrtAGz9Z8Ddo6UmDfuV1py2s3tFciG15cNSH5GJaU3IWa6w== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gnu.org header.s=fencepost-gnu-org header.b=cq37Nwr5; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-Migadu-Spam-Score: -7.72 X-Spam-Score: -7.72 X-Migadu-Queue-Id: 3156614CCD X-Migadu-Scanner: scn1.migadu.com X-TUID: BTQCgT4xQyi3 Hi, Vlad Kozin skribis: >> (I guess the second command is =E2=80=98sudo herd stop my-service=E2=80= =99.) If you >> interrupt the =E2=80=98herd=E2=80=99 command, does =E2=80=98sudo herd st= atus=E2=80=99 and similar >> commands still respond? > > =E2=80=98sudo herd stop myservice=E2=80=99 exactly. Sorry about that. > Herd continues to function. Appears that somehow SIGTERM has no effect > or it never gets sent or it is in fact delivered and acted upon but > shepherd fails to notice, so /var/log/messages shows subsequent > SIGKILL. Whichever it is, herd status will show the service has been > stopped. That=E2=80=99s one issue. Could you send the relevant /var/log/messages excerpt? How frequent is it? If you have a recipe to reproduce the issue, I=E2=80= =99m most interested! > Another is that the console where =E2=80=98sudo herd stop=E2=80=99 was ty= ped required > a CTRL C to get the prompt. OK. > Could it be some weird sequence of what appears in the :running slot or s= mth? I=E2=80=99m using standard process constructors destructors mimicking = other services If this is a service that=E2=80=99s not in Guix proper, could you share the code? That way we=E2=80=99ll have everything we need to investigate. Thanks, Ludo=E2=80=99.