lancachenet / monolithic

A monolithic lancache service capable of caching all CDNs in a single instance
https://hub.docker.com/r/lancachenet/monolithic
Other
725 stars 73 forks source link

LANCache is clearing cached data with 7TB left on the share #155

Closed TheRedHerring95 closed 1 year ago

TheRedHerring95 commented 1 year ago

Describe the issue you are having

LANCache deleting cache data after approximately 800-900GB cached.

How are you running the container(s)

The official apps on UnRAID, default settings but custom dedicated IPs for DNS and cache, downloading to a single share on a single SSD.

DNS Configuration

DNS is the LANCache DNS container, set in Windows. DNS works, and caching hits until it starts clearing cached data; not DNS issue.

Output of container(s)

Not sure where to find this on the first place, happy to provide them if needed. May need guidance on how to get them. 

Edit: Assuming the default is the same for the UnRAID app/docker as the main repo (which I'm assuming it is), I'm guessing it's that it's hitting the CACHE_DISK_SIZE limit, as that variable isn't exposed to the UI in UnRAID. I'm currently searching for the location for the config to add it manually if I can. If there's a way to add it through the UI, that would be excellent, otherwise help finding the configuration file would be great. Folders selected in case that helps: Logs folder: mnt/user/lancache/logs Cache folder: mnt/user/lancache

VibroAxe commented 1 year ago

There are no official apps on UnRAID! Our advice is to install lancache using the official guide using an unraid VM. From what you've said above I am assuming you are using the Josh5 bundle. Please raise an issue over at https://github.com/Josh5/lancache-bundle/issues

TheRedHerring95 commented 1 year ago

Nope, not the Josh5 package, from what I can tell it's just the main line Dockers for LANCache and LANCache DNS, and they label them 'official' because it's not a third party. Running it in a VM wouldn't have solved the problem; I just needed to add the environmental variable for CACHE_DISK_SIZE through the UI.

All running fine now, it's cached 3TB at this point, running with the same configuration as before just with that variable added. Once I realised that, it was painless. Honestly, I can't imagine a VM being easier; I initially tried it on various Linux distros and kept having issues, whereas this at least worked right away. Only issue was that variable (and UPSTREAM_DNS, adding that when I get a chance) not being exposed in the UI.

VibroAxe commented 1 year ago

@TheRedHerring95 do you have a link to these?

TheRedHerring95 commented 1 year ago

Not on hand right now, but I can grab them and post them when I get a chance. I'll put the links to both the cache and the DNS when I do.

TheRedHerring95 commented 1 year ago

Sorry, for the delay, I forgot when I got home. The links to the projects for it are both to lancache.net, with the registry listed as here, so it definitely seems to just be referring to the container as an app. 'Official' badge isn't there on the main screen at this point because of it already being installed (shows an 'Installed' badge there instead). image image

stale[bot] commented 1 year ago

This issue has been automatically marked as inactive because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 year ago

This issue has been automatically closed after being inactive for 30 days. If you require further assistance please reopen the issue with more details or talk to us on discord