unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Elias Kueny <elias.kueny@posteo.net>
To: 62379@debbugs.gnu.org
Subject: bug#62379: /gnu/store/.links filling the hard drive on foreign distro
Date: Wed, 22 Mar 2023 10:48:04 +0000	[thread overview]
Message-ID: <g3cedph6it4.fsf@cfeld-pcx39651.desy.de> (raw)

Hello,

I'm using guix over a foreign distro (Ubuntu 22.04). I initially installed guix from the Ubuntu repositories (version 1.3.0-4), and updated as user with guix pull (work computer: I don't have root access to run the installer script).

The problem is the size of /gnu/store/.links: after garbage collection with "guix gc --delete-generations=1w", /gnu/store is 17.4 GB in total, and /gnu/store/.links is 14.5 GB (344120 items, ranging from 93 MB to 4.1 kB each). The garbage collector prints that "currently hard linking saves 3717.77 MiB".
With a 40GB hard drive, the gnu store regularly fills up all the available space if I'm not careful. I found from an old issue (https://issues.guix.gnu.org/24937#1) that 10 millions links should need around 700 MB, so this sounds like a bug.

After garbage collection, there are only 16 profiles left in /var/guix/profiles/per-user/ for my account: 2 for current-guix, 2 for guix-profile, and the rest for guix-home (where almost every program is installed), plus one guix shell profile I keep activated during gc to not uninstall it. I can't check for the root account, but I'm guessing it contains only the profile of the initial guix installation. There are no other users.

I tried uninstalling the original guix from the Ubuntu repositories in case the issue is due to some interference between it and the current guix I pulled as user, but /var/guix/daemon-socket/socket was gone with it, so I couldn't try to run the garbage collection.

Elias




             reply	other threads:[~2023-03-22 13:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-22 10:48 Elias Kueny [this message]
2023-04-08 21:12 ` bug#62379: /gnu/store/.links filling the hard drive on foreign distro Ludovic Courtès
2023-05-07 15:05   ` Maxim Cournoyer

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=g3cedph6it4.fsf@cfeld-pcx39651.desy.de \
    --to=elias.kueny@posteo.net \
    --cc=62379@debbugs.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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).