Bug 1290473

Summary: [GSS](6.4.z) EJB thread pool keepalive not honored and is not reusing inactive threads
Product: [JBoss] JBoss Enterprise Application Platform 6 Reporter: Brad Maxwell <bmaxwell>
Component: EJBAssignee: Panagiotis Sotiropoulos <psotirop>
Status: CLOSED CANTFIX QA Contact: Jan Martiska <jmartisk>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.4.5CC: bbaranow, david.lloyd, dpospisi, jtruhlar, toddlersandor
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-24 23:39:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Brad Maxwell 2015-12-10 15:48:10 UTC
With the default configuration below, the keepalive-time does not have any effect and it is creating a new thread on every request even when there are idle threads.

        <subsystem xmlns="urn:jboss:domain:ejb3:1.5">
            ...
            <thread-pools>
                <thread-pool name="default">
                    <max-threads count="10"/>
                    <keepalive-time time="100" unit="milliseconds"/>
                </thread-pool>
            </thread-pools>
        </subsystem>

Comment 8 Brad Maxwell 2016-03-24 23:39:38 UTC
The fix is not possible in EAP 6.4.z, the proposed fix is not safe and we will have to handle this via RFE: PRODMGT-1401 to resolve it correctly