Solved

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

Posted on 2009-07-08
4
2,103 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
Comment Utility
Quite urgent
0
 
LVL 9

Expert Comment

by:abolinhas
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks Avi000, got it sorted with your help! Thanks again

Ed
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I have put this article together as i needed to get all the information that might be available already into one general document that could be referenced once without searching the Internet for the different pieces. I have had a few issues where…
Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

9 Experts available now in Live!

Get 1:1 Help Now