Greetings,
I have just started using Apache at our organisation as a proxy server. I have enabled caching using mod_cache / mod_disk_cache which is working well, however the cache has blown out to 20 GB.
I have tried to use htcacheclean, however I can not get the server to restart afterwards. A sample of my httpd.conf is below:-
__________________________________________________ _____________
LoadModule cache_module modules/mod_cache.so
<IfModule mod_cache.c>
LoadModule disk_cache_module modules/mod_disk_cache.so
# If you want to use mod_disk_cache instead of mod_mem_cache,
# uncomment the line above and comment out the LoadModule line below.
<IfModule mod_disk_cache.c>
CacheRoot I:/Proxy/ApacheCache
CacheEnable disk /
CacheDirLevels 5
CacheDirLength 3
CacheMaxFileSize 128000
CacheMinFileSize 64
CacheDisable http://au1.aconex.com
htcacheclean -n -t -p I:/Proxy/ApacheCache -l 10000M
# switches
# -n Be nice. This causes slower processing in favour of other processes. #htcacheclean will sleep from time to time so that (a) the disk IO will be #delayed and (b) the kernel can schedule other processes in the meantime.
# -t Delete all empty directories.
# -p Path of the root of the cache
# -l Limit size of cache add B for Bytes, K for Kilobytes and M for Megabytes
</IfModule>
__________________________________________________ _____________
I am sure I am missing something. Like a LoadModule or a way to call the htcacheclean, but im not sure what. I have done a fairly extensive search and come up with nothing.
Can anyone set me on the right track on how to sort this out please?
Regards,
Paul.