Re: [squid-users] How does weighted-round-robin work?

2008-06-12 Thread Sylvain Viart
Hi, Henrik Nordstrom a écrit : On ons, 2008-06-11 at 19:27 +0800, Roy M. wrote So I hope the one with more CPU power (it can be config. my me manually) can be sharing more requests, what would be the best setup for this? round-robin weight=X assigns requests proportional to the weight

Re: [squid-users] How does weighted-round-robin work?

2008-06-12 Thread Sylvain Viart
Hi Henrik, Henrik Nordstrom a écrit : The difference between round-robin and weighted-round-robin is that weighted-round-robin also includes the network round-trip-time to the server. Ok, thanks. both are weighted, or at least supposed to be weighted.. but unfortunately a bit broken for

[squid-users] reverse proxy accelerator, cache persistence

2008-06-11 Thread Sylvain Viart
Hi, I would like my squid proxy to keep serving its cached copy of a document, when the origin server is unreachable. What directive should I look for? Regards, Sylvain.

Re: [squid-users] reverse proxy accelerator, cache persistence

2008-06-11 Thread Sylvain Viart
Hi Henrik, Henrik Nordstrom a écrit : On ons, 2008-06-11 at 11:50 +0200, Sylvain Viart wrote: I would like my squid proxy to keep serving its cached copy of a document, when the origin server is unreachable. It normally does this by default, provided the document is allowed

Re: [squid-users] adding a parameter to a URL

2008-06-11 Thread Sylvain Viart
Hi Shaine, Shaine a écrit : I have a big problem with adding a parameter to a URL which passes via squid . For that i am going to use url_rewrite program. I had a big time with squid url rewriting, but no success. Could you please tell me , to get in to my point what are the minimum

Re: [squid-users] carp doc bug : parse_peer: token='carp-load-factor=0.5' SQUID2.6 = 2.6.14

2007-11-07 Thread Sylvain Viart
Hi, Amos Jeffries a écrit : squid-2.6.16/src But the documentation seems to be bugged. The authoritative documentation provided appears to be correct. Looks like the docs you are using were written for squid 2.5 http://www.squid-cache.org/Versions/v2/2.6/cfgman/cache_peer.html

Re: [squid-users] squid accel peer load balancing weighted round robin?

2007-11-06 Thread Sylvain Viart
Hi, To sum up: * proxy squid 2.6.STABLE16 * accelerator, squid only speak to apache2 (originserver), no other proxy speaking together. * I want to weight loadblance the squid query to the parent (origin) * + I want to filter the url in 2 type static and php. static o

[squid-users] carp doc bug : parse_peer: token='carp-load-factor=0.5' SQUID2.6

2007-11-06 Thread Sylvain Viart
Hi, I'm trying to test the CARP load balancing. squid-2.6.16/src But the documentation seems to be bugged. Form the source : cache_cf.c #if USE_CARP } else if (!strcasecmp(token, carp)) { if (p-type != PEER_PARENT) fatalf(parse_peer: non-parent carp peer

Re: [squid-users] squid accel peer load balancing weighted round robin?

2007-10-30 Thread Sylvain Viart
Hi Chris, Chris Robertson a écrit : I've a squid Version 2.6.STABLE16 with the following config accel mode design: proxy php-01..php-08 php are apache server no slibing proxy. If things haven't changed, weight only works with ICP. Basically an ICP query is sent out, and the weight is

[squid-users] squid accel peer load balancing weighted round robbin?

2007-10-19 Thread Sylvain Viart
Hi, I've a squid Version 2.6.STABLE16 with the following config accel mode design: proxy php-01..php-08 php are apache server no slibing proxy. cache_peer php-01 parent 80 0 no-query originserver round-robin weight=1 login=PASS max-conn=100 #cache_peer php-02 parent 80 0 no-query

Re: [squid-users] squid accel peer auth basic, may be X-Forwarded-For prob

2007-10-19 Thread Sylvain Viart
Hi Amos, Amos Jeffries a écrit : This page is auth basic protected + ip based protected http://proxy-03.love.mydomain.com/_admin/style.css normally is should pass on the ip based auth basic auth scheme But it fails. it seems to be an X-Forwarded-For problem, Depends on how your

