[jboss-jira] [JBoss JIRA] Resolved: (JBAS-5929) Sub Pooling in JBossManagedConnectionPool MemoryLeak for sparse CRI coverage
Jesper Pedersen (JIRA)
jira-events at lists.jboss.org
Wed Mar 11 09:38:23 EDT 2009
[ https://jira.jboss.org/jira/browse/JBAS-5929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jesper Pedersen resolved JBAS-5929.
-----------------------------------
Fix Version/s: JBossAS-5.1.0.Beta1
JBossAS-6.0.0.Alpha1
(was: JBossAS-5.1.0.CR1)
Resolution: Done
> 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.1.0.Beta1, JBossAS-6.0.0.Alpha1
>
>
> 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