Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-14 Thread Henrik Nordstrom
tor 2006-04-13 klockan 18:56 -0700 skrev nonama: > HI Henrik, > Thanks for the reply.. > > Ya, I can see a lot of that. Pls see below. What does > that mean? where can I get info about all the 'terms' > in all the logs The store.log file format is described in detail in the FAQ: http://www.squi

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-13 Thread nonama
HI Henrik, Thanks for the reply.. Ya, I can see a lot of that. Pls see below. What does that mean? where can I get info about all the 'terms' in all the logs 1144972334.071 RELEASE -1 6C4E8321DD4115CEAB14E8044CFE91D5 200 1144972625 -1-1 image/gif 104/104 POST http://ping

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-13 Thread Henrik Nordstrom
ons 2006-04-12 klockan 23:36 -0700 skrev nonama: > Hi, > I did some testing on the cache, with the config > below. So I'm expecting when it reached 89% of cache > usage, which is about 2581000kb , the old data will be > replaced. How can I see that happening? store.log is a good place to monitor

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-12 Thread nonama
Hi, I did some testing on the cache, with the config below. So I'm expecting when it reached 89% of cache usage, which is about 2581000kb , the old data will be replaced. How can I see that happening?, because at the moment the cache used size is still increasing. and I also experienced slowness d

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-12 Thread Matus UHLAR - fantomas
On 11.04.06 20:59, nonama wrote: > Based on the below, how does it actually removed the > old data when the cache hit the low_swap value. no, squid removes old data when the cache fill percentage hits cache_swap_high value and stops when it hits cache_swap_low value. > WIll it remove only selecte

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-12 Thread Matus UHLAR - fantomas
On 12.04.06 02:34, Dave wrote: >I've also seen this issue. I'm on a FreeeBSD6 box with squid 2.5 on it. > My config is below. Generally when this happens the disk goes nuts, as if > it's trying to clean files out of the disk cache, i use a > du -sh > command and check the cache directories an

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-12 Thread Matus UHLAR - fantomas
On 11.04.06 11:13, Guillaume Vachon wrote: > To the last message some line of my config files are missing.. this is > my total squid.conf : > cache_mem 100 MB > cache_dir aufs /opt2/squid-cache/ 5000 16 256 these should be OK and cause your squid not to eat much of RAM, nor disk i/o. I hope you d

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Dave
Hello, I've also seen this issue. I'm on a FreeeBSD6 box with squid 2.5 on it. My config is below. Generally when this happens the disk goes nuts, as if it's trying to clean files out of the disk cache, i use a du -sh command and check the cache directories and they're full. My solution is t

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread nonama
HI, Based on the below, how does it actually removed the old data when the cache hit the low_swap value. WIll it remove only selected old data in the cache (can we monitor this) and is there any impact to the users i.e slow performance? Sorry, I' also a newbie in SQUID and reading from the FAQ ma

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Arianto C Nugroho
My understanding of squid caching after reading its documentation and FAQ is that squid will have some kind of representation of every object that it cache.. so providing that you have enough memory, squid will be searching for cached object in the memory not on your disk, so it should be fast..

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Henrik Nordstrom
tis 2006-04-11 klockan 08:31 -0400 skrev Guillaume Vachon: > I have a squid that has been caching for like 10 month. It now have an > amazing size of 4.5 gig. When browsing on the web, it is now very very > slow. I restarted squid with a clean cache. Everything was fine again. This is usually a t

