Chris,
> -----Original Message----- > From: Christopher Schultz <[email protected]> > Sent: Friday, February 08, 2019 11:48 AM > To: [email protected] > Subject: Re: Does Tomcat count incoming connections? > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > John, > > > You can get this count from the Connector via JMX. > > Look at the tree under /Catalina/GlobalRequestProcessor/[connector] > and there is a "requestCount" attribute that can be queried. > > Looks like it's an int value, so it can overflow. > > - -chris Thanks but the requestCount really does appear to be requests and not connections. I have keepAliveTimeout and maxKeepAliveRequests at their defaults (unlimited timeout and 100 requests) and I see the count go up with each request, even though my client reports that the connection is getting reused. I'm asking because I need some hard data on whether clients are reusing their connections for performance reasons. John --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
