Skip to content

reduce cache size needs (txn.active + files) #1766

@martin21

Description

@martin21

Related to "significantly reduce cache space needs" #235. But here it isn´t large chunks.archive.d, but rather txn.active + files. This is a cache for /home which has an excessive number of files, but its not that large:

merkaba:~> du -sh /home
164G /home

merkaba:> find /home | wc -l
2865746
merkaba:
> find /home -type f | wc -l
2797574
merkaba:> find /home -type d | wc -l
64319
merkaba:
> find /home/martin/.local/share/local-mail | wc -l
2128451
merkaba:> find /home/martin/.local/share/local-mail -type f | wc -l
2127093
merkaba:
> find /home/martin/.local/share/local-mail -type d | wc -l
1358

Today a borgbackup run into exception due to insufficient free space (see issue "limit cache space needs to avoid out of space exceptions" #1765)

And really:

merkaba:~/.cache/borg> du -sch * | sort -rh | head -4
5,4G insgesamt
4,9G 673e17ea929[…]
420M 809d8850c0bd[…]
44M 723a580c358b[…]

merkaba:~/.cache/borg/673e17ea92925012e32db8d4d92c6ec18a2a08f490d431b068fe6bdaae073737> LANG=C du -sch * | sort -rh | head -5
4.9G total
2.3G txn.active
2.1G files
296M chunks.archive.d
253M chunks

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions