You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Shawn Jiang (JIRA)" <ji...@apache.org> on 2009/08/31 08:17:32 UTC
[jira] Created: (GERONIMO-4826) Some monitoring fields are always
zero.
Some monitoring fields are always zero.
---------------------------------------
Key: GERONIMO-4826
URL: https://issues.apache.org/jira/browse/GERONIMO-4826
Project: Geronimo
Issue Type: Bug
Security Level: public (Regular issues)
Components: monitoring
Affects Versions: 2.1.4, 2.1.3, 2.1.5, 2.2
Reporter: Shawn Jiang
Assignee: Shawn Jiang
It's strange, we need to figure out why they are always zero.
{noformat}
TomcatWebConnector
Active Request Count (always zero)
Busy Threads Current
Busy Threads Max
Busy Threads Min (always zero)
Bytes Received
Bytes Sent
Error Count
Open Connections Current (always zero)
Open Connections Max (always zero)
Open Connections Min (always zero)
Request Time Count
Request Time MaxTime
Request Time MinTime (always zero)
Request Time TotalTime
{noformat}
{noformat}
TomcatWebSSLConnector
Active Request Count (always zero)
Busy Threads Current
Busy Threads Max
Busy Threads Min (always zero)
Bytes Received
Bytes Sent
Error Count
Open Connections Current(always zero)
Open Connections Max (always zero)
Open Connections Min(always zero)
Request Time Count
Request Time MaxTime
Request Time MinTime (always zero)
Request Time TotalTime
{noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4826) Some monitoring fields are always
zero.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12758100#action_12758100 ]
Shawn Jiang commented on GERONIMO-4826:
---------------------------------------
For this one:
{noformat}
Active Request Count (always zero)
{noformat}
I saw a help message in help of monitoring portlet:
{noformat}
"Hint : Try 'Request Count' for JettyWebConnector"
{noformat}
Seems this is a known issue. I suggest to also add
{noformat}
"Hint : Try 'Open Connections' for JettyWebConnector"
{noformat}
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4826) Some monitoring fields are always
zero.
Posted by "Kevan Miller (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749724#action_12749724 ]
Kevan Miller commented on GERONIMO-4826:
----------------------------------------
Good to be looking at this. Thanks Shawn.
plugins/tomcat/geronimo-tomcat6/src/main/java/org/apache/geronimo/tomcat/stats/ConnectorStats.java will give you a pretty good idea as to why some of the fields are always zero (e.g. ActiveRequestCount, and the connection counts).
I've noticed that JSR-77 stats aren't available from JConsole. I think it would be pretty valuable to make some of this data available to a simple JMX client, also.
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (GERONIMO-4826) Some monitoring fields are always
zero.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang resolved GERONIMO-4826.
-----------------------------------
Resolution: Fixed
Added the hints to the help page of monitoring portlet in branch 21, branch 22, and trunk. I'm wondering if we have document somewhere to address this monitoring attributes difference between
Jetty connector and Tomcat connector ?
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (GERONIMO-4826) Some monitoring fields are always
zero.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shawn Jiang closed GERONIMO-4826.
---------------------------------
Closing it.
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (GERONIMO-4826) Some monitoring fields are always
zero.
Posted by "Shawn Jiang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GERONIMO-4826?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12749828#action_12749828 ]
Shawn Jiang commented on GERONIMO-4826:
---------------------------------------
Thanks for the hints ! I looked at the code and found:
for
*Open Connections Current(always zero)
*Open Connections Max (always zero)
*Open Connections Min(always zero)
{code}
// TODO find these
//long openConnections = ((Long) (mBeanServer.getAttribute(grpName, "countOpenConnections"))).longValue();
long maxOpenConnections = 0;
//long maxOpenConnections = ((Long) (mBeanServer.getAttribute(grpName, "maxOpenConnections"))).longValue();
stats.setOpenConnection(openConnections, maxOpenConnections, 0);
{code}
After checking the tomcat JSR-77 connectors mbeans, there are not related connections attributes at all. Jetty has these attributes so that Jetty build does not have this problem.
> Some monitoring fields are always zero.
> ---------------------------------------
>
> Key: GERONIMO-4826
> URL: https://issues.apache.org/jira/browse/GERONIMO-4826
> Project: Geronimo
> Issue Type: Bug
> Security Level: public(Regular issues)
> Components: monitoring
> Affects Versions: 2.1.3, 2.1.4, 2.1.5, 2.2
> Reporter: Shawn Jiang
> Assignee: Shawn Jiang
>
> It's strange, we need to figure out why they are always zero.
> {noformat}
> TomcatWebConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current (always zero)
> Open Connections Max (always zero)
> Open Connections Min (always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
> {noformat}
> TomcatWebSSLConnector
> Active Request Count (always zero)
> Busy Threads Current
> Busy Threads Max
> Busy Threads Min (always zero)
> Bytes Received
> Bytes Sent
> Error Count
> Open Connections Current(always zero)
> Open Connections Max (always zero)
> Open Connections Min(always zero)
> Request Time Count
> Request Time MaxTime
> Request Time MinTime (always zero)
> Request Time TotalTime
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.