Solved

How to clear cache on Squid 2.6 Web Proxy running on Windows 2003 Server

Posted on 2009-07-08
4
2,134 Views
Last Modified: 2012-05-07
Our office is running a Windows 2003 Server with Squid NT 2.6 as as web proxy, the cache directory has now reached 7Gb and find that the internet connection is a bit unstable. How does one clear / flush the cache on Squid 2.6. I have tried to manually delete the contents of the cache directory, but it stopped working alltogether so had to restore them for now. Any help would be much appreciated.
0
Comment
Question by:scape2k
  • 2
4 Comments
 
LVL 1

Author Comment

by:scape2k
ID: 24811176
Quite urgent
0
 
LVL 9

Expert Comment

by:abolinhas
ID: 24811661
Hi,

Go to your cache directory and clean the content of access.log, but be careful,
do not delete this file, only the content.

0
 
LVL 1

Accepted Solution

by:
Avi000 earned 50 total points
ID: 24814341
Stop the Squid, manually remove the contents of the cache directory, then run squid -z in order to re-create directory structure, then run squid again.

You may also want to tune cache_dir config parameter to decrease cache size.
0
 
LVL 1

Author Closing Comment

by:scape2k
ID: 31601451
Thanks Avi000, got it sorted with your help! Thanks again

Ed
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question