[squid-users] Re: Question on Squid internals

2009-12-23 Thread RW
On Wed, 23 Dec 2009 12:47:13 -0800 Manjusha Maddala wrote: > $ curl -H "User-Agent: some useragent" -H > "Accept-Encoding: gzip,deflate" "http://some-url"; > > Squid access.log - > > xxx.xxx.xxx.xxx - - [23/Dec/2009:11:03:31 -0800] "GET http://some-url > HTTP/1.1" 200 19114 "-" "-" "-" "gzip,de

[squid-users] Re: How much disk space is reclaimed by the cache replacement algorithms?

2009-12-23 Thread RW
On Wed, 23 Dec 2009 17:58:41 +0100 Matus UHLAR - fantomas wrote: > > 1. How often is the replacement done? > > when the percentage of configured cache_dir size crosses the > cache_swap_high value. I haven't looked at the code for a long-time and I only looked at 2.x, but cache_swap_high didn'

[squid-users] Re: refresh_pattern question

2009-12-23 Thread RW
On Wed, 23 Dec 2009 15:10:34 -0800 Manjusha Maddala wrote: > Hi, > > >From squid.conf, > refresh_pattern . 21600 100%21600 override-expire > > That is, a cached page is fresh if its age in cache < 15 days > (21600=15*24*60). not quite, an object without an explicit expiry time, but th

[squid-users] Re: refresh_pattern question

2009-12-23 Thread RW
On Wed, 23 Dec 2009 16:34:37 -0800 Manjusha Maddala wrote: > >From "Squid - the definitive guide", a simplified description of the > refresh_pattern algorithm is: > > - The response is stale if the response age is greater than the > refresh_pattern max value. > - The response is fresh if the LM-

[squid-users] Re: How much disk space is reclaimed by the cache replacement algorithms?

2009-12-23 Thread RW
On Wed, 23 Dec 2009 13:44:54 -0900 Chris Robertson wrote: > RW wrote: > > On Wed, 23 Dec 2009 17:58:41 +0100 > > Matus UHLAR - fantomas wrote: > > > > > > > >>> 1. How often is the replacement done? > >>> > >

[squid-users] Re: Purging cached web objects

2008-08-25 Thread RW
On Sun, 24 Aug 2008 08:59:07 +1200 Amos Jeffries <[EMAIL PROTECTED]> wrote: > Paras Fadte wrote: > > Hi, > > > > Is there any utility for purging cached web objects in squid with > > wildcard support ? > > Not that we know of. You presumable know about squidpurge. Has it broken or something? h

[squid-users] Re: Moving cache to another server

2008-08-26 Thread RW
On Wed, 27 Aug 2008 11:37:05 +0800 "howard chen" <[EMAIL PROTECTED]> wrote: > Hi > > On 8/26/08, Adrian Chadd <[EMAIL PROTECTED]> wrote: > > You can just use rsync to copy the storedirs and the swaplogs. > > You just need to shut the original Squid down first. :) > > What is the swaplogs? > >

[squid-users] Re: Cahce problem- should i remove the squid directory ro remove the cache ?

2008-09-09 Thread RW
On Sun, 7 Sep 2008 15:12:27 -0400 (EDT) [EMAIL PROTECTED] wrote: > Should I delete the squid directory to remove the present cache to > remove the cache stored in the /var partition. or will it hamper my > proxy server ? > The two best options are either shrink the cache or move it. To shrink

[squid-users] Re: Adding Another HardDisk and the read_only option

2008-10-04 Thread RW
On Thu, 2 Oct 2008 12:09:09 +0300 "Mr. Issa\(*\)" <[EMAIL PROTECTED]> wrote: > Hello mates, > > Well i have added to separate hard disks (200GB hd and 500GB hd) and > added them in the cache_dir but i noticed that squid Uses the hardisk > with MORE disk space and leaves the second one epmty... w

[squid-users] Re: IMAP support

2008-11-25 Thread RW
On Wed, 12 Nov 2008 14:28:51 -0200 Leonardo Rodrigues Magalh__es <[EMAIL PROTECTED]> wrote: > > > julian julian escreveu: > > Because all my traffic to internet is managed by squid. Do you have > > any suggestion? > > no, it's not. Only http/https/ftp/gopher can be handled by squid. > >

[squid-users] Re: IMAP support

2008-11-29 Thread RW
On Wed, 26 Nov 2008 12:25:52 -0900 Chris Robertson <[EMAIL PROTECTED]> wrote: > Perhaps it's because Squid is a HTTP caching server, as spelled out > quite clearly in the FAQ > (http://wiki.squid-cache.org/SquidFaq/AboutSquid), not a generic > bandwidth shaper. Squid may be your only route to

[squid-users] Re: Problems enabling cache_replacement_policy

2009-03-02 Thread RW
On Mon, 2 Mar 2009 17:12:50 +0100 Manuel Trujillo wrote: > cache_replacement_policy heap GDSF Did you place this line above the cache_dir line?

[squid-users] Re: is there a squid "cache rank" value available for statistics?

2009-04-20 Thread RW
On Sun, 19 Apr 2009 19:03:36 +0100 Gavin McCullagh wrote: > With a heap, things are more complex. I guess you could give an > indication of the depth in the heap but there would be so many > objects on the lowest levels, I don't suppose this would be a great > guide. Is there some better value

[squid-users] Re: is there a squid "cache rank" value available for statistics?

2009-04-20 Thread RW
On Mon, 20 Apr 2009 14:35:49 +0100 RW wrote: > On Sun, 19 Apr 2009 19:03:36 +0100 > Gavin McCullagh wrote: > > > > With a heap, things are more complex. I guess you could give an > > indication of the depth in the heap but there would be so many > > objects

[squid-users] Re: How can I get Squid to use more memory?

2011-11-16 Thread RW
On Mon, 31 Oct 2011 11:38:03 +1300 Amos Jeffries wrote: > cache_mem determines the size of in-RAM object cache. As your config > says, "Feel free to use as much as needed". Limited only that the > box must not start swapping under peak load. That will kill > performance at the worst possible t

[squid-users] Re: How can I get Squid to use more memory?

2011-11-16 Thread RW
On Thu, 17 Nov 2011 12:44:32 +1300 Amos Jeffries wrote: > On Wed, 16 Nov 2011 22:31:21 +0000, RW wrote: > > Years ago I read something about how memory cache performance > > degraded > > progressively with increasing object size, and that increasing > > ma

[squid-users] Re: How can I get Squid to use more memory?

2011-11-17 Thread RW
On Thu, 17 Nov 2011 17:51:33 +1300 Amos Jeffries wrote: > On 17/11/2011 1:42 p.m., RW wrote: > > On Thu, 17 Nov 2011 12:44:32 +1300 > > Amos Jeffries wrote: > >>> performance. Has this been fixed in both 3.x and 2.x? > You were referring I think to the old proble

[squid-users] Re: How can I get Squid to use more memory?

2011-11-18 Thread RW
On Mon, 31 Oct 2011 11:38:03 +1300 Amos Jeffries wrote: > * your squid might be an older one which does not promote disk > objects back into memory when they get hot/popular again. In those > release once an object gets less popular it gets sent to the disk > cache, Are you saying that new obj

[squid-users] Re: How can I get Squid to use more memory?

2011-11-18 Thread RW
On Sat, 19 Nov 2011 13:17:48 +1300 Amos Jeffries wrote: > On 19/11/2011 12:41 p.m., RW wrote: > > On Mon, 31 Oct 2011 11:38:03 +1300 > > Amos Jeffries wrote: e, > > Are you saying that new objects are not written to disk until they > > expire from the memory c

[squid-users] Re: Commercial Squid tweak speeds things up significantly!

2011-11-28 Thread RW
On Tue, 29 Nov 2011 00:59:29 +1300 Amos Jeffries wrote: > They are using a standard cache_peer parent relationship to fetch > MISS traffic through a second filtering proxy of their own design. > There is no bypass of Squid happening. But I wonder what accounts for the OPs statement: On Fri, 25

[squid-users] Re: Commercial Squid tweak speeds things up significantly!

2011-11-29 Thread RW
On Tue, 29 Nov 2011 10:52:58 +0100 Marcello Romani wrote: > I'm no expert (just a few squid deployments) but that doesn't make > any sense to me. > > "caches the content in a normal way", i.e. on a cache miss it fetches > the object from the net and stores it for other clients, while on a > cac

[squid-users] Re: Squid 3.1.x and right configuration parameters for tmpfs 8GB

2011-12-02 Thread RW
On Fri, 02 Dec 2011 15:15:59 +1300 Amos Jeffries wrote: > On 2/12/2011 5:13 a.m., Matus UHLAR - fantomas wrote: > > On 01.12.11 15:05, Josef Karliak wrote: > >> I wanna use tmpfs for squid cache, is 8GB enough or too big ? > >> We've about 3000 computers behind squid, for OS is 16GB > >> sufficie

[squid-users] Slow TCP_HITs

2011-12-03 Thread RW
I'm using squid-3.1.16 on FreeBSD 8.2/amd64 running on localhost. I've noticed that some TCP_HITs are loading very slowly. I've tested this in Opera, Firefox, wget and fetch. Normal TCP_HITs are too fast for wget to meter, but the slows ones are 2kB/s to 30kB/s, mostly around 5kB/s. It's a bit aw

