Solved

Clean squid's cache

Posted on 2000-05-16
3
1,021 Views
Last Modified: 2006-11-17
How do i clean cache and log files of squid proxy ?
0
Comment
Question by:G2MD
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
The purpose of this article is to demonstrate how we can use conditional statements using Python.
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

728 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