Bug 1011994 - RBAC: Thread leak in domain mode processes due to address validation
Summary: RBAC: Thread leak in domain mode processes due to address validation
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Domain Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ER4
: EAP 6.2.0
Assignee: Brian Stansberry
QA Contact: Ladislav Thon
Russell Dickenson
URL:
Whiteboard:
Depends On:
Blocks: eap62-beta-blockers 1010672
TreeView+ depends on / blocked
 
Reported: 2013-09-25 13:57 UTC by Brian Stansberry
Modified: 2013-12-15 16:13 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-15 16:13:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker WFLY-2139 0 Major Resolved ProxyStepHandler/Controller need to check access before attempting to read information 2013-11-20 16:53:55 UTC

Description Brian Stansberry 2013-09-25 13:57:55 UTC
Description of problem:

The fix for https://bugzilla.redhat.com/show_bug.cgi?id=1010672 introduce a per-management request leak in slave HostController processes when common requests (e.g. read-resource) are proxied to the slave from the master. I believe the same leak will occur on domain servers for requests proxied from the HostController.

Over time this will result in OOME situations due either to the memory resources used by the threads, or because user process count limites are reached. (For example, on Linux each thread counts as a process.)

Version-Release number of selected component (if applicable):

6.2.0.ER3

How reproducible:

Against the master host controller, execute a series of /host=<nameofslave>:read-resource operations. Monitor the thread count (e.g. using jconsole) on the slave HC process and watch it go up.


We have a fix for this already in the process of getting merged into WildFly master.

Comment 2 Rostislav Svoboda 2013-09-26 10:49:49 UTC
Hi, we think it's Beta Blocker too. We hit this problem with WebConsole experiments on ER3 build.

Comment 4 Jakub Cechacek 2013-10-04 11:00:48 UTC
Verified for 6.2.0.ER4

Tests previously failing due to this issue passed. After looking at threads through visual vm I consider this fixed.


Note You need to log in before you can comment on or make changes to this bug.