From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 10 16:55:01 2021 Received: (at 51787) by debbugs.gnu.org; 10 Dec 2021 21:55:01 +0000 Received: from localhost ([127.0.0.1]:48062 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvnr3-0004v5-Bw for submit@debbugs.gnu.org; Fri, 10 Dec 2021 16:55:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49242) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mvnr2-0004uk-4D for 51787@debbugs.gnu.org; Fri, 10 Dec 2021 16:55:00 -0500 Received: from [2001:470:142:3::e] (port=50382 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvnqw-00029d-RJ for 51787@debbugs.gnu.org; Fri, 10 Dec 2021 16:54:54 -0500 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=666QD3BrVVkj+diIOR1o7PctKtjSesXLghNLsDRB0+s=; b=DLBEXl7nzWOfryF81HKp 6tvQuySdMrFuTpu9vkAhMLVGlRbBQgBftx8dufMqJUZ0OXGMN94F12BEVFftTzc32+N97dRWaIUM9 jXd2eUDtUE9G1oaOi9R5JMA6uATq7zXasVHiVcdpxCClznlY4nDPrM6ztVqyuLoY3BiKCOAhUmp7u eJLt61yyB7JFHFe7P0CpTLlfqa0PSDzTxoB4BjjVnCIT4HWnqn3p82JWwIQjfyIjIZqxKsHijtQGL VMH2Y0rg4lGoIS3P/U5DgO7UWrdU00S88TBcHjaqpyJr1X3uedohIvquCStrc2yT9XQqGLEwya6Tt GkLjo1bgOzTLzw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:63117 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mvnqw-0001yX-FA; Fri, 10 Dec 2021 16:54:54 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#51787: GC takes more than 9 hours on berlin References: <87o86pegr3.fsf@gnu.org> <87zgpuhig7.fsf@gnu.org> <87wnkv15k3.fsf@cbaines.net> <87zgpp971n.fsf@gnu.org> <87pmqet419.fsf@gnu.org> <87czm57zao.fsf@gnu.org> <87czm4bvzt.fsf@gnu.org> <877dcccrlq.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Frimaire an 230 de la =?utf-8?Q?R=C3=A9volution?= 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: Fri, 10 Dec 2021 22:54:51 +0100 In-Reply-To: <877dcccrlq.fsf@gnu.org> (Mathieu Othacehe's message of "Fri, 10 Dec 2021 18:11:29 +0100") Message-ID: <87a6h86s7o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51787 Cc: 51787@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Mathieu Othacehe skribis: >> Still, I=E2=80=99m surprised a mere =E2=80=98rm -rf=E2=80=99 can take th= is long. =E2=80=98strace -T=E2=80=99 on >> the child guix-daemon process doesn=E2=80=99t reveal anything obviously = wrong, >> pause times or similar. > > I noticed that the process isn't around anymore. Did anyone killed it, > or maybe it just crashed? Also noticed some trash removing commands were > running. Regardless of the root cause of the problem, getting rid of the > trash directory before the next evaluation seems like a good idea. Yeah I don=E2=80=99t know what happened to the GC process but it disappeared earlier today. Then I started things like this: unshare -m sh -c 'mount --bind -o remount,rw /gnu/store; rm -rf --one-fil= e-system /gnu/store/trash/[abc]*' which is equally slow (perhaps slightly slower: it seems to do more syscalls per file to remove than the guix-daemon code). Anyway, I=E2=80=99ll let it run hoping it=E2=80=99ll be done by the next GC. Ludo=E2=80=99.