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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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)])
{
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
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.
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
, 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
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.
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
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
22 matches
Mail list logo