Solved

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

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

A quick step-by-step overview of installing and configuring Carbonite Server Backup.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

820 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