Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Amos Jeffries
On 30/06/2015 9:42 p.m., Stakres wrote: > Amos, > Yes, similar case here on the 4223. > By reading the case 4223, we can see that part "Non-cacheable objects should > never be added to the digest." from you. > In my squid, there is no restriction, ICP is fully open, squid server > (3.5.5) are compi

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Hi, Could the issue be related to that ? TCP_MEM_HIT/200 224442 GET http://squid1/8b26b519d740afd8ec698b6af06efd8e17c6e5b6:8182/squid-internal-periodic/store_digest - HIER_NONE/- application/cache-digest Is it normal to see the store-digest as a MEM_HIT ? I say to the squid to do not reply with a

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Amos, Yes, similar case here on the 4223. By reading the case 4223, we can see that part "Non-cacheable objects should never be added to the digest." from you. In my squid, there is no restriction, ICP is fully open, squid server (3.5.5) are compiled with the digest option, so all is done to allow

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Amos Jeffries
On 30/06/2015 8:55 p.m., Stakres wrote: > Amos, > We used this example from the wiki: > http://wiki.squid-cache.org/Features/CacheHierarchy > We can see a sibling/sibling archi is possible, right ? Possible vs Useful. For you at present its possible, but not particularly useful. I've just receive

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Amos Jeffries
On 30/06/2015 8:33 p.m., Stakres wrote: > Hi, > I disabled the sibling on both squid servers, we got one 504: > TCP_MISS/504 361 GET > http://rate.msfsob.com/review?h=www.searchhomeremedy.com - > HIER_DIRECT/8.25.35.129 > A wget on this url gives a 404, so here we can say the object does not > exis

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Amos, We used this example from the wiki: http://wiki.squid-cache.org/Features/CacheHierarchy We can see a sibling/sibling archi is possible, right ? Here, we can not have a "cache_peer parent" archi as the tproxy (original user ip) will be lost at the parent level, you wrote this in a previous po

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Amos Jeffries
On 30/06/2015 8:21 p.m., Stakres wrote: > Anthony, Amos, > > The 2 squid are kid/parent each of them (both sibling). I'm being pedantic about this because the operations possible with a parent proxy are very different from those done with a sibling proxy. > So, when one aks the second, they play

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Hi, I disabled the sibling on both squid servers, we got one 504: TCP_MISS/504 361 GET http://rate.msfsob.com/review?h=www.searchhomeremedy.com - HIER_DIRECT/8.25.35.129 A wget on this url gives a 404, so here we can say the object does not exist, the TCP_MISS/504 seems a correct answer. But no new

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Anthony, Amos, The 2 squid are kid/parent each of them (both sibling). So, when one aks the second, they play the role of kid -> parent, am I right ? Here is the way: Squid1 checks the Squid2 and gets that: ... user-ip TCP_MISS/504 708 GET http://code.jquery.com/ui/1.10.3/jquery-ui.js - CD_SIBLIN

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Amos Jeffries
On 30/06/2015 7:45 p.m., Stakres wrote: > Hi Antony, > > Correct, the kid contacts the parent that is getting a 504 and replies the > same to the kid. That's why I suspect the parent tries to download by itself > instead replying to the kid it does not have the object so the kid should do > a fres

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Antony Stone
On Tuesday 30 Jun 2015 at 08:45, Stakres wrote: > There are 2 squid, sibling each of them. > Squid1 (10.1.1.1): > cache_peer 10.1.1.2 sibling 8182 8183 proxy-only no-tproxy > Squid2 (10.1.1.2): > cache_peer 10.1.1.1 sibling 8182 8183 proxy-only no-tproxy > if you need more details, feel free to a

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Hi Antony, Correct, the kid contacts the parent that is getting a 504 and replies the same to the kid. That's why I suspect the parent tries to download by itself instead replying to the kid it does not have the object so the kid should do a fresh download from internet. examples: TCP_MISS/504 70

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Antony Stone
On Tuesday 30 Jun 2015 at 08:24, Stakres wrote: > Here, it seems the parent (sibling mode) tries to do the request itself but > faces an error (504 gateway timeout), it should answer to the kid it does > not have the object (TCP_MISS) then the parent should download the object > from internet. Su

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-30 Thread Stakres
Hi Amos, Yep, i did not modify the TTL transaction. Here, it seems the parent (sibling mode) tries to do the request itself but faces an error (504 gateway timeout), it should answer to the kid it does not have the object (TCP_MISS) then the parent should download the object from internet. With thi

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-29 Thread Amos Jeffries
On 30/06/2015 12:50 a.m., Stakres wrote: > Hi Amos, > > 1. What does the 504 mean ? One of the proxies timed out while contacting the origin server, OR the origin server acting as a gateway to a CGI backend timed out waiting for the object to b

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-29 Thread Stakres
Hi Amos, 1. What does the 504 mean ? 2. How can i extend the TTL transaction ? Thanks :o) -- View this message in context: http://squid-web-proxy-cache.1019090.n4.nabble.com/TCP-MISS-504-in-cache-peer-tp4671944p4671946.html Sent from the Squid - Users mailing list archive at Nabble.com. _

Re: [squid-users] TCP_MISS/504 in cache_peer

2015-06-29 Thread Amos Jeffries
On 30/06/2015 12:34 a.m., Stakres wrote: > Hi All, > is someone with an idea why it happens ? > *TCP_MISS/504 708 GET http://www.myexamplecom/images/menu_hover_left.png - > CD_SIBLING_HIT/x.x.x.x* > > i can see the TCP_MISS with the SIBLING only... > i'm looking for this issue since several days a

[squid-users] TCP_MISS/504 in cache_peer

2015-06-29 Thread Stakres
Hi All, is someone with an idea why it happens ? *TCP_MISS/504 708 GET http://www.myexamplecom/images/menu_hover_left.png - CD_SIBLING_HIT/x.x.x.x* i can see the TCP_MISS with the SIBLING only... i'm looking for this issue since several days and it makes me crazy thanks in advance. bye Fred -