unofficial mirror of guix-science@gnu.org 
 help / color / mirror / Atom feed
From: "Ludovic Courtès" <ludovic.courtes@inria.fr>
To: guix-science@gnu.org
Subject: GC strategy on clusters
Date: Thu, 01 Apr 2021 12:17:22 +0200	[thread overview]
Message-ID: <87v9969uml.fsf@inria.fr> (raw)

Hi there!

Recently the Guix head node of our cluster at Inria was getting short on
disk space, despite running ‘guix gc -F20G’ (or similar) twice a day.

Turns out that some users had accumulated many profile generations and
that was getting in the way.  So we kindly asked them to run:

  guix package --delete-generations=4m

or similar, which was enough to free more space.

We’re now considering setting up automatic user notification by email,
as is commonly done for disk quotas, asking them to remove old
generations.  That way, users remain in control and choose what GC roots
or generations they want to remove.

How do people on this list deal with that?

Longer term, I think Guix should automatically delete old generations
and instead store the channels + manifest to reproduce them, when
possible.

Ludo’.


             reply	other threads:[~2021-04-01 10:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-01 10:17 Ludovic Courtès [this message]
2021-04-01 10:45 ` GC strategy on clusters Efraim Flashner
2021-04-01 12:36   ` Ludovic Courtès
2021-04-01 13:29     ` zimoun
2021-04-01 13:43       ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9969uml.fsf@inria.fr \
    --to=ludovic.courtes@inria.fr \
    --cc=guix-science@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).