[squid-users] Re: Squid URL rewritter

2011-12-03 Thread RW
On Sat, 03 Dec 2011 19:26:21 +0530 Benjamin wrote: > Can we use bash shell script for creating squid URL rewritter > script?As from squid wiki, i got some examples but those are in Perl > and php.So i wonder that can we use bash shell scripting to create > squid URL rewritters? Probably, but why

[squid-users] ordering in rebuilt swap.state

2012-01-25 Thread RW
I noticed today that according to "squidclient mgr:storedir" my retention had dropped from 200+ days to 5 days, but all the content still seemed to be there. I tried rebuilding swap.state from the cache files, but it made no difference. I'm guessing that the rebuild had already been done automat

[squid-users] Re: ordering in rebuilt swap.state

2012-01-25 Thread RW
On Thu, 26 Jan 2012 12:19:30 +1300 Amos Jeffries wrote: > On 26.01.2012 12:02, RW wrote: > > I noticed today that according to "squidclient mgr:storedir" my > > retention had dropped from 200+ days to 5 days, but all the content > > still seemed to be there. I tried

[squid-users] Re: ordering in rebuilt swap.state

2012-01-26 Thread RW
On Thu, 26 Jan 2012 18:47:10 +1300 Amos Jeffries wrote: > > I assumed that part of the point of having a journal was that > > reading it in sequentially would lru order the queue when squid > > starts up. > > You are right. I checked the code and it uses the policy list to dump > the clean jour

[squid-users] Re: i was wondering about refresh_pattern changes.

2012-05-03 Thread RW
On Thu, 03 May 2012 17:14:20 +0300 Eliezer Croitoru wrote: > is there any effect on "in cache"(already cached) objects by new > refresh patterns or, > the refresh patters affect the object while it was been cached? > > and is there a way to change a cached object min max times or to > extend manu

[squid-users] Re: Expire time cache

2012-05-14 Thread RW
On Mon, 14 May 2012 10:09:43 -0300 lucas coudures wrote: > Hello, > I installed squid 3.1 in a debian squeeze 2.6.32-5-686, I need to know > if exist a way to set the time to expire cache, or if squid alredy do > this. Squid maintains it's caches, whether memory or disk, within the sizes you spec

[squid-users] Re: Low memory usage

2012-07-20 Thread RW
On Fri, 20 Jul 2012 11:00:43 -0300 Marcus Kool wrote: > And if you want Squid to respond fast to cache cleanups, change > >> cache_swap_low 85 > >> cache_swap_high 95 > into > cache_swap_low 94 > cache_swap_high 95 I'm not convinced that makes much difference. I think cache_swap_high fell-off a

[squid-users] Re: I need a help!

2012-07-31 Thread RW
On Fri, 27 Jul 2012 18:16:14 +0300 Mihamina Rakotomandimby wrote: > On 07/27/2012 01:06 PM, Helmut Hullen wrote: > > Long time ago "squid" had an option "offline_mode" which could be > > set to "on" or "off". It still does, at least it's in the documented conf file for 3.1. > I remember a joke a

[squid-users] Re: Squid did not use the next set cache

2012-12-29 Thread RW
On Thu, 27 Dec 2012 10:54:09 +0100 David Touzeau wrote: > Dear, > > I have set 2 caches on my squid 3.2.5 > > #- Multiple cpus -- (disabled) > workers 1 > cache_dir aufs /var/squid/cache1 1105 16 256 max-size=716800 > cache_dirufs /var/cache/squid 2000 16 256 > > in caches infos we

[squid-users] Re: squid fills up all the ram . cause its pid to be killed.

2013-01-09 Thread RW
On Thu, 10 Jan 2013 00:01:19 +0330 ali Eblice wrote: > HI > recently i got problem with squid that it fill all the ram (256 mg) > and swap area (382 mg) that cause server to kill all its pid and i > have to start squids service my self. > my server isn't that much busy most of the time i have only

[squid-users] Re: Squid 3.2.6 & hot object cache

2013-01-23 Thread RW
On Sun, 20 Jan 2013 12:42:37 +0100 Loïc BLOT wrote: > under OpenBSD i have switched from FFS2 disk cache to mfs disk cache > and performances were massively improved. On the face of it that sounds like a bad idea. Not only does mfs have additional overheads over memory cache, but it will also wa

[squid-users] Re: Squid 3.2.6 & hot object cache

2013-01-24 Thread RW
On Thu, 24 Jan 2013 07:51:08 +0100 Loïc BLOT wrote: > Yes, but i'm not satisfied of performances. FFS is too slow for high > used squid and the performance gain is visible. > It's right i use redundant cache under memory, but it's only a 4Gbit > cache (then 8Gbit). AFAIK they're exclusive caches.

