[squid-users] Antwort: [squid-users] Create and download cache digest to create proxy siblings
Now I'v read, that the right URL to the cache digest is http://test.lut.ac.uk:3128/squid-internal-periodic/store_digest (See here #8: http://www.squid-cache.org/CacheDigest/cache-digest-v5.txt) But it seems, that my squid doesn't create this store_digest file, because wget says error 404. The second problem is, the squid sibling doesn't try downloading this file. It only tries to download the netdb file. I hope, that somebody can help me. Thanks -Klaus Reithmaier klaus.reithma...@lindner-group.com schrieb: - An: squid-users@squid-cache.org Von: Klaus Reithmaier klaus.reithma...@lindner-group.com Datum: 09.07.2014 16:51 Betreff: [squid-users] Create and download cache digest to create proxy siblings Hello, I want do make a combined cache by defining two proxies in a cluster as siblings. To minimize traffic and latency, I want to do this by using cache digests and not by using ICP. Squid is compiled with --enable-cache-digest, squid version is 3.3.12 cache_peer configuration in squid.conf on SIBLING_1: cache_peer [IP_OF_SIBLING_2] sibling 8080 0 proxy-only no-query A few minutes after restarting SIBLING_1 I see on the access.log of SIBLING_2 that SIBLING_1 is making the following request: 1404912746.105 1 [IP_OF_SIBLING_1] TCP_MISS/200 271 GET http://[NAME_OF_SIBLING_2]:8080/squid-internal-dynamic/netdb - HIER_NONE/- - Is the netdb file the cache digest? It is way to small, the access.log says, the size is 271 bytes, if I am downloading this file with wget, the filesize of netdb is 0 bytes. I've found somewhere else the following path for getting the cache digest: /squid-internal-periodic/store_digest, but here i get a 404 error code. What is the right path for the cache digest and what do I need to create the digest? Thanks This e-mail contains confidential and/or privileged information from the Lindner Group. If you are not the intended recipient or have received this e-mail by fault, please notify the sender immediately and destroy this e-mail. Any unauthorized copying and/or distribution of this e-mail is strictly not allowed. This e-mail contains confidential and/or privileged information from the Lindner Group. If you are not the intended recipient or have received this e-mail by fault, please notify the sender immediately and destroy this e-mail. Any unauthorized copying and/or distribution of this e-mail is strictly not allowed.
Re: [squid-users] Antwort: [squid-users] Create and download cache digest to create proxy siblings
What OS are you using? Is it a self compiled squid? if so, can you run the basic_data.sh script from here: http://www1.ngtech.co.il/squid/basic_data.sh It has too much data so feel free to filter most of it. In your case a basic squid -v should give the basic info. Eliezer On 07/10/2014 11:26 AM, Klaus Reithmaier wrote: Now I'v read, that the right URL to the cache digest is http://test.lut.ac.uk:3128/squid-internal-periodic/store_digest (See here #8:http://www.squid-cache.org/CacheDigest/cache-digest-v5.txt) But it seems, that my squid doesn't create this store_digest file, because wget says error 404. The second problem is, the squid sibling doesn't try downloading this file. It only tries to download the netdb file. I hope, that somebody can help me. Thanks
Re: [squid-users] Antwort: [squid-users] Create and download cache digest to create proxy siblings
Thanks for your help, but I just found the problem by myself. It was a layer 8 problem: I've copy pasted the configuration parameter from a wrong documentation. It was documented as --enable-cache-digest, but the right parameter is --enable-cache-digests Now it's working. Thanks anyway... -Eliezer Croitoru elie...@ngtech.co.il schrieb: - An: squid-users@squid-cache.org Von: Eliezer Croitoru elie...@ngtech.co.il Datum: 10.07.2014 12:08 Betreff: Re: [squid-users] Antwort: [squid-users] Create and download cache digest to create proxy siblings What OS are you using? Is it a self compiled squid? if so, can you run the basic_data.sh script from here: http://www1.ngtech.co.il/squid/basic_data.sh It has too much data so feel free to filter most of it. In your case a basic squid -v should give the basic info. Eliezer On 07/10/2014 11:26 AM, Klaus Reithmaier wrote: Now I'v read, that the right URL to the cache digest is http://test.lut.ac.uk:3128/squid-internal-periodic/store_digest (See here #8:http://www.squid-cache.org/CacheDigest/cache-digest-v5.txt) But it seems, that my squid doesn't create this store_digest file, because wget says error 404. The second problem is, the squid sibling doesn't try downloading this file. It only tries to download the netdb file. I hope, that somebody can help me. Thanks This e-mail contains confidential and/or privileged information from the Lindner Group. If you are not the intended recipient or have received this e-mail by fault, please notify the sender immediately and destroy this e-mail. Any unauthorized copying and/or distribution of this e-mail is strictly not allowed.