Problems with choosing faster parent cache!

From: Bartlomiej Solarz <B.Solarz-Niesluchowski@dont-contact.us>
Date: Fri, 08 Oct 1999 10:37:48 +0200

Hello!

I have problem with squid.

The situation is:
I have one cache (cache_for_users) with two parents (cache_fast and cache_slow)

All caches was compiled with the same option (below).

In setup of cache_for_users is:
cache_peer cache_slow parent 3132 3134 proxy-only closest-only no-delay
weight=1
cache_peer cache_fast parent 8081 3131 proxy-only closest-only no-delay
weight=1

To the some_host I have much faster connection (more 100 times) with
cache_fast then cache_slow, but squid always select cache_slow for the
connection even when I changed weight for cache_slow to 100. The only way
to select the cache_fast is to comment the cache_slow.

Any ideas?

I have compiled the SQUID 2.2. STABLE 4 with
# ./configure --prefix=/usr/local --enable-icmp --enable-delay-pools
--enable-cache-digests --enable-ipf-transparent --enable-snmp --enable-htcp
--enable-forw-via-db --enable-err-language=Polish

Best Regards
PS-I must use both caches but i want true load balancing.
PS2-cache_slow and cache_fast are reachable from my cache_for_users in the
same speed (below 2ms)

****************************************************************
* Bartlomiej Solarz-Niesluchowski *
* Administrator WSISiZ *
* Motto - nie psuj Win'9x one i bez tego sie psuja.... *
* Jak sobie poscielisz tak sie wyspisz *
****************************************************************
Received on Fri Oct 08 1999 - 10:48:08 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:48:45 MST