[squid-users] Re: Heap Policy

2013-05-22 Thread RW
On Mon, 13 May 2013 12:47:31 +0500 Farooq Bhatti wrote: > Hi Amos, > > I got it; the problem is bug in squid. As it is required to define > the policy before cache_dir in squid.conf. IMO it's a feature rather than a bug. If you take a look at the output of squidclient mgr:storedir you posted,

[squid-users] Re: Problems checking if an object is in cache or not

2013-12-04 Thread RW
On Wed, 4 Dec 2013 11:02:40 + Donoso Gabilondo, Daniel wrote: > I need check if an object is in squid cache or not. I use squid > 3.2.0.12 on Fedora 16. > > I saw that squidclient should do this but it said that objects are > "MISS" and I don't know why because they are cached. (I checked it

[squid-users] Re: Problems checking if an object is in cache or not

2013-12-04 Thread RW
On Wed, 4 Dec 2013 15:45:42 + Donoso Gabilondo, Daniel wrote: > I saw in internet that I should use squidclient with -t option to > check if an object is cached. Why need I enable TRACE on server to > check if a object is cached in the client (Squid)? I think it would be -t 0 to get the tr

[squid-users] Re: warning "This cache hit is still fresh and more than 1 day old"

2014-01-12 Thread RW
On Sat, 11 Jan 2014 20:28:59 +0200 Hussam Al-Tayeb wrote: > sometimes wget something that is already cached gets a warning "This > cache hit is still fresh and more than 1 day old". > What causes this? It seems fairly self-explanatory: the object is fresh (i.e. can be served from cache without c

[squid-users] [min,max]-size and units

2007-10-23 Thread RW
I'm using 2.6.STABLE14. I noticed that if you set a cache_dir entry with a size restriction that uses units (e.g. min-size=30kb ), it's accepted as valid syntax, but the units are ignored.

[squid-users] Re: TCP_REFRESH_HIT unwanted

2007-10-26 Thread RW
On Fri, 26 Oct 2007 14:26:12 +0200 "Michael Jurisch" <[EMAIL PROTECTED]> wrote: > Hi there, > > I found some small hints that hopefully will lead to solve my problem > (http://www.squid-cache.org/mail-archive/squid-users/200710/0260.html). > > To make it short: in the squid access.log I mostly s

[squid-users] Re: Help on Refresh Pattern options

2007-10-30 Thread RW
On Wed, 31 Oct 2007 12:31:39 +1300 (NZDT) "Amos Jeffries" <[EMAIL PROTECTED]> wrote: > > Hi there: > > I'm having some problems understanding how the refresh_pattern > > options works. > > The Squid guide says: > > > > > > FRESHif expires < now, else STALE > > STALE if age > max > > FRESH

[squid-users] Re: Help on Refresh Pattern options

2007-11-03 Thread RW
On Fri, 2 Nov 2007 10:30:42 -0300 Nicrow <[EMAIL PROTECTED]> wrote: > So, if an object as an LM of, lets say, 3 days ago and it's "new" on > my cache... How does a %50 percent option work? > Will it be "fresh" for one and a half day? > Yes

[squid-users] Re: Purging time

2007-11-17 Thread RW
On Sat, 17 Nov 2007 12:06:18 +1300 Amos Jeffries <[EMAIL PROTECTED]> wrote: > Michael Jurisch wrote: > > Hi Squiders, :) > > > > just a short question: Are there any statements about how long it > > lasts to purge a file, I mean that it is guaranted that the file > > has removed from the cache? I

[squid-users] Re: Why squid -z

2008-02-28 Thread RW
On Tue, 26 Feb 2008 12:25:06 +0200 Angela Williams <[EMAIL PROTECTED]> wrote: > On Tuesday 26 February 2008, Ric wrote: > > I'm wondering why we require "squid -z" before starting up Squid for > > the first time. Is there some reason why Squid shouldn't do this > > automatically when necessary? >

[squid-users] Re: Why squid -z

2008-03-01 Thread RW
On Sat, 01 Mar 2008 23:14:30 +1300 Amos Jeffries <[EMAIL PROTECTED]> wrote: > RW wrote: > > On Tue, 26 Feb 2008 12:25:06 +0200 > > Angela Williams <[EMAIL PROTECTED]> wrote: > > Root filesystem is limited in space and then this dirty great > >> big di

[squid-users] Fluctuating LRU reference age

2008-03-06 Thread RW
Is there a known reason why the LRU reference age for an LRU cache directory sometimes jumps up and down between two levels that differ by several days? For example my cache recently filled-up to the low-water mark it immediately jumped from 180 to 185 days, and since then it's been switching up a

[squid-users] Re: Fluctuating LRU reference age

2008-03-06 Thread RW
On Fri, 7 Mar 2008 12:32:35 +1300 (NZDT) "Amos Jeffries" <[EMAIL PROTECTED]> wrote: > > Is there a known reason why the LRU reference age for an LRU cache > > directory sometimes jumps up and down between two levels that > > differ by several days? ... > Hmm, reading that I get a feeling of the m

[squid-users] Re: Logging/Blocking URLs with question marks ?

2008-03-18 Thread RW
On Mon, 17 Mar 2008 11:31:39 + "Robin Clayton" <[EMAIL PROTECTED]> wrote: > Dear all > > 2.5-Stable-5 > > I have used squid for probably 8 years. > > It has recently come to my attention that sites with dynamic content > as denoted by a ? "question mark" are not being logged or blocked. >

[squid-users] Not seeing internal icons

2008-03-18 Thread RW
I don't have any of the internal icons showing in browsers. With wget -S, I'm seeing a 404 and X-Squid-Error: ERR_INVALID_REQ 0 on the icon urls. This is just a local cache on my FreeBSD 7.0 desktop, short_icon_urls doesn't seem to make any difference, and global_internal_static is set to its

[squid-users] Re: Not seeing internal icons

2008-03-19 Thread RW
On Thu, 20 Mar 2008 00:34:36 +1300 Amos Jeffries <[EMAIL PROTECTED]> wrote: > RW wrote: > > I don't have any of the internal icons showing in browsers. With > > wget -S, I'm seeing a 404 and X-Squid-Error: ERR_INVALID_REQ 0 on > > the icon urls.

[squid-users] Re: Not seeing internal icons

2008-03-20 Thread RW
On Thu, 20 Mar 2008 06:01:57 +0100 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On Tue, 2008-03-18 at 13:43 +, RW wrote: > > I don't have any of the internal icons showing in browsers. With > > wget -S, I'm seeing a 404 and X-Squid-Error: ERR_INVALID_REQ 0 o

[squid-users] Re: Not seeing internal icons

2008-03-20 Thread RW
On Thu, 20 Mar 2008 22:39:55 +0100 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On Thu, 2008-03-20 at 13:09 +, RW wrote: > > I posted my squid.conf file in a previous reply, if it's any help. > > I don't save old messages. http://permalink.gmane.org/gma

[squid-users] Squid on a Desktop

2007-01-31 Thread RW
Is there any advantage in running Squid on a single user desktop PC? In other words can Squid cache more effectively than a browser?

[squid-users] Re: Odd port behavior from squid

2007-05-04 Thread RW
Pat Riehecky wrote: > I just put iptables on our squid box and noticed some very strange > activity (IPs have been changed to protect the innocent): > > [44165032.82] Dropped default (OUTPUT): IN= OUT=eth0 > SRC=MY.PROXY.IP.ADDRESS DST=SOME.RANDOM.IP.ADDR LEN=40 TOS=0x00 > PREC=0x00 TTL=64 ID

[squid-users] Re: Odd port behavior from squid

2007-05-04 Thread RW
Kinkie wrote: > On 5/4/07, Pat Riehecky <[EMAIL PROTECTED]> wrote: >> I just put iptables on our squid box and noticed some very strange >> activity (IPs have been changed to protect the innocent): >> >> [44165032.82] Dropped default (OUTPUT): IN= OUT=eth0 >> SRC=MY.PROXY.IP.ADDRESS DST=SOME.R

[squid-users] Re: Odd port behavior from squid

2007-05-04 Thread RW
Kinkie wrote: >> That supposes that the connection are with legitimate clients, but since >> the OP referred to "SOME.RANDOM.IP.ADDR", and "connections ... to the >> outside world", I suspect it was an open proxy. > > Maybe.. It depends on how random they are... > Still the "destination port is r

[squid-users] Squid Seems to be Rate-Limiting TCP_HIT Downloads

2007-06-08 Thread RW
I'm using Squid 2.6.13 locally on a FreeBSD 6.2 Desktop PC with a ufs store, and I am seeing slow download speeds on TCP_HIT downloads, which should be instantaneous on localhost. With cache misses I get normal fluctuating speeds, but with hits I get a steady 20KB/s per connection, which suggests

[squid-users] Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

2007-06-08 Thread RW
Adrian Chadd wrote: > On Fri, Jun 08, 2007, RW wrote: >> I'm using Squid 2.6.13 locally on a FreeBSD 6.2 Desktop PC with a ufs >> store, and I am seeing slow download speeds on TCP_HIT downloads, which >> should be instantaneous on localhost. With cache misses I get no

[squid-users] Re: Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

2007-06-08 Thread RW
Adrian Chadd wrote: > On Fri, Jun 08, 2007, RW wrote: >> This either a bug or a feature, I can't see 20KB/s being a disk access >> bottleneck. > > Then post the config sans-comments. Ie: > > $ cat squid.conf | grep -v ^# | grep -v ^$ > > Then we can s

[squid-users] Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

2007-06-09 Thread RW
Adrian Chadd wrote: > Just humour me and try aufs using libthr :P I rebuilt and reconfigured squid for aufs, and then deleted and reinitialized the cache. As I expected, it made no difference. It's very consistent too - I downloaded a 4MB file several times with fetch, and several times with wget

[squid-users] Re: Squid Seems to be Rate-Limiting TCP_HIT Downloads

2007-06-09 Thread RW
Henrik Nordstrom wrote: > 20KB/s cache hit speed? Very odd indeed. > > Is there any change if you have a network download at the same time? No, it's just the same. > What kind of comm loop are you using, and cache_dir? I was using ufs, which was changed aufs on Adrian's suggestion, and made no

[squid-users] Re: Squid Rate-Limiting TCP_HIT Downloads

2007-06-21 Thread RW
Rayudu Madhava wrote: >I have compiled Squid 2.6.13 on Fedora core 5 > with delay pools enabled. > > >Squid 2.5.14 never rate limited the local TCP_HIT > traffic at delay pools rate. Local TCP_HIT traffic > worked at LAN speed. > >But Squid 2.6.13 is rate limiting the TCP_HIT > tra

[squid-users] Re: Using the squidclient to put a file into squid cache

2007-07-09 Thread RW
ying lcs wrote: > Hi, > > I am trying to use the squidclient to put a file into squid cache. > > Like this: > ./squidclient -P test.html http://www.test.com That command is for uploading a file to a remote server through squid. I'm guessing that what you trying to do is create a fake cache ent

[squid-users] Re: squid and multiple redirectors

2007-07-09 Thread RW
Jeff Pang wrote: > 2007/7/8, Dave <[EMAIL PROTECTED]>: >> Hello, >> I'm running squid 2.6 and need to run several redirectors, one for >> banner filtering, another for av, and a possible third for chat blocking >> if there is one? I read about a shell script: >> >> #!/bin/sh >> >> /path/to/red

[squid-users] Re: Re: Using the squidclient to put a file into squid cache

2007-07-09 Thread RW
ying lcs wrote: > On 7/9/07, RW <[EMAIL PROTECTED]> wrote: >> ying lcs wrote: >> >> > Hi, >> > >> > I am trying to use the squidclient to put a file into squid cache. >> > >> > Like this: >> > ./squidclient -P test.html

[squid-users] Re: Problem for downloading packets using yum through the Squid's authentication.

2007-07-09 Thread RW
Elvin Hernàndez wrote: > Hi everyone. > > As you know, every machine with Fedora Core 6 can use the command 'yum' > either to update the system or install packets on line. We tried to > install the packets related with Xen via yum and we had not success to do > it. The company's machines go out t

[squid-users] Re: Possible? Cache images with different parameters after question-mark?

2007-07-10 Thread RW
Hermann-Marcus Behrens wrote: > Isnard Jaquet schrieb: >> Try >> >> acl MYDOMAIN urlregex trk.citybeat.de/pixel.gif (match to your specific >> need) >> acl QUERY urlpath_regex cgi-bin \? >> cache deny QUERY !MYDOMAIN >> >> See if it helps... >> > Thanks for the tip, but it does not help. I alwa

[squid-users] Re: Squid consumin swap

2007-07-13 Thread RW
Henrik Nordstrom wrote: > fre 2007-07-13 klockan 10:54 -0400 skrev Osmany: >> It's been a long time since I first had this problem. I have modified, >> changed, erased, added configurations but I still don't see what's the >> problem. My squid consumes swap until it takes it all and the service >>

[squid-users] Deleting UFS cache files directly

2007-07-22 Thread RW
With UFS, is it possible to manually delete cache files without causing problems? If so, is there any action that should be taken to have squid pick-up the changes? What I was thinking of doing is periodically running something like: find /usr/local/squid/cache/?? -type f -atime +2d -size +2M

[squid-users] Re: Deleting UFS cache files directly

2007-07-22 Thread RW
On Mon, 23 Jul 2007 00:12:11 +0200 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > Why do you want to do this? Squid maintains the cache > automatically.. I find that larger files are only worth caching for a short time because if there's a chance I might want them again I'll save them (out of t

[squid-users] Re: squid & ftp

2007-07-24 Thread RW
On Tue, 24 Jul 2007 15:22:22 +0200 Angela Williams <[EMAIL PROTECTED]> wrote: > Hi! > On Tuesday 24 July 2007 11:58, Nadeem Semaan wrote: > > While trying to open ftp sites with IE, i usally get an error, when > > opening the same site with firefox, i get prompted for credentials. > > Is there any

[squid-users] Re: Setting a cron job at system startup

2007-08-02 Thread RW
On Thu, 2 Aug 2007 21:07:35 +0530 "Santosh Rani" <[EMAIL PROTECTED]> wrote: > I have setup cron under Cygwin to update my malware list on the Squid > that is running on Windows. > I want to setup a cron job which rotates the Squid log files when the > system is started up in the morning for the

[squid-users] cache_dir and max-size

2007-08-10 Thread RW
If I split my cache like this: cache_dir aufs /usr/local/squid/small_obj 1700 16 256 max-size=80 cache_dir aufs /usr/local/squid/big_obj200 16 256 Presumably nothing bigger than max-size will end-up in the first cache, but how often will the smaller objects end-up in the second cache? As

[squid-users] Re: cache replacement

2007-08-10 Thread RW
On Fri, 10 Aug 2007 12:30:44 +0500 "Shabbir Ahmed" <[EMAIL PROTECTED]> wrote: > > i would like to know how squid replaces old items in cache by default. > > like there isa site called abc.com squid cached it today and next day > abc.com made some changes what is the criteria squid ll cache chan

[squid-users] Re: refresh patterns!

2007-08-14 Thread RW
On Tue, 14 Aug 2007 08:46:09 +0800 Adrian Chadd <[EMAIL PROTECTED]> wrote: > Would any other ISPs be willing to share their refresh patterns > and achieved request/byte hit rates for forward caching proxies? Are refresh patterns very relevant to hit-rates? When an object becomes stale, squid w

[squid-users] Re: refresh patterns!

2007-08-14 Thread RW
On Tue, 14 Aug 2007 20:30:28 +0200 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tis, 2007-08-14 at 18:07 +0100, RW wrote: > > > Are refresh patterns very relevant to hit-rates? > > Yes, refresh_pattern tune how long objects is considered fresh, and > als

[squid-users] Re: refresh patterns!

2007-08-15 Thread RW
On Wed, 15 Aug 2007 07:18:19 +0200 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > On tis, 2007-08-14 at 21:57 +0100, RW wrote: > > > I'm talking about overriding the default for query urls. > > Ah, those suggested defaults.. > > > I was wondering how sa

[squid-users] Re: How can I purge an object from my cache?

2007-08-15 Thread RW
On Wed, 15 Aug 2007 15:13:08 +0530 "Indunil Jayasooriya" <[EMAIL PROTECTED]> wrote: > some worked. Some DID NOT. > > Pls see below > > DID NOT WORK > [EMAIL PROTECTED] squid]# squidclient -m purge http://mail.google.com/ > HTTP/1.0 404 Not Found > Server: squid/2.5.STABLE14 > Mime-Version: 1.0

[squid-users] Re: cache_mem value

2007-08-16 Thread RW
On Thu, 16 Aug 2007 17:17:02 +0530 Sekar <[EMAIL PROTECTED]> wrote: > Hello All, > > What is the best value of cache_mem in terms of cache_dir ? > > For example : > > cache_dir 50 GB > > Best cache_mem value for 50GB of disk cache? > > Assuming i have 10GB of Physical memory. AFAIK memory ca

[squid-users] Re: poor performance

2007-09-03 Thread RW
On Fri, 31 Aug 2007 15:26:20 +0200 Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > > On 30-Aug-07 My Secret NSA Wiretap Overheard Lutieri G. Saying : > > > /dev/da0s1a on / (ufs, local) > > > devfs on /dev (devfs, local) > > > /dev/da0s1e on /tmp (ufs, local, soft-updates) > > > /dev/da0s1f

[squid-users] Re: refresh_pattern that matches query parameters?

2007-09-04 Thread RW
On Tue, 04 Sep 2007 12:08:44 +1200 Gert Verhoog <[EMAIL PROTECTED]> wrote: > Adrian Chadd wrote: > > On Tue, Sep 04, 2007, Gert Verhoog wrote: > > > >> I'm beginning to suspect that refresh_pattern ignores query > >> strings, but hopefully I'm wrong. Currently I'm not caching urls > >> with param

[squid-users] Re: Cache files of size .....

2007-09-10 Thread RW
On Mon, 10 Sep 2007 16:18:47 +0200 Matus UHLAR - fantomas <[EMAIL PROTECTED]> wrote: > On 10.09.07 18:32, Umesh Upreti wrote: > > It's obviously 200 thousand Kb that means 200MB approx. and as per > > you said I have left replacement policy default that is least > > recently used (LRU). > > this

Re: [squid-users] Re:Re: [squid-users] How to setup two ADSL line on a single linux box?

2007-09-12 Thread RW
On Wed, 12 Sep 2007 11:34:52 +0200 (MEST) [EMAIL PROTECTED] wrote: > as i described below: > > it's not possible (at the moment) to open 2 ADSL Ports on the same > telefony wire... so if you have 2 5 MB Lines you will have still 2 > 5MB Lines after implementing this solution more not) If the Line

Re: [squid-users] Re:Re: [squid-users] How to setup two ADSL line on a single linux box?

2007-09-12 Thread RW
On Wed, 12 Sep 2007 14:50:17 +0200 (MEST) [EMAIL PROTECTED] wrote: > Hm, but with my method described it won't work so... > > If you have 2 ADSL Lines (let's say 5 MBit each ) ) after load > balacing the bandwidth woud be the same. the only goal is failover > for the lines more not. Much ADSL Ca

