You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Apache Wiki <wi...@apache.org> on 2013/02/28 00:23:32 UTC

[Tomcat Wiki] Update of "FAQ/Monitoring" by ChristopherSchultz

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tomcat Wiki" for change notification.

The "FAQ/Monitoring" page has been changed by ChristopherSchultz:
http://wiki.apache.org/tomcat/FAQ/Monitoring?action=diff&rev1=9&rev2=10

Comment:
Added information about ThreadPool.

  {{{#!wiki caution
  Version Warning
  
- These JMX bean names are accurate for the current version of Tomcat 7 (7.0.28 at the time of this writing). If you are using a different version of Tomcat, you may have to adjust the names of the beans identified on this page.
+ These JMX bean names are accurate for the current version of Tomcat 7 (7.0.37 at the time of this writing). If you are using a different version of Tomcat, you may have to adjust the names of the beans identified on this page.
  }}}
  
  === Thread Usage ===
@@ -38, +38 @@

   * Attributes: `poolSize`, `activeCount`
  
  This is the number of threads currently in the executor's thread pool. Obviously, this is only useful if you are using an <Executor> (which you ''are'' using, of course, right?).
+ 
+ ==== Not using an Executor ====
+ 
+  * JMX Bean: `Catalina: type=ThreadPool,name="[depends]"`
+  * Attributes: `maxThreads`, `connectionCount`
+ 
+ This information is largely useless in Tomcat 7, as an Executor is always used and the data can be found there, while the ThreadPool has only initial configuration information: the real-time data is available from the Executor's MBean.
  
  === Request Throughput ===
  
@@ -48, +55 @@

  === Sessions ===
  
   * JMX Bean: `Catalina:type=Manager,context=[context name],host=[hostname]`
+  * Attributes: `activeSessions`, `sessionCounter`, `expiredSessions`
-  * Attributes: `activeSessions`
- 
  
  === JNDI DataSource ===
  
-  * JMX Bean: `Catalina:type=DataSource,context=/[context name],host=[hostname],class=javax.sql.DataSource,name="[JNDI name]"`
+  * JMX Bean: `Catalina:type=DataSource,context=[context name],host=[hostname],class=javax.sql.DataSource,name="[JNDI name]"`
   * Attributes: `numActive`, `numIdle`
  
  = External Monitoring Tools =

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org