[squid-users] cache_peer on squid NT ?

From: <squid@dont-contact.us>
Date: Sun, 1 Aug 2004 9:58:51 +0200

Hi all,

I using squid NT 2.5.STABLE5 ...
Well I have 2 parent proxy servers -one is on lokalhost ,
and is using
satelite connections (sat software is also have some proxy
on port 8080
which is talk to sat provider proxy) , but it is sometimes
slow (I have limit of max 10 conecctions at same time)...
Other proxy is also squid , on my DSL gateway
(also squid NT 2.5.STABLE5 ) ,
So how can I tell squid to go to my second proxy if first
is too slow (let say not open html page after 5 seconds).

My current setting is here :
cache_peer 127.0.0.1 parent 8080 0 no-query
       prefer_direct off
       cache_peer 127.0.0.1 parent 2121 0 no-query
       prefer_direct off
       cache_peer 192.168.0.20 parent 3128 0 no-query
       prefer_direct off

I also change setings :
      cache_peer 127.0.0.1 parent 8080 0 no-query connect-
timeout=5
max-conn=10
       prefer_direct off
       cache_peer 127.0.0.1 parent 2121 0 no-query connect-
timeout=5
max-conn=10
       prefer_direct off
       cache_peer 192.168.0.20 parent 3128 0 no-query
connect-timeout=5
max-conn=200
       prefer_direct off

But I also have same problems ... when sat conections is
down or slow ... i
have error ... timeot socket is not connected ...
So how do I force squid to use another
proxy ...192.168.0.20 - which is always working?

Maybe this setting is wrong ..?
Thanks !
Received on Sun Aug 01 2004 - 01:59:03 MDT

This archive was generated by hypermail pre-2.1.9 : Wed Sep 01 2004 - 12:00:01 MDT