Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2363
  • Last Modified:

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

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
scape2k
Asked:
scape2k
  • 2
1 Solution
 
scape2kAuthor Commented:
Quite urgent
0
 
abolinhasCommented:
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
 
Avi000Commented:
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
 
scape2kAuthor Commented:
Thanks Avi000, got it sorted with your help! Thanks again

Ed
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now