[
http://jira.jboss.com/jira/browse/JBAS-2583?page=all ]
Adrian Brock closed JBAS-2583.
------------------------------
Resolution: Done
Closing features that are (or will be) implemented in JBoss Messaging.
http://jira.jboss.com/jira/browse/JBMESSAGING
If anybody wants to provide a patch that implements these,
the issue can be reopened.
Duplicates of these issues will be closed
unless they provide an implementation/patch.
Patches should first be discussed in the
development forum:
http://www.jboss.com/index.html?module=bb&op=viewforum&f=153
if there isn't already a forum link attached to this issue.
Potential for runaway allocation of Connection objects
------------------------------------------------------
Key: JBAS-2583
URL:
http://jira.jboss.com/jira/browse/JBAS-2583
Project: JBoss Application Server
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: JMS service
Affects Versions: JBossAS-4.0.3 SP1
Reporter: Natalia Kowalczyk
org.jboss.mq.Connection class uses a singleton
EDU.oswego.cs.dl.util.concurrent.ClockDaemon to handle pinging of open connections. When
connection is opened a ping task is scheduled by inserting into
EDU.oswego.cs.dl.util.concurrent.Heap structure maintained internally by ClockDaemon. When
connection is closed, its ping task is marked as canceled and subsequently extracted from
the Heap by a single thread maintained internally by ClockDaemon.
Inserting into Heap structure can be performed by many threads (as part of opening a
connection) but extracting is only done by a single thread (in ClockDeamon). As
Heap.extract() is a little slower then Heap.insert(), under sufficient system load,
ClockDeamon thread may fall behind in its job of removing canceled ping tasks
(corresponding to closed connections). If the load on a system persists sufficiently long,
JVM will run out of memory because of the canceled ping tasks that ClockDaemon can't
extract fast enough.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira