GNU bug report logs - #61379
Guix creates 1M+ symlinks for papirus-icon-theme

Previous Next

Package: guix;

Reported by: SkeletonAdventure <SkeletonAdventure <at> proton.me>

Date: Thu, 9 Feb 2023 03:39:03 UTC

Severity: normal

To reply to this bug, email your comments to 61379 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#61379; Package guix. (Thu, 09 Feb 2023 03:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to SkeletonAdventure <SkeletonAdventure <at> proton.me>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 09 Feb 2023 03:39:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: SkeletonAdventure <SkeletonAdventure <at> proton.me>
To: "bug-guix <at> gnu.org" <bug-guix <at> gnu.org>
Subject: Guix creates 1M+ symlinks for papirus-icon-theme
Date: Thu, 09 Feb 2023 01:07:16 +0000
[Message part 1 (text/plain, inline)]
After installing papirus-icon-theme my profile build became much slower, and after a few more generations I ran out of Inodes. After probing around with du I found that each profile had nearly 1.5M Inodes.

From 'du --inodes -d 1 /gnu/store | sort -n'

427406    /gnu/store/7038q3mds728lps7vrmn5ii4hzym4bs3-profile
1427426    /gnu/store/bkj5cqbq8r1kbh34w06548c6zhkf7f37-profile
1427440    /gnu/store/wjw3d19nyi838adf1gbx34yg00gws4ym-profile
1427449    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile
10900648    /gnu/store

And then further in the culprit:

19    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/hicolor
279659    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/ePapirus-Dark
279663    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/ePapirus
288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus
288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus-Dark
288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus-Light
1425409    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/

Here is my guix describe

Generation 2 Feb 04 2023 19:09:15 (current)
guix f57e20d
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master commit: f57e20d7289911a3691f089603c47cfdb828ea44
[Message part 2 (text/html, inline)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Wed, 22 Feb 2023 05:22:02 GMT) Full text and rfc822 format available.

Notification sent to SkeletonAdventure <SkeletonAdventure <at> proton.me>:
bug acknowledged by developer. (Wed, 22 Feb 2023 05:22:02 GMT) Full text and rfc822 format available.

Message #10 received at 61379-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: SkeletonAdventure <SkeletonAdventure <at> proton.me>
Cc: 61379-done <at> debbugs.gnu.org
Subject: Re: bug#61379: Guix creates 1M+ symlinks for papirus-icon-theme
Date: Wed, 22 Feb 2023 00:21:42 -0500
Hi,

SkeletonAdventure <SkeletonAdventure <at> proton.me> writes:

> After installing papirus-icon-theme my profile build became much
> slower, and after a few more generations I ran out of Inodes. After
> probing around with du I found that each profile had nearly 1.5M
> Inodes.
>
> From 'du --inodes -d 1 /gnu/store | sort -n'
>
> 427406    /gnu/store/7038q3mds728lps7vrmn5ii4hzym4bs3-profile
> 1427426    /gnu/store/bkj5cqbq8r1kbh34w06548c6zhkf7f37-profile
> 1427440    /gnu/store/wjw3d19nyi838adf1gbx34yg00gws4ym-profile
> 1427449    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile
> 10900648    /gnu/store
>
> And then further in the culprit:
>
> 19    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/hicolor
> 279659    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/ePapirus-Dark
> 279663    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/ePapirus
> 288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus
> 288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus-Dark
> 288689    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/Papirus-Light
> 1425409    /gnu/store/nxks5r9xg62av8c9harkcyk5x9ig45ka-profile/share/icons/
>
> Here is my guix describe
>
> Generation 2 Feb 04 2023 19:09:15 (current)
> guix f57e20d
> repository URL: https://git.savannah.gnu.org/git/guix.git
> branch: master commit: f57e20d7289911a3691f089603c47cfdb828ea44

This was fixed a bit later in 77aff2b5d2 by Tobias, by using hard links
instead of symlinks.

You'll have the fix after you 'guix pull' and 'guix upgrade'.

Closing.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Mar 2023 11:24:07 GMT) Full text and rfc822 format available.

bug unarchived. Request was from SkeletonAdventure <SkeletonAdventure <at> proton.me> to control <at> debbugs.gnu.org. (Wed, 22 Mar 2023 17:31:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#61379; Package guix. (Wed, 22 Mar 2023 17:35:01 GMT) Full text and rfc822 format available.

Message #17 received at 61379 <at> debbugs.gnu.org (full text, mbox):

From: SkeletonAdventure <SkeletonAdventure <at> proton.me>
To: "61379 <at> debbugs.gnu.org" <61379 <at> debbugs.gnu.org>
Subject: Issue Persists
Date: Wed, 22 Mar 2023 17:33:50 +0000
[Message part 1 (text/plain, inline)]
This issue still persists. Here is my describe

Generation 58 Mar 20 2023 23:24:05 (current)
guix b4fb941
repository URL: https://git.savannah.gnu.org/git/guix.git
branch: master commit: b4fb941957ea68a5e708525a8bebeacdc3d70959

And Papirus has 112035 inodes

112035 /gnu/store/ancyil1arc8c9bkf3izp66a7n9wyq3a9-papirus-icon-theme-20230104

With nearly 1.5 million in each profile. Just uninstalling and reinstalling it twice moved my inode usage from 49% to 73%

279659 /gnu/store/a3lfb69pzllcbahpkh8vaxlg7czhr9k8-profile/share/icons/ePapirus-Dark
279663 /gnu/store/a3lfb69pzllcbahpkh8vaxlg7czhr9k8-profile/share/icons/ePapirus
288689 /gnu/store/a3lfb69pzllcbahpkh8vaxlg7czhr9k8-profile/share/icons/Papirus
288689 /gnu/store/a3lfb69pzllcbahpkh8vaxlg7czhr9k8-profile/share/icons/Papirus-Dark288689 /gnu/store/a3lfb69pzllcbahpkh8vaxlg7czhr9k8-profile/share/icons/Papirus-Light

It is worth noting that Papirus is not alone in making too many inodes per profile, it is just the most noticeable given how huge it is. Breeze will saturate one's inodes after a about 200 generations.

27261 /gnu/store/v71lm9qcpvl2bayclc1j83hfbm91r2ff-profile/share/icons/breeze-dark
29738 /gnu/store/v71lm9qcpvl2bayclc1j83hfbm91r2ff-profile/share/icons/breeze

And maybe others.
[Message part 2 (text/html, inline)]

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 22 Mar 2023 17:35:02 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 87 days ago.

Previous Next


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