[jboss-jira] [JBoss JIRA] Updated: (JBAS-5929) Sub Pooling in JBossManagedConnectionPool MemoryLeak for sparse CRI coverage
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Fri Sep 5 04:19:38 EDT 2008
[ https://jira.jboss.org/jira/browse/JBAS-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Brock updated JBAS-5929:
-------------------------------
JBoss Forum Reference: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174502#4174502
> Sub Pooling in JBossManagedConnectionPool MemoryLeak for sparse CRI coverage
> ----------------------------------------------------------------------------
>
> Key: JBAS-5929
> URL: https://jira.jboss.org/jira/browse/JBAS-5929
> Project: JBoss Application Server
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: JCA service
> Affects Versions: JBossAS-5.0.0.CR1, JBossAS-4.2.3.GA
> Reporter: Adrian Brock
> Assignee: Jesper Pedersen
> Fix For: JBossAS-5.0.0.GA, JBossAS-4.2.4.GA
>
>
> If you look at this WIKI page, there is a caveat about "sub-pooling" within the JBossManagedConnectionPool
> http://wiki.jboss.org/wiki/ConfigJCACommon
> "Unless the ResourceAdapter has <reauthentication-support> using multiple security identities will create subpools for each identity."
> The way this works is that we hold a map of CRI->SubPool
> (CRI == ConnectionRequestInfo).
> If there is sparse coverage of the CRI parameter space, you can end up with lots of subpools which holds
> references to each CRI (the same issue also applies to pooling by Subject).
> The sub-pools will be empted by the IdleRemover, but the sub-pools themselves will be retained
> which could consume a lot a memory or even cause an OutOfMemoryError depending on the use case.
> Currently the only way to clear these subpools is manually flush() the pool which will remove all the sub-pools
> and allow them to be re-created as required.
--
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
More information about the jboss-jira
mailing list