Hi,
Servers keep a cache of downloaded workshop addons in /steam_cache and /garrysmod/cache/srcds/ so they can be mounted without being reinstalled every restart.
Problem is, when you unsubscribe the server from these items, either by stopping it from hosting that collection or removing it from the collection, all these .gma files stay.
On my dedicated server, ~200GB+ is being used just for these cached workshop items.
The easiest solution would be automatically running "menu_cleanupgmas" daily to keep this number down, but that command doesn't work on servers and I'm not even sure it works on clients.
Is there:
A) An easy way to clear these files that I've missed
B) A list of all the workshop IDs of currently subscribed items so I can just make a shell script on a cron job to do it
C) A way to just get gmod to delete these files upon unsubscribe in the first place.
(Just removing every cached file isn't really an option for me, the number would quickly build up again, and I don't really see it as a solution long term. Plus, every server would have to redownload it's existing items.)
Thanks
You have 200GB+ for chaged workshop items?
Use less addons man. How many addons do you have??? Definetly way too much
Not just one server, it's alot of servers. That's why I need a solution which I can repeat, but isn't just deleting all workshop files causing the need for all of them to be redownloaded.
Sorry, you need to Log In to post a reply to this thread.