RE: [squid-users] MultipleInstance squid

From: George N. Zavalis <gzabalis_at_dolnet.gr>
Date: Wed, 1 Jun 2011 21:27:08 +0300

I haven't received any questions/replies concerning my issue.

Any ideas? Do you need any further clarification?

Amos do you have any suggestion?

Thanks in advance,

GZ

-----Original Message-----
From: George N. Zavalis [mailto:gzabalis_at_dolnet.gr]
Sent: Tuesday, May 17, 2011 12:33 PM
To: 'Hasanen AL-Bana'
Cc: squid-users_at_squid-cache.org
Subject: RE: [squid-users] MultipleInstance squid

No as far as I can tell, I am not using any rewriter at all.

-----Original Message-----
From: Hasanen AL-Bana [mailto:hasanen_at_gmail.com]
Sent: Monday, May 16, 2011 8:36 PM
To: George N. Zavalis
Cc: squid-users_at_squid-cache.org
Subject: Re: [squid-users] MultipleInstance squid

Are you using any sotreurl rewriter ? if you do , then rewritten URLs
will not be found by ICP

On Mon, May 16, 2011 at 8:09 PM, George N. Zavalis <gzabalis_at_dolnet.gr>
wrote:
>
> Hi list,
>
> I have squid Version 2.7.STABLE9 and I tried to setup a multi instance
squid
> system as proposed at http://wiki.squid-cache.org/MultipleInstances
>
> I used the "http_port" setting to create two (2) independent squid
instances
> running at the same ip address but on different ports : �Squid no 1
> listening at port 81 and Squid no 2 listening at port 82 and icp ports at
> 3131 & 3132 respectively
>
> Also I configure the "cache_peer" setting so as to have sibling between
the
> 2 squid instances :
> cache_peer ip sibling 82 3132 no-netdb-exchange no-delay no-digest
> proxy-only , at the no 1 squid and
> cache_peer ip sibling 81 3131 no-netdb-exchange no-delay no-digest
> proxy-only , at the no 2 squid.
>
> This is where my problems are occurring.
> When the first request arrives at squid no 1 - of course
> TCP_MISS:FIRST_UP_PARENT - I can see from the access log : GET
> http://FQDN:81/resourcepath
> I was expecting when I request the same resource and squid no 2 reply to
me,
> I sould get a cache hit but instead I got a TCP_MISS: FIRST_UP_PARENT and
of
> course from the access log : GET http://FQDN:82/resourcepath
>
> Subsequent requests to either http://FQDN:81/resourcepath �or
> http://FQDN:82/resourcepath are HITS
>
> I am running two (2) different proxies - one with the prefix ":81" and the
> other with the prefix ":82" - without any sibling hit. Looks like I have 2
> isolated squids which is not what I want.
>
> Why is this happening? Is this happening because of the existence of the
> port at the URL? Can I configure squid to ignore it
>
> Thanks
> GnZ
>
Received on Wed Jun 01 2011 - 18:27:26 MDT

This archive was generated by hypermail 2.2.0 : Thu Jun 02 2011 - 12:00:02 MDT