[squid-users] squid accel peer auth basic, may be X-Forwarded-For prob

2007-10-18 Thread Sylvain Viart
Hi, I've a squid Version 2.6.STABLE16 with the following config accel mode cache_peer php-01 parent 80 0 no-query originserver round-robin weight=1 login=PASS max-conn=100 #cache_peer php-02 parent 80 0 no-query originserver round-robin weight=0 login=PASS cache_peer php-03 parent 80 0

Re: [squid-users] url_rewrite_concurrency singlethreaded redirector performance?

2007-10-10 Thread Sylvain Viart
Hi Henrik, Thanks for the detailed reply. Henrik Nordstrom a écrit : On tis, 2007-10-09 at 11:21 +0200, Sylvain Viart wrote: Would than mean we have some performance issue with singlethreaded redirector? In the concurrent mode helper interface Squid batches up to the concurrency

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-10 Thread Sylvain Viart
Hi Henrik, Henrik Nordstrom a écrit : On tis, 2007-10-09 at 17:47 +0200, Sylvain Viart wrote: Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems

Re: [squid-users] url rewrite and cache, which URL should be cached?

2007-10-10 Thread Sylvain Viart
Hi, Found: Could it be associated with the urlgroup which somewhat hides the rewriting? Yes it is ! snip of the redirector, squid.conf unmodified while () { # filer rewriting not modified if(m[^http://$filer_host/] || m[^http://([^/]+)/(js/static_file|media|thumb)]) {

Re: [squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-09 Thread Sylvain Viart
Sylvain Viart a écrit : Yes, I'm still using the redirector. I posted the my self reply just to match my initial post subject. Here's part of the config without the redirector: # disabling urlgroup ACL and activating acl on urlpath_regex matching # url_rewrite_program can also be disabled

[squid-users] url_rewrite_concurrency singlethreaded redirector performance?

2007-10-09 Thread Sylvain Viart
Hi, In squid 2.6 a new directive raised. url_rewrite_concurrency Would than mean we have some performance issue with singlethreaded redirector? Redirector documentation http://wiki.squid-cache.org/SquidFaq/SquidRedirectors Regards, Sylvain.

[squid-users] url rewrite and cache, which URL should be cached?

2007-10-09 Thread Sylvain Viart
Hi, I use a redirector on an accel proxy config. url_rewrite_program /etc/squid/redirector.pl url_rewrite_children 15 url_rewrite_concurrency 0 url_rewrite_host_header off It seems, that the url used to store the requested url is the orginal url, not the rewrited on. I would like to store

Re: [squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-08 Thread Sylvain Viart
, Sylvain Viart wrote: Hi, Chris Robertson a écrit : incomming URL: somedomaine/path/script.php = should go to peer which host script, php incomming URL: somedomaine/imagepath/someimg.jpg = should go to static peer, filer So I've a redirector which analyze the URL based on some regexp. It was needed

Re: [squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-02 Thread Sylvain Viart
Hi, Chris Robertson a écrit : incomming URL: somedomaine/path/script.php = should go to peer which host script, php incomming URL: somedomaine/imagepath/someimg.jpg = should go to static peer, filer So I've a redirector which analyze the URL based on some regexp. It was needed for 2.5.

[squid-users] how to use accel url_rewrite_program urlgroup and cache_peer?

2007-10-01 Thread Sylvain Viart
Hi, I'm setting up a special config which sould do the following: * load balance URL on backend servers (originserver) * filter URL on different kind of server with URL rewriting based on URL. So I have: incomming URL: somedomaine/path/script.php = should go to peer which host script, php

Re: [squid-users] How to print content alongwith headers using the debug_options

2006-10-31 Thread Sylvain Viart
Hi, Henrik Nordstrom wrote: mån 2006-10-30 klockan 15:33 -0800 skrev Pranav Desai: Is there a way to print the entire content alongwith the headers in the logs file. Using the debug_options maybe. Nope. Squid never prints the content in debug statements. Partially due to the content