How to limit the maximum number of client connections per IP address in SQUID

Solution Verified - Updated -

Issue

  • Using client_ip_max_connections in SQUID doesn't limit the number of connections per IP address, connections are still getting accepted, but unusable
  • Using client_ip_max_connections in SQUID leads to SQUID leaking file descriptor resources

Environment

  • Red Hat Enterprise Linux (RHEL) 6 and later
  • squid 3.1.x (RHEL6)
  • squid 3.5.x (RHEL7)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.