[squid-users] Re: maximum size of cache_mem

2007-09-21 Thread RW
On Thu, 20 Sep 2007 19:01:16 -0700 (PDT) zulkarnain <[EMAIL PROTECTED]> wrote: > But squid unable to use 4GB of cache_mem. Did I > miss something? A couple of points: - Memory cache only caches the network, so objects that were in disk caches when the daemon started wont get cached. - It only c

[squid-users] Re: Non-permanent Internet Connection Question

2007-09-21 Thread RW
On Fri, 21 Sep 2007 07:36:05 -0600 Blake Grover <[EMAIL PROTECTED]> wrote: > We are working on a new project where we will distribute Linux > machines in different areas that will be connected to the Internet. > But these machines might not have a Internet connection always. We > would like these

[squid-users] Re: Caching downloaded files from dynamic pages

2007-09-25 Thread RW
On Tue, 25 Sep 2007 17:17:45 +1200 (NZST) "Amos Jeffries" <[EMAIL PROTECTED]> wrote: > > And even though my store.log displays, that it actually saved > > something (filesize matches, 1263443 bytes), I cannot find the file > > and all downloads > > from Fujitsu-Siemens are coming from their site,

[squid-users] Re: Caching downloaded files from dynamic pages

2007-09-25 Thread RW
On Tue, 25 Sep 2007 22:54:02 +0200 Henrik Nordstrom <[EMAIL PROTECTED]> wrote: > > Note: Squid-3 has a refresh_pattern override for overriding overriding > Cache-Control: private. ignore-private is in 2.6 too.

