litespeedtech / litespeedtech/openlitespeed
/usr/local/lsws/cachedata/priv/ can take up all disk space
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 1.5k
- Forks
- 233
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 5
Description
Over time, especially if there are many hosts, the disk space fills up with cache files. The documentation https://docs.litespeedtech.com/lscache/basics/ and https://openlitespeed.org/kb/litespeed-cache-on-openlitespeed-without-plugins/) says that this is solved ... by simply deleting old files via crontab. However, this option is not practical.
Is it possible to set the cache space limit in the "[module cache](https://openlitespeed.org/kb/openlitespeed-cache-module/)" parameter in the host configuration?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked cache documentation and the OpenLiteSpeed module-cache reference, then trace how host cache settings are defined and applied. Determine whether a configurable cache-space limit can be supported; done would be a documented configuration approach that prevents cache files from consuming all disk space without relying on cron.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100