Open exetico opened 2 years ago
Can we get this fixed? It would be nice to have a max disk space setting.
Currently I'm using the following command:
/usr/bin/find /tmp/lshttpd/swap -name "*.lsz" -type f -mtime +1 -exec rm -f {} \;
WIth the following cron-timing: 0 5 * * *
It's odd that it's not fixed, yet.
My /tmp
space is 1.5GB and lshttpd
keeps growing to 1.3GB:
1.3G /tmp/lshttpd
Hi,
My lshttpd/swap folder is filling up, due to unique minified CSS-files (and JS, but that's temporary fixed).
I know I changed something on the server at the 2022-05-16 which forced it to generated far many unique minified filed, but I'd expect OLS to clean up the cache/swap-files after the TTL is passed/expired, or checked regularly on a daily/hourly interval or so.
In LSCWP I've defined the TTL to a max of 3600, so this is part of my config:
In OLS > Module > Cache, I'm using the following config:
But the server is still growing in size, with files much older than 3600 sec:
More details here: https://golitespeed.slack.com/archives/C3QRCDP44/p1653642082393049
Problems/Questions
1) Shouldn't the old swap files be removed on regularly basis?
2) Is there a "problem" with my current setup, of is this the expected outcome?
3) If so, how should I process from here to keep the cached files to a more limited amount (x days old)?
System info
OpenLiteSpeed 1.7.15
LiteSpeed Cache Report Number:PYBWTPVS
(if the details helps with any debugging)