LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-18-2001, 03:00 AM   #1
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Rep: Reputation: 15
clean up squid cache


hey guys,

i had to start squid with a clean cache and i did this by

squid -k shutdown
echo "" > /var/spool/squid/swap.state
squid start

what i want to know is what should i do with the files and directories in /var/spool/squid/00 thru 0F directories , i meant the files in those

00 01 02... 0C 0D 0E ..folders,

is it advisable to delete those files .have i really cleared the cache by the above procedure?

bye
 
Old 12-18-2001, 11:36 AM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
If you are using squid you want it to cache files.

Thats the main purpose of it unless you are using it to filter something, or regulate access.
 
Old 12-18-2001, 10:04 PM   #3
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Original Poster
Rep: Reputation: 15
yes i am!
 
Old 12-19-2001, 01:35 PM   #4
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
It should not hurt to remove the files, but they are rotated automatically
 
Old 12-19-2001, 10:24 PM   #5
anoop_chandran
Member
 
Registered: Nov 2001
Distribution: Redhat 7.0 ,mandrake 8.0 ,Redhat 7.2
Posts: 99

Original Poster
Rep: Reputation: 15
OK ,thanx David.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid cache issue !! hitesh_linux Linux - Enterprise 16 04-23-2007 03:01 AM
Squid Cache I think it is AJones Linux - Security 1 07-03-2005 06:50 AM
squid cache error woods Linux - Networking 3 10-29-2004 02:05 PM
how to clean squid cache dir phatboyz Linux - Software 1 05-03-2004 10:37 AM
squid cache initialization petitcolin Linux - Networking 1 01-22-2004 04:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration