pconn errors

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 09 Jan 2009 01:15:52 +1300

Kinkie wrote:
>> OF COURSE it's uninitialized garbage: I had unadvertently removed the
>> list lookup. Retrying (and sorry for the flow-of-consciousness mails
>> :)
>
>
> Ok, I think I've found a setup to easily test what's up.
> Now it seems that the pushing is done, but the popping isn't.
>
> Pool 0 Hash Table
> item 0: wiki:81/localhost
> item 1: wiki:81/localhost
>
>
> But then...
> 2009/01/08 12:15:17.699| PconnPool::push: new IdleConnList for
> {wiki:81/localhost}
> [...]
> 2009/01/08 12:15:17.701| PconnPool::pop: lookup for key
> {127.0.0.1:80/localhost} failed.
>
> *huh*?? it would seem that in vhost settings, it's using the wrong key
> when pushing AND when popping, for different reasons:

> when pushing it should use the correct upstream port,

1) it does by default. The use of origin port is determined by
"originserver" option which is ON in our config.

* I believe this difference should not be made when considering pconn.
   It should be sufficient to pick the name/port destination.

> when popping it should use the
> cache_peer name...

Yes.

Amos

-- 
Please be using
   Current Stable Squid 2.7.STABLE5 or 3.0.STABLE11
   Current Beta Squid 3.1.0.3
Received on Thu Jan 08 2009 - 12:50:14 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 08 2009 - 12:00:02 MST