From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id SIQjC/LUo2bdFAEAqHPOHw:P1 (envelope-from ) for ; Fri, 26 Jul 2024 16:55:14 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id SIQjC/LUo2bdFAEAqHPOHw (envelope-from ) for ; Fri, 26 Jul 2024 18:55:14 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dmarc=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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1722012914; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=21PgET032XXcC31BSCIzr6mXXXHIOXlxMqF6j8eZsrg=; b=j9bvAlr6me0A5N9yxDpOxf855AjJBHHCAniry2+PYrEpOCe7zw+aOrU/+OFYS/D84TmGj3 nh2obhgvKaS73rulHJCI2+VkHn+8dPCx4ZtdsuFnDqayNUdoF6SoEMVZlWkbKnFx3/xF6E Fl5YHRj8pIuE0Ytc+xHkqRB5LOUOVpMLk/mR4xMEoplvDe8bQJSDLgHhQFalunA6QyIxdc aE3qrj5vHG/geeLoU+eeNZCNLSZVK2QXTJA8SdcEpA0bwBi9ZbtWcvheciEtyJEYYZVLkD Mxxmm+rZsBNUyimQIRkOyqmkSvk2g4fV9YDyA//v/U7rrQCFeLj0WBEqwSaWyQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1722012914; a=rsa-sha256; cv=none; b=KAcuCtBDPcuWIvSNjpxRQflY8QElSlJAoKSMIOqk72mQMV8YpSL0wsHo3CLwh5T20Z8HT7 5gHUG/lxI9WY9H5s6+TcU1+53/3TC4Czj1xMJUix4jZOjRQ6lvKk6GahCkM08HG8lZzO0X ycK2ZhFzAGjz27/g1dXExpEd9rSEq5D+kP68BQqeNrcFRhXdFJuy8J9KyzdWUywHRO6bXz Rn5nhMw8QCGfCSY+6FTEUvLroWl4FKsqMan3CMwt/VUFXr4JarihojmlmXJ0TeLEgdmfaJ wfFC0Q9xS/tXYbHvTxmR8V8P4Nd2uQ1W47xPqk46CaQJti+pEb24xHC8U/n7xw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dmarc=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" 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 DE25F1177B for ; Fri, 26 Jul 2024 18:55:13 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sXODZ-0007HV-C4; Fri, 26 Jul 2024 12:54:57 -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 1sUFFX-0004yL-2E for bug-guix@gnu.org; Wed, 17 Jul 2024 20:43:59 -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 1sUFFW-00087q-PQ for bug-guix@gnu.org; Wed, 17 Jul 2024 20:43:58 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sUFFa-0001V4-5U for bug-guix@gnu.org; Wed, 17 Jul 2024 20:44:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#72166: Shepherd periodically goes unresponsive on one of my machines Resent-From: "Jonathan Frederickson" Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 18 Jul 2024 00:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 72166 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 72166@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.17212634275733 (code B ref -1); Thu, 18 Jul 2024 00:44:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Jul 2024 00:43:47 +0000 Received: from localhost ([127.0.0.1]:36414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUFFL-0001UP-CN for submit@debbugs.gnu.org; Wed, 17 Jul 2024 20:43:47 -0400 Received: from lists.gnu.org ([209.51.188.17]:33914) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sUFFJ-0001UG-Mp for submit@debbugs.gnu.org; Wed, 17 Jul 2024 20:43:46 -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 1sUFFF-0004vs-UU for bug-guix@gnu.org; Wed, 17 Jul 2024 20:43:42 -0400 Received: from fhigh2-smtp.messagingengine.com ([103.168.172.153]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sUFFE-00083z-1Q for bug-guix@gnu.org; Wed, 17 Jul 2024 20:43:41 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 93CAC1140114 for ; Wed, 17 Jul 2024 20:43:37 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute4.internal (MEProxy); Wed, 17 Jul 2024 20:43:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=terracrypt.net; h=cc:content-type:content-type:date:date:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to; s=fm3; t=1721263417; x=1721349817; bh=21PgET032XXcC31BSCIzr6mXXXHIOXlx MqF6j8eZsrg=; b=06KHpmcXv7WGtMBtVSmtaslZPubW1UEPqrz5wCbJxtdP3w2t RyOC0G7EAeYpt1ZMrGbVIJxer/2UtgHfb8GMnV1Rl/H6vPKSK7JOAXQ7v8a/+Ny+ iSmYp/meJRdpUZlW/pvSIe4VxnTLao6L5RgeDxYoOluTbFTB5+sOjyLxMaUM4UbS J9jEleOQkiAv15i88MSl+JnpN0umQsd2hhuMKufOTtXmxttFvT9kaNdT0J5pxQKs VDnEGCUUDKPFRp0zCILXJKUReIcsLuzO7e7VD77G0+0Xru5nR0EfU7xE72QRTZf0 FbZLb8089PHRjK7JVM4bhUyrsTENTAqgg1/F1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:message-id :mime-version:reply-to:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1721263417; x=1721349817; bh=21PgET032XXcC31BSCIzr6mXXXHIOXlxMqF 6j8eZsrg=; b=Wdb256i65zONehXIr0PNO19QACsxDd+Z3jtu3DZYC3FUWP9m8Zy DF7MLqZSVnOx6FISlZUFZBdDrz8i1kre0aFXEpjik4jISxGlAnn/ZZRFZz7yNRsB H4VYTlC4k9vCh0BL5oAA6jALr8NvonLurW+00ITl8iMLwZJKri/39UA2q51J4vrm z56z+VY9QrYA5ovFUR11hyfyWeuSAO7uDylxKAsk5ruCXql6vlrl7G4E7Cl1bajt IT+GhLXEUrfX6eamfH+P4pZKPaQWyTFlUfeg9VpqzBn0jH5P+7WB3omAktPvNQKR Yl0TQ7NP6TYTH6I+k6Ohs67+X7hqlELJgPA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrgeekgdegtdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdflohhnrghthhgrnhcuhfhrvgguvghrihgtkhhsohhnfdcuoehj ohhnrghthhgrnhesthgvrhhrrggtrhihphhtrdhnvghtqeenucggtffrrghtthgvrhhnpe dvffeugfetgfelleevfeevuefhudejtdfgfeejfeehjeegkefhjefgueeuffekffenucff ohhmrghinhepghhithhhuhgsrdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrg hrrghmpehmrghilhhfrhhomhepjhhonhgrthhhrghnsehtvghrrhgrtghrhihpthdrnhgv th X-ME-Proxy: Feedback-ID: if4194509:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 3B79731A0065; Wed, 17 Jul 2024 20:43:36 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-568-g843fbadbe-fm-20240701.003-g843fbadb MIME-Version: 1.0 Message-Id: Date: Wed, 17 Jul 2024 20:43:15 -0400 From: "Jonathan Frederickson" Content-Type: text/plain Received-SPF: pass client-ip=103.168.172.153; envelope-from=jonathan@terracrypt.net; helo=fhigh2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 26 Jul 2024 12:54:56 -0400 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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: DE25F1177B X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.71 X-Spam-Score: -5.71 X-TUID: etU9fJKFSclz I've been running into an issue with Shepherd on one of my machines. Every so often (and I haven't figured out what conditions trigger it), my Shepherd instances (both home and PID 1) will go unresponsive. I thought I had tracked 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: ...on both instances: jfred@terracard ~$ herd status 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 [swaylock] jfred 3112 0.0 0.0 0 0 ? Zs 18:53 0:00 [swaylock] Some further troubleshooting... strace indicates that it's waiting on a read() on its fd 9: jfred@terracard ~ [env]$ sudo strace -fp 1 Password: strace: Process 1 attached with 5 threads [pid 144] read(9, [pid 142] futex(0x7fa43892abe8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY [pid 141] futex(0x7fa43892abe8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY [pid 140] futex(0x7fa43892abe8, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, NULL, FUTEX_BITSET_MATCH_ANY^ ...which seems to be: jfred@terracard ~ [env]$ sudo ls -l /proc/1/fd/9 lr-x------ 1 root root 64 Jul 17 20:39 /proc/1/fd/9 -> 'pipe:[4015]' jfred@terracard ~ [env]$ sudo lsof -n | grep 4015 lsof: WARNING: can't stat() fuse.portal file system /run/user/1000/doc Output information may be incomplete. shepherd 1 root 9r FIFO 0,15 0t0 4015 pipe shepherd 1 root 11w FIFO 0,15 0t0 4015 pipe shepherd 1 140 GC-marker root 9r FIFO 0,15 0t0 4015 pipe shepherd 1 140 GC-marker root 11w FIFO 0,15 0t0 4015 pipe shepherd 1 141 GC-marker root 9r FIFO 0,15 0t0 4015 pipe shepherd 1 141 GC-marker root 11w FIFO 0,15 0t0 4015 pipe shepherd 1 142 GC-marker root 9r FIFO 0,15 0t0 4015 pipe shepherd 1 142 GC-marker root 11w FIFO 0,15 0t0 4015 pipe shepherd 1 144 shepherd root 9r FIFO 0,15 0t0 4015 pipe shepherd 1 144 shepherd root 11w FIFO 0,15 0t0 4015 pipe My system configuration for this machine can be found here, and I last ran a 'guix pull' on June 21: https://github.com/jfrederickson/dotfiles/blob/master/guix/guix/system/machines/terracard/config.scm Has anyone else run into this?