Solved

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

Posted on 2009-07-08
4
2,122 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

867 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now