How to clean squid cache directory ?

Taking care of your Linux box.
gardenair
Havaldaar
Posts: 106
Joined: Tue Dec 28, 2004 10:07 pm

How to clean squid cache directory ?

Postby gardenair » Wed Mar 16, 2011 3:01 pm

Salam,
I am using squid on my cent os 5. The cache directory is almost full.

# cache_dir ufs /var/spool/squid 2000 16 256
kindly guide me how can i flush or clean the data inside the cache directory of squid.I am using using terminal not Linux GUI interface.

thanks
garden

khizer
Lance Naik
Posts: 20
Joined: Fri Feb 25, 2011 2:40 am
Location: Sharjah

Postby khizer » Wed Mar 16, 2011 3:24 pm

-Khizer Naeem Mughal

Knowledge is often mistaken for intelligence. This is like mistaking a cup of milk for a cow.

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Wed Mar 16, 2011 4:25 pm

Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?

gardenair
Havaldaar
Posts: 106
Joined: Tue Dec 28, 2004 10:07 pm

Postby gardenair » Thu Mar 17, 2011 1:38 pm

thanks for the reply. Well mostly people say that they frequently delete their cache dir. I also have a ISA server in my another branch and we when the users complaints that they even can not open google web page I just delete the stop my ISA and delete cache of ISA.

As concern to Squid is there any way to check that out of 2 GB how much web pages have been saved in the cache directory ? i.e var/spool/squid.
I have google it but does not find the answer of my question.

Thanks to linuxpakistan forum that here i can discuss my Linux issues .
again thanks a lot for giving time ,
waiting for reply,
garden

lambda
Major General
Posts: 3452
Joined: Tue May 27, 2003 7:04 pm
Location: Lahore
Contact:

Postby lambda » Thu Mar 17, 2011 5:33 pm

i've used in the past, but i don't know if it has what you want.
Watch out for the !
Isn't it amazing how so many people can type "linuxpakistan.net" into their browsers but not "google.com"?


Return to “Administration”

Who is online

Users browsing this forum: No registered users and 1 guest