From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id WPWAMTuImmZtLAAA62LTzQ:P1 (envelope-from ) for ; Fri, 19 Jul 2024 15:37:32 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id WPWAMTuImmZtLAAA62LTzQ (envelope-from ) for ; Fri, 19 Jul 2024 17:37:31 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1721403451; 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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=J74nzRfLj9m90XYRvtjjlE+gd0ATK1oKw8pHFG1D6bw=; b=g8QHUWNaIGv8d6wMxTgTZoIGzR2VbP1JkX6yDyE09NzSRMjy8VQ/qPYZWzr2Ee87eUc60z 3bPOtc4549AfK1J2EGsdcjuBUpsqDe3NDfRTYFS+fX3hkWI6p1fHc4VGDPM+SbzZ/Gs//p RuZDUIY7Ft2xFMuWm4Wdbg88fIy2T78gK+pBb3ZKGJAP5VONy5e9k+twYcuGScrkCKsBCb /1nYab5G/ytSgkcjN4K0fOdRNTAWKfhpYyXpx49r/O8OZ9rG9utbjulXuNongFByP+3W9Y kx2Un2MoDOwT3fCDFC2b2kuZt4TtU0R3CeyTm0gGa708csdglZN7Ah/SmLs28Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1721403451; a=rsa-sha256; cv=none; b=iaZ9QtuYib1uH6ftXI9yN8d+uusifkvZw+XjNnPw/kOLZMP5aFzwhYffeHiJN/mfMbzhNR YRGfou/mZmhU6Nb3d3nBROeVGFvHP4thnLAJBCAqt6GTUQSu1bBiYXosMCGGapyOL4AnVU k8HfCJibe5a5EIXWDBuEtg4NhzKFJPqkpheZUP+4vLw7sUA0IuiNcBfU3pBP/Zrk8q9l5g aBCaFvcucvrz3bSDctTi90A/dhQl0BJWV9rGeOzEGTQnuoehYxuilQdp5u58dNjBtyHUfi cxt3Vkrk/kQNzrjbHqtELm1U2GncVLfQeSmLlELkepiwbHhGz7dg385Vm9ldaw== 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 A8A4053BE0 for ; Fri, 19 Jul 2024 17:37:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sUpfN-0000oV-7e; Fri, 19 Jul 2024 11:37:05 -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 1sUpfL-0000eV-Rg for bug-guix@gnu.org; Fri, 19 Jul 2024 11:37:03 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sUpfL-00081s-IK for bug-guix@gnu.org; Fri, 19 Jul 2024 11:37:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUpfK-0001gS-Bl for bug-guix@gnu.org; Fri, 19 Jul 2024 11:37:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72166: Shepherd periodically goes unresponsive on one of my machines Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jul 2024 15:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 72166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "Jonathan Frederickson" Cc: 72166@debbugs.gnu.org Received: via spool by 72166-submit@debbugs.gnu.org id=B72166.17214033726407 (code B ref 72166); Fri, 19 Jul 2024 15:37:02 +0000 Received: (at 72166) by debbugs.gnu.org; 19 Jul 2024 15:36:12 +0000 Received: from localhost ([127.0.0.1]:50213 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUpeV-0001fH-J4 for submit@debbugs.gnu.org; Fri, 19 Jul 2024 11:36:11 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:60734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUpeQ-0001ej-3y for 72166@debbugs.gnu.org; Fri, 19 Jul 2024 11:36:10 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id A8B301F24; Fri, 19 Jul 2024 17:35:30 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wa4uM9Ge4WZP; Fri, 19 Jul 2024 17:35:30 +0200 (CEST) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 1FAE21EE6; Fri, 19 Jul 2024 17:35:30 +0200 (CEST) From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: (Jonathan Frederickson's message of "Wed, 17 Jul 2024 20:43:15 -0400") References: User-Agent: Gnus/5.13 (Gnus v5.13) Date: Fri, 19 Jul 2024 17:35:29 +0200 Message-ID: <878qxxtmwu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: A8A4053BE0 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.91 X-Spam-Score: -6.91 X-TUID: Y4w5zKhTTBlA Hi Jonathan, "Jonathan Frederickson" skribis: > I've been running into an issue with Shepherd on one of my machines. Ever= y so often (and I haven't figured out what conditions trigger it), my Sheph= erd instances (both home and PID 1) will go unresponsive. I thought I had t= racked it down to a misbehaving home service that I had configured, but it'= s just happened again without that service running. > > 'herd status' hangs indefinitely: > > jfred@terracard ~$ sudo herd status > Password:=20 > > > ...on both instances: > > jfred@terracard ~$ herd status > Ouch. What version of shepherd is running? (You can view it with =E2=80=9Ccat /proc/1/cmdline | xargs -0=E2=80=9D.) > The PID 1 shepherd instance isn't reaping defunct processes: > > jfred@terracard ~$ ps aux | grep -i lock > jfred 541 0.0 0.0 3700 2304 ? S 18:30 0:00 swayidle= -w timeout 300 swaylock -f -i ~/.wallpapers/user-manual.jpg timeout 10 if = pgrep swaylock; then swaymsg "output * dpms off"; fi resume swaymsg "output= * dpms on" before-sleep swaylock -f -i ~/.wallpapers/user-manual.jpg > jfred 3111 0.0 0.0 0 0 ? Z 18:53 0:00 [swayloc= k] > jfred 3112 0.0 0.0 0 0 ? Zs 18:53 0:00 [swayloc= k] > > Some further troubleshooting... strace indicates that it's waiting on a r= ead() on its fd 9: Interesting. There were bugs in earlier 0.10.x version that could cause this sort of thing; let=E2=80=99s see what version you have, first. Ludo=E2=80=99.