v.25.12Improvement
Now HTTP_CONNECTION_LIMIT_REACHED exception would be thrown
NowHTTP_CONNECTION_LIMIT_REACHEDexception would be thrown whenhard_limitfor the http clients connection is reached. It is set as20000for the disk connections. #91016 (Sema Checherinda).
Why it matters
This feature addresses the problem of managing and enforcing a strict maximum number of HTTP client connections to the ClickHouse server, preventing resource exhaustion. It ensures stable server performance and reliable handling of connection limits by notifying users explicitly when the limit is hit.How to use it
The exception is triggered automatically when thehard_limit for HTTP client connections is reached. For disk connections, this limit is set to 20,000 by default. Users can monitor and handle this exception to manage connection limits effectively.