Guix creates 1M+ symlinks for papirus-icon-theme

  • Open
  • quality assurance status badge
Details
2 participants
  • SkeletonAdventure
  • Maxim Cournoyer
Owner
unassigned
Submitted by
SkeletonAdventure
Severity
normal
S
S
SkeletonAdventure wrote on 9 Feb 2023 02:07
(name . bug-guix@gnu.org)(address . bug-guix@gnu.org)
lYOzbphjouT5M4du1hVNUIqWUVWeOG5J2CF5CnIbFjVag8w0CRvC5t4RcuMcvjNGXruU6fFAH7GbXpwxaPYZOISkaETc1snClvEVDNi65vM=@proton.me
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
branch: master commit: f57e20d7289911a3691f089603c47cfdb828ea44
Attachment: file
M
M
Maxim Cournoyer wrote on 22 Feb 2023 06:21
(name . SkeletonAdventure)(address . SkeletonAdventure@proton.me)(address . 61379-done@debbugs.gnu.org)
87r0uie0m1.fsf@gmail.com
Hi,

SkeletonAdventure <SkeletonAdventure@proton.me> writes:

Toggle quote (30 lines)
> 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
Closed
S
S
SkeletonAdventure wrote on 22 Mar 2023 18:30
unarchive
(name . control@debbugs.gnu.org)(address . control@debbugs.gnu.org)
jM-lwcq1i50GPwgqAQen090cRjiByYFPbI9sjsqkMzgMg4htb45BJnqjMt6WVLu59l_lnaZBX_L9t1rmjVgcjV3hJjUnOzNUtrxMWsv6Jto=@proton.me
unarchive 61379
Attachment: file
S
S
SkeletonAdventure wrote on 22 Mar 2023 18:33
Issue Persists
(name . 61379@debbugs.gnu.org)(address . 61379@debbugs.gnu.org)
ZdRowzxLVHZ5ly7lpEGq15zTmbwHQGaMUUBtopw5VFAJyeyuiNPsk3aL63-qYvFyeL_95gB0raIogg1FCEWS4gzRNY5YqBjSXEkNn68_2kA=@proton.me
This issue still persists. Here is my describe

Generation 58 Mar 20 2023 23:24:05 (current)
guix b4fb941
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.
Attachment: file
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 61379@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 61379
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch