简体   繁体   English

mod_cache_disk定义最大磁盘使用量

[英]mod_cache_disk define max disk usage

I'm using mod_cache_disk to cache some data via apache, I have a 150gb avaiable but mod_cache_disk is only caching 2gb. 我正在使用mod_cache_disk通过apache缓存一些数据,我有150gb可用,但是mod_cache_disk仅缓存2gb。

I couldn't find a directive that explicit the disk usage, how can I do this? 我找不到明确显示磁盘使用情况的指令,该怎么办? My current configuration is: 我当前的配置是:

   CacheEnable disk /dash/
   CacheRoot "/var/cache/hls_cache"
   CacheDirLevels 5
   CacheDirLength 4
   CacheIgnoreCacheControl on
   CacheMaxExpire 86400
   CacheIgnoreQueryString on

I found out that there isn't such directive however there is a tool called htcacheclean that performs what I want to do. 我发现没有这样的指令,但是有一个名为htcacheclean的工具可以执行我想做的事情。

Link can be found here: https://httpd.apache.org/docs/2.4/programs/htcacheclean.html 链接可以在这里找到: https : //httpd.apache.org/docs/2.4/programs/htcacheclean.html

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM