GNU bug report logs - #45266
"guix gc" needs free disk space to function

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Nathan Dehnel <ncdehnel@HIDDEN>; merged with #41484; dated Wed, 16 Dec 2020 06:38:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Merged 41484 45266. Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 45266 <at> debbugs.gnu.org:


Received: (at 45266) by debbugs.gnu.org; 22 Dec 2020 18:05:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 22 13:05:26 2020
Received: from localhost ([127.0.0.1]:50862 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1krm2I-0005tE-1s
	for submit <at> debbugs.gnu.org; Tue, 22 Dec 2020 13:05:26 -0500
Received: from mail-lf1-f44.google.com ([209.85.167.44]:40123)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ncdehnel@HIDDEN>) id 1krm2E-0005sx-Pc
 for 45266 <at> debbugs.gnu.org; Tue, 22 Dec 2020 13:05:24 -0500
Received: by mail-lf1-f44.google.com with SMTP id m12so34042735lfo.7
 for <45266 <at> debbugs.gnu.org>; Tue, 22 Dec 2020 10:05:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc:content-transfer-encoding;
 bh=fxONOQeIRKG4vakyVStzYFRPbozBwSDYoqDjwpIkcqo=;
 b=dkIz2J9pWkJkmFahJhsHTm77uHLzrPo17T9hB+NlCo8d9w94Bux5ermU1oq7/Hgnlx
 tf0LfWQIJdrPzeNo/DTpyMOhZx9YX1iiWm8mNcfJHPKtIqQ1B9aKF+NCk6jLcki4jnGt
 JPVSrZamjhrbHWktXXCI/GkT20cr45WV4J6diHqtAhodz/zIEM9fRGgAsS+h/2Zq2rhO
 ZmnK5nbuWCegqX8tE0bca9syHaJ4LOzZXYd1oXEe04/QYIkMOCBUKTtMtcPMluAOiYZ4
 MXQMuJj71+Kph7QD/E5uup774W7yx8PCgiPfQkTE7KMs6Hdn8T8PZ1Rq5aDlHN/2ga1O
 0udQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc:content-transfer-encoding;
 bh=fxONOQeIRKG4vakyVStzYFRPbozBwSDYoqDjwpIkcqo=;
 b=Rq9bY4RqnNKlRMRn0yfN2g8+23MAeS1/OBmzcujS/ze7GGYBrjGJ2jEkdTsVQprm+y
 EmAkkStQsuRVFRPX9h2bVECLXOtICzLZIuLQP89kgjzA0bFsUB5sBrym/OjbS+dzSBTN
 NBRvOw6UbUIEm+U90yKemp4TbVCqmpZm8Aj02iZV4WrMRWG9ApvBJf14Vq2BUxwpOpll
 G1fkx+STHPQo31/l2kudMRoL9UBiUzaHwDdEvJJ4cNojPcoxfVYL+2An7fTq0p8N8Vdz
 fleWvF9nz/VsbflkrMNm+L0OsMWjtpCUFJcSXJDDEEUh306QdCmhIC4zz3h/aGF/n/La
 sraw==
X-Gm-Message-State: AOAM530B/rmIVpPm0FQUpdr4bC+IAycIzAO4G1MwgBq0zeSuYYjl4Hlf
 rqJ1Yg9uA+Gv+kVCOndGnPoUsWDTu03KbC1FlRhHVsP3QXE=
X-Google-Smtp-Source: ABdhPJwewrOkX5pXFGLbQIEDK9aR31LhvjERed48EFhonaXXnI31OGybCnPYAKoSAzK5S+xZ0oBVr2Mz3a9u7QfvXmw=
X-Received: by 2002:a05:6512:304c:: with SMTP id
 b12mr8817830lfb.273.1608660315948; 
 Tue, 22 Dec 2020 10:05:15 -0800 (PST)
MIME-Version: 1.0
References: <CAEEhgEs98HiGKE2QPee09M0VnpvgnqD840V_wkV8bukrLw_+WA@HIDDEN>
 <875z4t29g6.fsf@HIDDEN>
In-Reply-To: <875z4t29g6.fsf@HIDDEN>
From: Nathan Dehnel <ncdehnel@HIDDEN>
Date: Tue, 22 Dec 2020 12:05:04 -0600
Message-ID: <CAEEhgEvkaOhpBmR_SWrZyLG2MH7NO0JrWzNFEak=FAuxb6JQ0g@HIDDEN>
Subject: Re: bug#45266: "guix gc" needs free disk space to function
To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 45266
Cc: 45266 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

>The daemon reserves a bit of extra space before starting operation (see
=E2=80=98reserve-space?=E2=80=99 in (guix store)), which should be enough t=
o gracefully
handle situations where builds are filling the disk.

>However, there can also be non-Guix processes filling the disk, to the
point where it=E2=80=99s completely full, and at that point sqlite3 (which =
the
daemon uses) may be unable to operate.

I didn't experience this. Guix pull filled the disk, which prevented
the gc from working. It's possible some other process was writing in
the background, but I had built an image which was almost completely
devoid of programs and services.

>I=E2=80=99m afraid there=E2=80=99s little we can do in this case.

>Thoughts?

Copy the database into tmpfs temporarily?

On Tue, Dec 22, 2020 at 8:37 AM Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
> Hi,
>
> Nathan Dehnel <ncdehnel@HIDDEN> skribis:
>
> > It would be better if guix gc could run on a disk that was completely
> > full, as right now it cannot be used to free space on a full disk.
>
> The daemon reserves a bit of extra space before starting operation (see
> =E2=80=98reserve-space?=E2=80=99 in (guix store)), which should be enough=
 to gracefully
> handle situations where builds are filling the disk.
>
> However, there can also be non-Guix processes filling the disk, to the
> point where it=E2=80=99s completely full, and at that point sqlite3 (whic=
h the
> daemon uses) may be unable to operate.
>
> I=E2=80=99m afraid there=E2=80=99s little we can do in this case.
>
> Thoughts?
>
> Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#45266; Package guix. Full text available.

Message received at 45266 <at> debbugs.gnu.org:


Received: (at 45266) by debbugs.gnu.org; 22 Dec 2020 14:37:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 22 09:37:38 2020
Received: from localhost ([127.0.0.1]:49304 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1krinC-0008RH-5P
	for submit <at> debbugs.gnu.org; Tue, 22 Dec 2020 09:37:38 -0500
Received: from eggs.gnu.org ([209.51.188.92]:59214)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1krinB-0008Qz-0e
 for 45266 <at> debbugs.gnu.org; Tue, 22 Dec 2020 09:37:37 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e]:58980)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1krin5-0002Sk-Q9; Tue, 22 Dec 2020 09:37:31 -0500
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=44056 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1krin5-0002ru-0N; Tue, 22 Dec 2020 09:37:31 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Nathan Dehnel <ncdehnel@HIDDEN>
Subject: Re: bug#45266: "guix gc" needs free disk space to function
References: <CAEEhgEs98HiGKE2QPee09M0VnpvgnqD840V_wkV8bukrLw_+WA@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: 2 =?utf-8?Q?Niv=C3=B4se?= an 229 de la =?utf-8?Q?R?=
 =?utf-8?Q?=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: Tue, 22 Dec 2020 15:37:29 +0100
In-Reply-To: <CAEEhgEs98HiGKE2QPee09M0VnpvgnqD840V_wkV8bukrLw_+WA@HIDDEN>
 (Nathan Dehnel's message of "Wed, 16 Dec 2020 00:36:54 -0600")
Message-ID: <875z4t29g6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (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: 45266
Cc: 45266 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

Nathan Dehnel <ncdehnel@HIDDEN> skribis:

> It would be better if guix gc could run on a disk that was completely
> full, as right now it cannot be used to free space on a full disk.

The daemon reserves a bit of extra space before starting operation (see
=E2=80=98reserve-space?=E2=80=99 in (guix store)), which should be enough t=
o gracefully
handle situations where builds are filling the disk.

However, there can also be non-Guix processes filling the disk, to the
point where it=E2=80=99s completely full, and at that point sqlite3 (which =
the
daemon uses) may be unable to operate.

I=E2=80=99m afraid there=E2=80=99s little we can do in this case.

Thoughts?

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#45266; Package guix. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 16 Dec 2020 06:37:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 16 01:37:12 2020
Received: from localhost ([127.0.0.1]:59666 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kpQQy-0006Uv-9n
	for submit <at> debbugs.gnu.org; Wed, 16 Dec 2020 01:37:12 -0500
Received: from lists.gnu.org ([209.51.188.17]:58224)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ncdehnel@HIDDEN>) id 1kpQQw-0006Uo-Op
 for submit <at> debbugs.gnu.org; Wed, 16 Dec 2020 01:37:11 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:56860)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ncdehnel@HIDDEN>)
 id 1kpQQw-0004Wv-FS
 for bug-guix@HIDDEN; Wed, 16 Dec 2020 01:37:10 -0500
Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:46826)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ncdehnel@HIDDEN>)
 id 1kpQQu-0007ZR-S1
 for bug-guix@HIDDEN; Wed, 16 Dec 2020 01:37:10 -0500
