HELP! Apache proxy not caching properly

HELP! Apache proxy not caching properly

Post by Ashutosh Tripath » Fri, 02 Jun 2000 04:00:00



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

 
 
 

1. 486 caches. beware, DTK does not cache properly

 GHT> I do believe a way is needed to do cache testing. Not all PC
 GHT> designs seem to handle cache well. I have seen some other
postings
 GHT> here tell of cache woes.

I agree completely.  Is there a mailing list or database Linux users can
use to research the different monthearboard and chipset vendors?  I'm
sure most motherboards work great with Linux, but I know one user
reported their CMOS being swiped (a gateway 386) and have seen posts
about several problems with external caches.  If there isn't any such
information store perhaps someone would consider setting up such a
beast..

Dave


 * Origin: PBS BBS Node 3 (1:232/303)

2. how do I administer a unix web server?

3. APACHE Proxy Authentication not working properly

4. adduser, AWE32, apache, kernel upgrade

5. Apache Proxy -- cache statistics (%full, cache-hit-rate)?

6. Control emacs/vi from another application

7. Apache with access control vs proxy (Not apache AS proxy)

8. libelf?

9. Apache/Proxy not caching Linux client

10. Apache proxy log, how to split to cache & proxy?

11. HELP: Apache not serving quicktime properly

12. proxy cache apache problem

13. Apache Proxy: Cache Size directive