Solved

Clean squid's cache

Posted on 2000-05-16
3
1,012 Views
Last Modified: 2006-11-17
How do i clean cache and log files of squid proxy ?
0
Comment
Question by:G2MD
3 Comments
 
LVL 2

Expert Comment

by:linuxwrangler
ID: 2815018
To clean the cache see the Squid FAQ at  http://www.squid-cache.org/Doc/FAQ/FAQ-7.html#ss7.3

The logfiles are in /var/log/squid

(And shame on you for surfing to those sites...:>)
0
 

Accepted Solution

by:
Gnomus earned 50 total points
ID: 2815825
simple way

# rm -rf /var/spool/squid/*
# rm -rf /var/log/squid/*
# squid -z
0
 

Author Comment

by:G2MD
ID: 2816916
A day three month ago i erased those directorys, but i had to reinstall Squid for create again its directory structure. I think that for create again the directory structure i have to run squid -z. That's right.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

776 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