-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Stijn,
On 2/11/2011 11:09 AM, Stijn Vanhoorelbeke wrote: > I'm using Solr on my Tomcat 6 system. How can I measure how much sessions > there are active? > > I could find such info through Tomcat manager > (manager/html/sessions?path=/solr). But that shows up ALL the sessions of > the past 10 min. I only want to measure active sessions. Tomcat exposes lots of information via JMX. Connect using JConsole and look at the "MBeans" tab to poke around and see what's there. > Also, is there a way to measure the respons time, needed to satisfy a > request? This must be no log file ( too much overhead to log all requests ), > but just lets say retrieve 1 request/respons time per minute. This may be a tough thing to do without introducing a bottleneck. I think you'll have to do it yourself using something like a Valve or a filter, or even by modifying/subclassing the AccessLogValve to record only once per minute instead of all requests. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1VnGsACgkQ9CaO5/Lv0PAXXwCePvftNuIE2i9L2hdbMrvpCcCg IZgAn0OMEsEEB8MSOjlyO2rhRhhn6pTp =8N6s -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org