cache_dir doubt
Hi..everybody,
I have configured squid proxy server. It is working fine and nearly 100 PCs are accessing internet through proxy. I have given the cache size as 250 GB out of 350 GB of /var partition Code:
cache_dir ufs /var/spool/squid3 250000 16 256 Will the squid stops storing cache when the cache size reaches 250GB? or Will it be overwriting with old cache? if it will be overwriting with old cache then how to confirm that old cache is overwriting? Or should I delete cache using "rm -rf /var/spool/squid3/* when it reaches to 250GB? or should I not delete cache? And how to confirm that the recently browsed pages are accessing through cache because if I do tail -f /var/log/squid3/access.log the many of the request as showing "direct" Code:
1324204919.920 114 192.168.0.100 TCP_MISS/200 1251 GET http://www.google.co.in/images/firefox/alert.png - DIRECT/74.125.236.48 image/png Code:
1324204920.406 6 192.168.0.100 TCP_HIT/301 800 GET http://newsrss.bbc.co.uk/rss/newsonline_world_edition/front_page/rss.xml - NONE/- text/html |
Hi..masters, please help me for above doubts.
|
I am not going to claim any mastery, but:
Quote:
Quote:
Why don't you, as an experiment set the cache to a different, much smaller, file, so that you can then watch if squid does the right thing. If it behaves correctly with a smaller cache file, it seems quite likely that it will behave correctly with a larger file. Just a thought. |
Thank you salasi, I will check it with smaller size first.
|
All times are GMT -5. The time now is 06:13 AM. |