limitconn
Limitconn is a mechanism used by web servers, reverse proxies, and load balancers to cap the number of simultaneous connections allowed from a client or to a resource. The purpose is to protect against abuse, reduce resource contention, and maintain service availability during traffic spikes or slow client behavior. The exact name and syntax vary by server; many implementations use a directive or module with similar functionality, sometimes called limit_conn or limitconn, and in some setups via modules such as mod_limitipconn in Apache.
In nginx, limit_conn is a core directive that works with a shared memory zone defined by limit_conn_zone
Limit connections can be applied per server, per location, or per key, allowing granular control over resource
Other servers implement similar protections through modules or directives designed to limit per-client concurrency. For example,
See also: rate limiting, per-user quotas, keep-alive management, connection throttling.