[squid-users] Re: Can Squid grab a list of files from a server and then Prefetch thost files?

2007-10-04 Thread RW
On Thu, 4 Oct 2007 12:17:25 -0700 (PDT) miles800 <[EMAIL PROTECTED]> wrote: > > Can Squid grab a list of files from a server and then prefetch those > specific files? I would like to be able to set up a proxy server > (that will run on both windows and Linux) that will grab mp3s and > flash file

[squid-users] Re: Can Squid grab a list of files from a server and then Prefetch thost files?

2007-10-04 Thread RW
On Thu, 04 Oct 2007 15:33:18 -0400 Jason Taylor <[EMAIL PROTECTED]> wrote: > miles800 wrote: > > Can Squid grab a list of files from a server and then prefetch > > those specific files? I would like to be able to set up a proxy > > server (that will run on both windows and Linux) that will grab >

[squid-users] Re: Squid + Outlook

2007-10-06 Thread RW
On Sat, 6 Oct 2007 10:16:13 +0530 "Arun Shrimali" <[EMAIL PROTECTED]> wrote: > When we (me and users) were having direct access to Internet our > Outlook were also working perfectly, but as soon as I have installed > fedora + squid + NCSA authentication, my users ( windows clients) are > facing pr

[squid-users] Re: Squid + Outlook

2007-10-08 Thread RW
On Mon, 8 Oct 2007 12:17:08 +0530 "Arun Shrimali" <[EMAIL PROTECTED]> wrote: > Dear Tek, > > Thanks for your intent to help. > I have updated squid to 2.6 > > Squid is loaded on the fedora 6 server which has two LAN cards (web & > Internal) and present sole purpose of this server is of Internet

[squid-users] Re: Why does squid 2.6 stable 16 running in accelerator mode NEVER caches html requests ?

2007-10-10 Thread RW
On Wed, 10 Oct 2007 09:26:42 -0700 (PDT) Raemaekers Mark <[EMAIL PROTECTED]> wrote: > Dear squid-cache.org, > > I have three RHEL4 servers : > > 1. configured with squid 2.6 Version 2.6.STABLE16 in > accelerator mode > 2. configured with (apache) httpd daemon > 3. this machine has curl install