NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/54706: ln consuming inodes on wrong device....



On Mon, Nov 18, 2019 at 1:30 AM Michael van Elst <mlelstv%serpens.de@localhost> wrote:
>
>  Hardlinks don't consume inodes. It's just directory entries pointing to
>  the same inode.

Oh, well that is good to know. I'll be able to use them up a lot
quicker next time.

>  >df -ih /dev/sd0f /dev/wd0a
>  >Filesystem         Size       Used      Avail %Cap    iUsed   iAvail %iCap Mounted on
>  >/dev/sd0f          8.7G       495M       7.8G   5%   149683   995915   13% /var
>  >/dev/wd0a          2.0G       305M       1.6G  16%     7439   249071    2% /HDS5C30
>
>  You seem to have lots of files on /var. Can you find out what they are?
>  fontconfig can have lots of cache files, but usually only a few thousand,
>  not 140000. My guess would be lots of files in /var/tmp generated by
>  rrdtool.

Yes, I have confirmed tons of fontconfig files, about 6 per rrdtool db table.
Given 63 separate metric tables, and 388 new fontconfig cache files per graph
rendering, invoked from cron every 8 minutes. That explains the inode
consumption.

I'll open a separate PR for rrd tool. This one can be closed. Thank you!

-George



--
George Georgalis, (415) 894-2710, http://www.galis.org/


Home | Main Index | Thread Index | Old Index