https://issues.apache.org/bugzilla/show_bug.cgi?id=56703
Bug ID: 56703 Summary: "Current number of backend connections" counter ever increasing when timeouts are defined Product: Tomcat Connectors Version: 1.2.40 Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P2 Component: mod_jk Assignee: dev@tomcat.apache.org Reporter: kn...@knobisoft.de Hi, our environment is (I know, some are old ...): Apache 2.2.21 mod_jk-1.2.40 Tomcat 7.0.42 We have found that the numbers for "Con", the current number of backend connections" is growing steadily, well over any sensible number. The following configuration seems to trigger the behavior: worker.template.type=ajp13 worker.template.lbfactor=1 worker.template.prepost_timeout=15000 worker.template.connect_timeout=15000 worker.template.ping_timeout=15000 worker.template.ping_mode=A worker.template.connection_ping_interval=180 worker.template.retries=3 worker.template.connection_pool_timeout=30 Without setting the timeout values, the displayed number of backend connections looks to be stable. The behavior seems to have started between mod_jk-1.2.32 and mod_jk-1.2.37. Looking at the code, I can see some heavy redo of the handling of the "connected" counter. I suspect a "connected--" is missing, but hard to say where. Cheers Martin -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org