Closed DarrenRainey closed 3 years ago
So the short answer is no, because unlike the steamcache cache monolithic uses nginx' internal cache mechanic (because it's more efficient). The downside of this is that it stores the cached files using a hash instead of the file name.
We don't really see corrupted files in the same way that steamcache used to due to the way the nginx cache works, however we are looking at a way to do a forward lookup to produce the hashes for a known file/chunk.
Leave it with us
Starting to work on this as well my self but so far the simplest solution seems to be this on the cache/hard drive side:
for delete in $(grep -r "steam/depot/441" * | awk '{print $3}')
do
rm -rf $delete
done
although I need to do more testing and see how nginx handes the file changes as well as speed optimisations.
Hi i use https://github.com/perusio/nginx-cache-purge and have found it here: https://github.com/bntjah/lancache/issues/112
Describe the issue you are having
Can you add a way to easily manage/view what's stored on the cache to make it easier to find and fix corrupted files as well as delete old/unused files.
How are you running the container(s)?
DNS Configuration