Giter Site home page Giter Site logo

Comments (7)

SmartFinn avatar SmartFinn commented on May 24, 2024 2

It doesn't look like a real problem. I have installed my system on 20G ext4 filesystem and never got the issue. Yeah, the icon theme is huge, but how splitting the theme to a few packages make it smaller? The only rational thing that I can do, it's move ePapirus and ePapirus-Dark to another package.

Here is how much Inodes requires Papirus icon theme for installation on small partitions (ext4 defaults):

Filesystem      Inodes  IUsed   IFree IUse%
/dev/nbd0p1     655360 118066  537294   19% # 10GB
/dev/nbd0p1    1310720 118066 1192654   10% # 20GB
/dev/nbd0p1    1966080 118066 1848014    7% # 30GB
/dev/nbd0p1    2621440 118066 2503374    5% # 40GB

from papirus-icon-theme.

meybonomme avatar meybonomme commented on May 24, 2024 2

The only rational thing that I can do, it's move ePapirus and ePapirus-Dark to another package.

That's a very good idea, because only Pantheon desktop needs these icons.

from papirus-icon-theme.

johnlepikhin avatar johnlepikhin commented on May 24, 2024 1

Systems like Nix or Guix stores multiple snapshots of the packages, which have grouped into generations of profiles (sort of OS snapshots). Each generation organized via symlinks to single files. Thus, after installing Papyrus icons set and making some OS snapshots, I've got 30M inodes on my disk and 100% of inodes usage.

So, in some cases it is actually the problem.

from papirus-icon-theme.

darkshram avatar darkshram commented on May 24, 2024

Some scenarios probably will not do as well. It depends on the usage of the filesystem and whatever is installed/stored there. After several years of usage, final users will have installed or stored a lot of things.

Example (the incident originating this issue): A few hours ago, a user of my Linux distribution contacted me because he could not install papirus (see attached image). He had a lot of files and applications for different reasons in a 30GB partition (/). Made him uninstall as much unused packages as possible with rpmorphan. After system cleaning, he finally was able to install the RPM package for papirus. But just a few minutes later, contacted me again, now because he could not install back some software he needed, now because papirus exhausted the inodes capacity of his 30 GB partition for /. Obviously, having papirus installed system-wide for him (in this particular scenario) was not a good idea, and had to made him switch to another (not as pretty) icon theme with less files (Tela icon theme also has three regular, dark and light variants, but has only +42k files) and advised him to regularly check with df -i.

photo_2023-10-02_20-23-57

A cleaver warning about the number of files installed by Papirus icon theme would be a good idea. Installing packages with over +100k files are not exactly a common thing to do (unless you install complete TexLive).

As a workaround for my Linux distribution, most likely we will have to split Papirus-Dark and Papirus-Light from papirus-icon-theme package into their own RPM packages to avoid similar issues in the future.

from papirus-icon-theme.

SmartFinn avatar SmartFinn commented on May 24, 2024

@johnlepikhin seems you have chosen the wrong filesystem for your system. I recommend you to use filesystem with dynamic inodes allocations, like Btrfs, ZFS, and XFS.

Also, 30000000 / 118066 = 254 snapshots, something wrong with your use case.

from papirus-icon-theme.

johnlepikhin avatar johnlepikhin commented on May 24, 2024

@SmartFinn I use what I use for other important reasons.

Yes, I had plenty "snapshots" of this package, by design. OS reference counter and lazy GC for unused items (i.e. installed packages versions, built profiles). GC is triggered when there is low free space measured bytes, but not in inodes. Sure, it has to be implemented in distro core utils too. Anyway, I ran into the problem after I added Papyrus icon theme to my profile. After removing icons pack:

$ find -L ~/.guix-home/profile/|wc -l
190085

That is, I need 190k inodes to get full-featured desktop/IDE/etc. with 200+ packages installed. I believe such inodes usage is common for most of the users. Icons pack that requires as half as the rest of desktop installation doesn't look well-organized, especially since that there are a lot of ways to split the pack effectively. For Guix, probably I will patch a manifest to generate a separated set of packages, but the problem will remain.

from papirus-icon-theme.

SmartFinn avatar SmartFinn commented on May 24, 2024

It seems to me, I have to remove the whole Papirus icon theme to make you happy 🥲

Btw, icon-theme-papirus snap package uses only 1 inode. Just saying.

from papirus-icon-theme.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.