shawly / docker-nut

Docker container for https://github.com/blawar/NUT. "latest" & "v3" tags use stable release v3.3. "edge" tag uses latest master source code.
GNU General Public License v3.0
63 stars 8 forks source link

What size should the titledb/.git/objects/pack folder be? #11

Closed velvetpants1975 closed 10 months ago

velvetpants1975 commented 10 months ago

Was trouble shooting some cache issues with unRaid and noticed that the files in this location added up to 400gb+. Is this normal or is something wildly off with my setup?

nut/titledb/.git/objects/pack

shawly commented 10 months ago

Yeah that is technically normal as the titledb is updated regularily. When starting the container the first time, the titledb is cloned with a depth of 1, but every time the container is restarted the titledb will get updated so the git repo will grow in size.

I haven't had considered this yet but over a longer time span the repo can grow huge, I'll see if I can work around that.

shawly commented 10 months ago

The new edge image should now keep the size of the titledb repo low. You should delete the titledb folder so the container can clone it again.

savaloi commented 7 months ago

Has this (or will this be) incorporated into the main branch? I've just hit this issue today with the same folder being ~180GB while using the main branch. Thanks