Received: by mail-lf1-x132.google.com with SMTP id y19so45530185lfa.13
 for <bug-guix@HIDDEN>; Tue, 15 Dec 2020 22:37:07 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:from:date:message-id:subject:to;
 bh=6dN/W98MJxpHTzzPUXg4wBJRlR8IDX/ZJnD5Fz0sDDM=;
 b=IYgIcmuvebhcz8WRVrII5EtYDj7bqT5cCeqDgtZ3DJRUMKYgnyHtXcvjzmmarbB8bi
 fB6cx1ImxCKmvNoQxvYuOMtxNHkMTVRGNai2D+JsUrHC6YrCP/wZn4AJULhrjBibeUwi
 YApsbDXPa5PBMejdCXOwct01KsNi1viaYN//mgnPZZdYQtAVx8gy9WTfNzwTrwb6o2SG
 gdwLCMolAnp4Y7uWywXS6VgkUHsd5bgfm+KxdSCiPbD701RizfCHqwyxUigdvBJ2hoK1
 QXoTevW1cuzxNA/f7vqpx+yzj5UwjhKE1avH7DnYumhLiFiaITLnqwNJR4mtu2uT+Z+K
 /RBg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to;
 bh=6dN/W98MJxpHTzzPUXg4wBJRlR8IDX/ZJnD5Fz0sDDM=;
 b=FjYDGEq4tBjlII7fJZIi3ZExcrv7gyb9sBZh/oIeCeX+YcLCsi9JUMv/wDOSS/Er/3
 +TigzL2ytFG80xNAZScUAeEHN3prKX/I7qB/vF1UsKP2tA09f5jqqzoa0vlTA3HoXq++
 I2o7xcGBOYAKK6D1KstX0kslULAUFb+6QmEFpa4Ufwq+QIueqSV5CJ6H55Sh8qoIdlfH
 uIXS+dkkWY3A1P+DlGaquvtQyGiovMqR5HH9D4CoJkP7HJKhtON1okbYh5iiK3SUm+8T
 A4np4U/oAua2dG1lQsZT52NSZpW3aFmP4zPvOgnUoysi6Ng/rG8MMMY1X30n4qHTxG51
 S/Fw==
X-Gm-Message-State: AOAM531CM5N2ZCmkdFZ+d5mbz8vktI/jLPExHz8y4HBxYXygHprlXGsp
 ErqioTsTH/2DXT8JnyFCsEVOvVdngngRj4uH2/RPTEBA
X-Google-Smtp-Source: ABdhPJzxNsR1/dyCKt4JlgygsNxncbRtGRzaMWU5/Dtdt2Ai0E+AlulxIJOdBzR4jb67GmZGaJXWocmNONugtmkjgT4=
X-Received: by 2002:a19:6b19:: with SMTP id d25mr12637304lfa.282.1608100626481; 
 Tue, 15 Dec 2020 22:37:06 -0800 (PST)
MIME-Version: 1.0
From: Nathan Dehnel <ncdehnel@HIDDEN>
Date: Wed, 16 Dec 2020 00:36:54 -0600
Message-ID: <CAEEhgEs98HiGKE2QPee09M0VnpvgnqD840V_wkV8bukrLw_+WA@HIDDEN>
Subject: "guix gc" needs free disk space to function
To: Tobias Geerinckx-Rice via Bug reports for GNU Guix <bug-guix@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2a00:1450:4864:20::132;
 envelope-from=ncdehnel@HIDDEN; helo=mail-lf1-x132.google.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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

It would be better if guix gc could run on a disk that was completely
full, as right now it cannot be used to free space on a full disk.




Acknowledgement sent to Nathan Dehnel <ncdehnel@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#45266; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 16 Jan 2021 14:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.