Search squid archive

Re: Squid 4 pconn_lifetime questions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 5/14/19 8:07 AM, Alex Rousskov wrote:
> On 5/14/19 12:25 AM, johnr wrote:
>> how do the pconn_lifetime and client_idle_pconn_timeout interact?

> There should be virtually no interaction: The former limit is checked
> just when a connection becomes idle and Squid decides whether to pool
> the connection or close it. The latter timeout is checked for the
> already pooled connections.

Correction: The time an idle connection can be pooled is limited by both
pconn_lifetime and *_idle_pconn_timeout. This may be considered as
"interaction".

  lifetime_remaining = pconn_lifetime - actual_connection_lifetime
  maximum_time_in_pool = min(lifetime_remaining, x_idle_pconn_timeout)

Pooled idle connections are closed after maximum_time_in_pool.

Alex.

> GitHub pull requests clarifying documentation are welcomed.
_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux