From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id SOeXKWjW4WUSXwAA62LTzQ:P1 (envelope-from ) for ; Fri, 01 Mar 2024 14:21:44 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id SOeXKWjW4WUSXwAA62LTzQ (envelope-from ) for ; Fri, 01 Mar 2024 14:21:44 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="kt/j1CPz"; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1709299304; h=from:from:sender:sender:reply-to: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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dkv5qXEnt/z/Fl/8Y08fFk7Yu8QR1htWZC5ofUmlhbI=; b=Lc3H+lHwRJqjkoXYd7gXYe21B97Eg+JokKogQwIQRGu2ylEK4ruEf9bFEZuCSkhG9l1Kdm zp+jLMxqO0C4I+vkt1PaT6EOo26tZXmFjlirmCuun70pRLBCtbh+5qoIQNpWzXMqg8nVeK BzRaL/uZy4qOXnBo9xSr+c117ysjAYvMi7vWdfDpeLvZ4XeQ94cChPhO+IzU9zzZYUzSJf nrhHk+Uv+6s1iogl8+KBxzl7NH3EHqW/8xEkq4L7QXH/w9zNkkvo+gz/IZ93kkFE0Ns49F Dn4ZI+snjHtDky1gcedNFQEUJOy+zF82rN0C3N1pe1HZ3yPjdx5C/618OeUplQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lease-up.com header.s=2017 header.b="kt/j1CPz"; 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=1709299304; a=rsa-sha256; cv=none; b=N9384B+rgeJTduXLZD1Gmqx5SZyXYi2gvMAXWslnm6mTCvt3HpE/YznC/aK0ytymSockse 2T6clyWgszweYKdsG6YOMRt3gMYwgoZ2VxFyMR5U7vC6k0b+rAO4a6AEkRHC3joJ5YuQXO 1pOyHKEqBvYiia158/qzuVIJp55dLoWwbBzY2kDOxVqniFRZeZM2Vx1pxzT3GxEAwPf9kO 8YRtKiyKV1WPs7/E7fBiwE/Nb342PfWea/k8z5hCt58xGUbMx26JU6o9mFfsrUgG+0CrqN 6yZDJoY9yiRrj+9nLodmZocp4xBF6Rr+gmBm0wAN8zELcAWfZvZrm80/5vZbKw== 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 3190B19FE1 for ; Fri, 1 Mar 2024 14:21:44 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rg2p9-0002AP-HF; Fri, 01 Mar 2024 08:21:15 -0500 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 1rg2p4-0002A9-Ij for guix-devel@gnu.org; Fri, 01 Mar 2024 08:21:10 -0500 Received: from sail-ipv4.us-core.com ([208.82.101.137]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1rg2oy-0000E3-Oq for guix-devel@gnu.org; Fri, 01 Mar 2024 08:21:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=2017; bh=I4ZNFE+sdppFepd sFoqKS6PMEHxUF3mLQPqOyWEMDdA=; h=date:references:in-reply-to:subject: cc:to:from; d=lease-up.com; b=kt/j1CPzMGHyXg94h39WYcwgerzLq6Y49EbL1ntq 24cMfRcIRbD3m7f3104F6d1J8ZkJtSbIaakJdzDNi2O4qldNXhLPtcs9K4gCSzRxzG9fdq xA/BXIwiQuOb7frco4O5veHcE7NPTM/IjPEXEqYsJvZaQWEW162rMDvkLzzNw= Received: by sail-ipv4.us-core.com (OpenSMTPD) with ESMTPSA id 36cf1f32 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Fri, 1 Mar 2024 13:21:01 +0000 (UTC) To: Attila Lendvai Cc: guix-devel@gnu.org Subject: Re: A basic Shepherd bug? In-Reply-To: References: <87cyuypdy8.fsf@lease-up.com> <4bmtHRTpunYhFTJuh15hWVnJ-9GedW9YD7_xDkwqR-7A2T7q7Q5S_ybfTe1qyagEnw0yX6h1sqJzDpdrCho5xM7OQfU6zg-xm9uWCgqgTjw=@lendvai.name> <87zfxz4jn9.fsf@lease-up.com> <-x7OZZ8cEEw9UwK8zD-1JBlqJhO1Qe8VAJBr-BbJzFvL83659WEV5icFTyvQBaRgByiY_LoiAoqcOkawOi0f3Mca97XFK2l0i8YbwectmSY=@lendvai.name> <87v8681h2p.fsf@lease-up.com> Date: Fri, 01 Mar 2024 05:21:00 -0800 Message-ID: <87a5ni141v.fsf@lease-up.com> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=208.82.101.137; envelope-from=felix.lechner@lease-up.com; helo=sail-ipv4.us-core.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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: , Reply-to: Felix Lechner From: Felix Lechner via "Development of GNU Guix and the GNU System distribution." 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 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -3.01 X-Spam-Score: -3.01 X-Migadu-Queue-Id: 3190B19FE1 X-TUID: byif7ZlTtBlf Hi Attila, On Fri, Mar 01 2024, Attila Lendvai wrote: > you `guix system reconfigure` into a new shepherd version, and after > that the currently running shepherd init process went 100% CPU, > i.e. it was busy looping in one thread? Yes, I used 'guix deploy.' I did so several times before noticing the unusual load. I don't usually reboot when changing services, but have to when adding new ones. I'm so lazy about it, sometimes it seems we should keep track of kernel and Shepherd versions separately from other features of the system. In effect, we would have two types of "system generations," namely: A. Kernel/PID 1 generation B. Features generation (not using the word "services" here) > a quick and dirty solution It was just a thought. Ideally, it would appear in a bug tracker so someone can think about it with the benefit of hindsight later. > interesting thoughts on migration and staged computation I just wished for an alert when the code deployed as PID 1 had changed, but no worries, please. There is so much to do. Thanks for your (and Ludo's) hard work on the Shepherd. I love it! Kind regards Felix