[squid-users] Re: Squid Cache

2003-10-30 Thread Henrik Nordstrom
On Thu, 30 Oct 2003, Roger Joseph wrote: > Sorry about the personal email but it was not really list related. What makes this not list related? > Is there a place that list out the features different between > Squid /2.5 Stable 1 vs Squid Stable 5 or later versions. What was > improved. Should

[squid-users] Re: Squid Cache flush

2011-04-19 Thread Jawahar Balakrishnan (JB)
I am looking to deploy Squid as a reverse proxy and i had couple of questions. We currrently use Bluecoat and Sun Web proxy and i am able to do the following things 1) How would i flush objects from cache? 2) Can i flush the entire cache without restarting Squid? 3) Can i set the configuration to

[squid-users] Re: squid+cache+question!!!!

2003-05-31 Thread Henrik Nordstrom
On Saturday 31 May 2003 08.31, Sukhjit Singh wrote: > Dear all the squid gurus, > > kindly solve my problem. > > I am using squid2.5 stable+wccp v2 > i have 512Mbps of RAM and PIII- 1Ghz processor and 33GB SCSI > i am getting 200-300 hits/s For 200-300 hits/s (ca 20-30Mbps of HTTP traffic) you nee

[squid-users] Re: squid+cache+question!!!!

2003-05-31 Thread Sukhjit Singh
Hi Dear, Am using linux 8.0 with kernel 2.4.19 * You need several cache drives and use aufs/diskd (which to use depends on your OS). Squid puts a quite high load on harddrive seek times-->>which is better aufs/diskd for redhat linux. * You need to tune your system for many filedescripto

[squid-users] Re: squid+cache+question!!!!

2003-05-31 Thread Henrik Nordstrom
On Saturday 31 May 2003 11.11, Sukhjit Singh wrote: > which is better aufs/diskd for redhat linux. aufs. And I would recommend starting with at least 4 cache drives. >> * You need to tune your system for many filedescriptors. 200-300 >> hits/s you will certainly run into the default limit of 102

[squid-users] Re: squid cache poisoing

2003-12-18 Thread Gabriel Wicke
On Thu, 18 Dec 2003 16:20:23 +0530, vikram mohite wrote: > Hi, > > We are running two squid proxies one with RedHat 8.0 and the other RedHat > 9.0 with default kernels. > > Interscan viruswall ver. 3.8 is also runnig on both the proxies and are > acting as parent proxies for squid proxies. May

[squid-users] Re: squid cache not updating?

2010-11-26 Thread J Webster
I have my cache mounted on a drive at /var/spool/squid. The other day I tied to mount a new folder also on the same drive, which is apparently not the best thing to do. Since then, I am not sure if my squid cache is updating or not. It seems to be stuck at 35Gb use and 16% capacity. Is there any

[squid-users] Re: squid cache not updating?

2010-12-04 Thread J Webster
Do I rebuild the cache? -- From: "J Webster" Sent: Friday, December 03, 2010 8:03 AM To: Subject: squid cache not updating? I have my cache mounted on a drive at /var/spool/squid. The other day I tied to mount a new folder also on the same drive

[squid-users] Re: squid cache not updating?

2010-12-06 Thread J Webster
Any ideas? Really not sure what to do on this one. Unsure whether the cache is being updated or it has stopped using the cache, etc. -- From: "J Webster" Sent: Saturday, December 04, 2010 7:14 PM To: Subject: Re: squid cache not updating? Do I

[squid-users] Re: squid cache not updating?

2010-12-08 Thread J Webster
Any ideas? Do I have to revuild the cache? Really not sure what to do on this one. Unsure whether the cache is being updated or it has stopped using the cache, etc. -- From: "J Webster" Sent: Friday, December 03, 2010 8:03 AM To: Subject: squid

Re: [squid-users] Re: Squid Cache flush

2011-04-19 Thread Hasanen AL-Bana
1- I think the fastest way to flush all the cache is to stop squid then making mkfs.extX on your cache partition. I suppose you have a separate partition for cache. 2- Is it possible ? I dunno 3- check refresh_pattern settings also you can set the minimum expiry time. On Tue, Apr 19, 2011 at 6:14

Re: [squid-users] Re: Squid Cache flush

2011-04-19 Thread Amos Jeffries
On Tue, 19 Apr 2011 11:14:55 -0400, Jawahar Balakrishnan (JB) wrote: I am looking to deploy Squid as a reverse proxy and i had couple of questions. We currrently use Bluecoat and Sun Web proxy and i am able to do the following things 1) How would i flush objects from cache? The whole lot: htt

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
I would rather not do a restart of anything unless absolutely required Here are the challenges we face 1) We are trying to deploy Suqid as a reverse-proxy in front of a CMS 2) We want to trying find a balance between keeping the content fresh without affecting performance by frequently expiring

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
Are you sure that you need to do this? Squid should be able to tell the difference between static and dynamic content. We have a dynamic JSR-168/268 portal based on Tomcat and Jetspeed sitting behind Apache and Squid and we have never had to intervene with Squid for 3 years. We also have lo

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
It is all dynamic content going forward scenarios where a cache flush would be required 1) an article is updated 2) category is updated with a list of articles. we syndicate content to abut 150 partner and will have same article/category with a different URL doesn't squid cache based on the ur

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
If you google "squid dynamic content" you will find that by default squid does not cache dynamic content. If it did, it would be useless as a proxy server since that would make almost all dynamic sites unusable. There are lots of instructions about how to trick squid into caching content that

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Jawahar Balakrishnan (JB)
If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate the url and fetch the appropriate content from the CMS (alfresco) On Thu, Apr 21, 2011 at 1:30 PM, Ron

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
On 21/04/2011 1:46 PM, Jawahar Balakrishnan (JB) wrote: If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate the url and fetch the appropriate content from

Re: [squid-users] Re: Squid Cache flush

2011-04-21 Thread Ron Wheeler
On 21/04/2011 5:29 PM, Ron Wheeler wrote: On 21/04/2011 1:46 PM, Jawahar Balakrishnan (JB) wrote: If you are thinking that is is dynamic content with query strings then it's not the case. the urls will look like a directory structured static content but the back-end app server will translate the

Re: [squid-users] Re: Squid Cache flush

2011-04-25 Thread Jawahar Balakrishnan (JB)
The problem is not refreshing content from the CMS. Our deployment will be Squid reverse proxying an app server that in turn talks to the CMS for the content and adds the look and feel to the content. So squid will be caching the final url. the challenge is to figure out how to get squid to be awar

Re: [squid-users] Re: Squid Cache flush

2011-04-25 Thread Ron Wheeler
Have you tested to see if any of these concerns are in fact something that can happen. It is my understanding that Squid will ask the app server if the content is new or not and if the app server says that the text is new and the photo is old, then squid will ask for a new copy of the test and

[squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
I thought I had it, I found something in Chp5 of the Squid Definitive book talking about initializing cache directories. I ran the squid -z command and got back the following details after is took: aclParseAccessLine: squid.conf line 846: http_access permit all aclParseAccessLine: expecting 'allo

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread Sebastian Muniz
On 2/15/2012 3:07 PM, berry guru wrote: I thought I had it, I found something in Chp5 of the Squid Definitive book talking about initializing cache directories. I ran the squid -z command and got back the following details after is took: aclParseAccessLine: squid.conf line 846: http_access perm

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
I was afraid you were going to say that Sebastian, but at the same time it makes sense. I'm going to restore my squid.conf from a backup and see where I stand. Thanks for the direction. Cheers, On Wed, Feb 15, 2012 at 10:58 AM, Sebastian Muniz wrote: > On 2/15/2012 3:07 PM, berry guru wrote: >

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
I reverted back to the default squid configuration and I'm still getting the same error. I restarted Squid, but still no go. Supposedly the squid -z should of done it for me. Any thoughts? On Wed, Feb 15, 2012 at 11:25 AM, berry guru wrote: > I was afraid you were going to say that Sebastian,

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread Amos Jeffries
On 16.02.2012 11:05, berry guru wrote: I reverted back to the default squid configuration and I'm still getting the same error. I restarted Squid, but still no go. Supposedly the squid -z should of done it for me. Any thoughts? Run "squid -k parse". That will show you any other issues in t

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
My mistake, I should have specified that I'm ran it with squid3. The "squid -k parse" gave me some good info WARNING: Cannot write log file: /var/log/squid3/cache.log /var/log/squid3/cache.log: Permission denied messages will be sent to 'stderr'. So it looks like I need to change permissions to

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
If I were to run chmod ugo+rwx *file* where file would be cache.log am I going to break something. Is this the appropriate approach? On Wed, Feb 15, 2012 at 2:23 PM, berry guru wrote: > My mistake, I should have specified that I'm ran it with squid3. > > The "squid -k parse" gave me some good i

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread Amos Jeffries
On 16.02.2012 11:31, berry guru wrote: If I were to run chmod ugo+rwx *file* where file would be cache.log am I going to break something. Is this the appropriate approach? It is incomplete. When the log gets rotated things die again. The Squid details are in a folder called .../squid3/ so th

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread berry guru
Do logs get rotated because they reach a certain size or threshold? I found something that is kind of confusing me, the owner of cache.log is the user 'proxy' which I never created, so this must be a default user from squid. I ran ls -l /var/log/squid3/cache.log and found that -rw-r- 1 proxy

Re: [squid-users] Re: Squid Cache Directory - Webmin

2012-02-15 Thread Amos Jeffries
On 16.02.2012 12:54, berry guru wrote: Do logs get rotated because they reach a certain size or threshold? No. Just when "squid -k rotate" is run. Most distros integrate their packages with the OS logrotate system. I found something that is kind of confusing me, the owner of cache.log is the

[squid-users] Re: squid cache prob: won't cache a 'pdf'

2011-04-07 Thread Linda Walsh
Amos Jeffries wrote: Marked explicitly as "private" - aka cannot be cached by any middleware proxy (such as Squid) which may send it to other users. May be cached by a personal cache such as the browser storage. --- But I don't have to log in. More importantly, wouldn't setting the 'i

[squid-users] Re: squid cache prob: won't cache a 'pdf'

2011-04-07 Thread Linda Walsh
Eliezer Croitoru wrote: On 07/04/2011 11:52, Linda Walsh wrote: Amos Jeffries wrote: Marked explicitly as "private" - aka cannot be cached by any middleware proxy (such as Squid) which may send it to other users. May be cached by a personal cache such as the browser storage. --- But I d

[squid-users] Re: squid cache prob: won't cache a 'pdf'

2011-04-07 Thread Linda Walsh
Eliezer Croitoru wrote: well i managed to make it being cached using specific rule. and your rule should do the trick but look at the difference between our rules: refresh_pattern -i ^http://www\.lsi\.com/.*AssetMgr\.aspx\?asset.* 4320 70% 10080 leave the address

Re: [squid-users] Re: squid cache prob: won't cache a 'pdf'

2011-04-07 Thread Eliezer Croitoru
On 07/04/2011 11:52, Linda Walsh wrote: Amos Jeffries wrote: Marked explicitly as "private" - aka cannot be cached by any middleware proxy (such as Squid) which may send it to other users. May be cached by a personal cache such as the browser storage. --- But I don't have to log in. Mor

Re: [squid-users] Re: squid cache prob: won't cache a 'pdf'

2011-04-07 Thread Eliezer Croitoru
On 07/04/2011 16:16, Linda Walsh wrote: Eliezer Croitoru wrote: On 07/04/2011 11:52, Linda Walsh wrote: Amos Jeffries wrote: Marked explicitly as "private" - aka cannot be cached by any middleware proxy (such as Squid) which may send it to other users. May be cached by a personal cache suc

[squid-users] Re: squid cache manager question and snmp with smp question

2013-11-12 Thread Dr.x
> Because your cache is busy and using all the memory you gave it for > caching objects (cache_mem). This is normal for memory cache, there is > no reason to hold it lower than 100% since there is no delay in deleting > things when they need to be.. ===>well , no worry :)

[squid-users] RE: Squid Cache NEVER HIT's Only get TCP_MISS/200 and TCP_MISS/304

2014-03-07 Thread Robin Gwynne
My copy and paste was not correct in the original post. I have corrected my conf file below. Robin -Original Message- From: Robin Gwynne [mailto:robin.gwy...@wrbm.com] Sent: 07 March 2014 10:46 To: squid-users@squid-cache.org Subject: [squid-users] Squid Cache NEVER HIT's Only get TCP_

Re: [squid-users] RE: Squid Cache NEVER HIT's Only get TCP_MISS/200 and TCP_MISS/304

2014-03-07 Thread Amos Jeffries
On 7/03/2014 11:53 p.m., Robin Gwynne wrote: > My copy and paste was not correct in the original post. I have corrected my > conf file below. > > Robin > > -Original Message- > From: Robin Gwynne [mailto:robin.gwy...@wrbm.com] > Sent: 07 March 2014 10:46 > To: squid-users@squid-cache.o