Editorial question66.1K views4,181 votes0 answers3,754 following
AI-generatedWhich connection states must be counted when sizing Tomcat maxConnections for production traffic?
In a Tomcat 8.5+ NIO or NIO2 deployment, the connector attribute maxConnections limits the total number of sockets the connector will accept and process. Because idle keep-alive connections remain counted against that ceiling, a configuration that behaves correctly under light local traffic can exhaust the pool in production when clients maintain persistent