RE: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread lokesh.khanna
You should use cache replacement policy -Original Message- From: Guillaume Vachon [mailto:[EMAIL PROTECTED] Sent: Tuesday, April 11, 2006 4:14 PM To: squid-users@squid-cache.org Subject: Re: [squid-users] Howto Clear Cache Periodicaly On Tue, 2006-04-11 at 15:49 +0100, Neil A. Hillard

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
On Tue, 2006-04-11 at 16:15 +0100, Neil A. Hillard wrote: > Guillaume Vachon wrote: > > On Tue, 2006-04-11 at 10:26 -0400, Guillaume Vachon wrote: > >> On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: > >>> Hi, > >>> > >>> mail reformatted to make sense (i.e. please don't top post!) > >>

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Neil A. Hillard
Guillaume Vachon wrote: On Tue, 2006-04-11 at 10:26 -0400, Guillaume Vachon wrote: On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: Hi, mail reformatted to make sense (i.e. please don't top post!) I have a squid that has been caching for like 10 month. It now have an amazing

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
On Tue, 2006-04-11 at 15:49 +0100, Neil A. Hillard wrote: > Guillaume Vachon wrote: > > On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: > >> Hi, > >> > >>mail reformatted to make sense (i.e. please don't top post!) > >> > > I have a squid that has been caching for like 10 month. I

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Neil A. Hillard
Guillaume Vachon wrote: On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: Hi, mail reformatted to make sense (i.e. please don't top post!) I have a squid that has been caching for like 10 month. It now have an amazing size of 4.5 gig. What you have is determined by the cache_

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
On Tue, 2006-04-11 at 10:26 -0400, Guillaume Vachon wrote: > On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: > > Hi, > > > > mail reformatted to make sense (i.e. please don't top post!) > > > > >>> I have a squid that has been caching for like 10 month. It now have an > > >>> amazin

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
On Tue, 2006-04-11 at 14:51 +0100, Neil A. Hillard wrote: > Hi, > > mail reformatted to make sense (i.e. please don't top post!) > > >>> I have a squid that has been caching for like 10 month. It now have an > >>> amazing size of 4.5 gig. > >> What you have is determined by the cache_dir sp

RE: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
Hello The computer is a dual core 3 ghz with 2 gig of ram. So i think that this should be okay. Guillaume On Tue, 2006-04-11 at 14:27 +0100, Holton, Euan wrote: > > Make sure that your disk access performance, for instance, is adequate > > for the SQUID induced disk I/O load. > > > Other

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Neil A. Hillard
Hi, mail reformatted to make sense (i.e. please don't top post!) I have a squid that has been caching for like 10 month. It now have an amazing size of 4.5 gig. What you have is determined by the cache_dir specifications in squid.conf. The size there is taken into account , and SQUID w

RE: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Holton, Euan
> Make sure that your disk access performance, for instance, is adequate > for the SQUID induced disk I/O load. Other possible things to check are whether or not Squid is being CPU bound (usually by liberal use of regular expressions in the ACLs; less likely in this case from the description of

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Guillaume Vachon
Hello, Make sure that your disk access performance, for instance, is adequate for the SQUID induced disk I/O load. For the computer that is running Squid it is a Dual core 3 ghz, there is 2 gig of ram. The disk are scsi. I don't think that it is the machine that is having the probleme. T

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Mark Elsen
> Hello! > > I have a squid that has been caching for like 10 month. It now have an > amazing size of 4.5 gig. What you have is determined by the cache_dir specifications in squid.conf. The size there is taken into account , and SQUID will trimm cache dirs automatically if that would be needed.

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Tim Bates
I might be reading all this wrong, but couldnt you just set the max cache size lower? Alexander Grüner wrote: Hi :-) was wondering if there were a way to tell squid to clean cache periodicaly?! So I would not have to do it myself. I am doing this with a cron job in the middle of the night

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Neil A. Hillard
Hi, Alexander Grüner wrote: was wondering if there were a way to tell squid to clean cache periodicaly?! So I would not have to do it myself. I am doing this with a cron job in the middle of the night. You might adjust your paths perhaps. Downtime is just about a few seconds. Works on SuSE

Re: [squid-users] Howto Clear Cache Periodicaly

2006-04-11 Thread Alexander Grüner
Hi :-) was wondering if there were a way to tell squid to clean cache periodicaly?! So I would not have to do it myself. I am doing this with a cron job in the middle of the night. You might adjust your paths perhaps. Downtime is just about a few seconds. Works on SuSE Linux 9.2: #!/bin/sh