[
https://jira.jboss.org/jira/browse/JBAS-6720?page=com.atlassian.jira.plug...
]
Charles Crouch commented on JBAS-6720:
--------------------------------------
"Ok, so the problem is that the associated ServerPeer has to explicitly enable
message counters since it introduces overheard"
...
(3:55:27 PM) ccrouch: jgreene: yep, though I'm surprised that doing cnt++ on some
longs add much overhead :-)
(3:55:59 PM) ccrouch: jgreene: and this is in 1.4 and 2.0, messaging versions?
(3:57:15 PM) jgreene: ccrouch: you would think, but looking at the code, it logs without
bounds in memory
(3:57:42 PM) jgreene: (counter history)
(3:57:54 PM) jgreene: i don't know why it isnt just truncated to some reasonable
limit
(3:58:14 PM) ccrouch: so its not just overhead then? it will just blow up eventually?
(3:58:22 PM) jgreene: good question i am not sure what messaging 2.0 is doing, they are
still working on core architectural stuff
(3:58:39 PM) jgreene: ccrouch: yeah it could run out of memory if no one calls reset on
the counters
(3:58:52 PM) ccrouch: oh great
(3:58:52 PM) jgreene: it would take a long long time though
(3:59:01 PM) ccrouch: good :-)
Make sure that the metrics for Topics and Queues (eg. All Message
Count, Depth, Depth Delta) are marked as ViewUse.STATISTIC
----------------------------------------------------------------------------------------------------------------------------
Key: JBAS-6720
URL:
https://jira.jboss.org/jira/browse/JBAS-6720
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: ProfileService
Environment: JBoss AS Branch_5_x r86586, embjopr r266
Reporter: Farah Juma
Assignee: Scott M Stark
Priority: Critical
Fix For: JBossAS-5.1.0.CR1
Steps to reproduce:
Create a new Topic or Queue using Embedded Jopr. Send some messages to the Topic or
Queue. Navigate to the "Metrics" tab for the resource. The metrics do not get
updated to reflect this change. All the values are 0.0.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira