Hi,
Following is my Proxy configuration
ProxyRequests On
ProxyRemote * http://webcache:8080
ProxyReceiveBufferSize 65536
CacheRoot /webcache/apache-proxy/cache
CacheSize 20480000
CacheGcInterval 1
CacheMaxExpire 24
CacheLastModifiedFactor 0.1
CacheDefaultExpire 1
My cache filesystem is about 25 GB, as you can see above i
have specified Cachesize to be about 20 GB.
There is decent load on the system, yet the actual amount of
data cached by Apache is pitifully small (about 200 Megabytes ONLY!!)
as seen by df output. This machine used to run Netscape Proxy server
earlier and the Cache usage used to get around 12-13 GB pretty regularly.
So the question is, is there something in my Apache configuration
which is make Apache cleanup the cache more agressively the before? How
can i configure Apache so that it will use as much cache as it can
(Upto 20 GB) if filesystem has free space, without cleaning up. For example,
is my "CacheMaxExpire 24" TOO LOW??
I am running Apache 1.3.9 on a Solaris 2.7.
Any help/pointer/RTFMs would be greatly appreciated. Please CC me in
replies.
Please help,
-ashu