Squid configuration directive pconn_lifetime

Squid configuration directive pconn_lifetime

Available in: v7   v6   v5   v4

This directive is not available in the v8 version of Squid.

For older versions than v5 see the linked pages above

Configuration Details:

Option Name: pconn_lifetime
Replaces:
Requires:
Default Value: pconn_lifetime 0 seconds
Suggested Config:
Desired maximum lifetime of a persistent connection. When set, Squid will close a now-idle persistent connection that exceeded configured lifetime instead of moving the connection into the idle connection pool (or equivalent). No effect on ongoing/active transactions. Connection lifetime is the time period from the connection acceptance or opening time until “now”. This limit is useful in environments with long-lived connections where Squid configuration or environmental factors change during a single connection lifetime. If unrestricted, some connections may last for hours and even days, ignoring those changes that should have affected their behavior or their existence. Currently, a new lifetime value supplied via Squid reconfiguration has no effect on already idle connections unless they become busy. When set to '0' this limit is not used.

Back

Introduction

Documentation

Support

Miscellaneous