Bug 794765

Summary: [as7 plugin] add maxThreads trait to JBossAS Embedded JBossWeb Connector Resources
Product: [Other] RHQ Project Reporter: Ian Springer <ian.springer>
Component: PluginsAssignee: Heiko W. Rupp <hrupp>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: low Docs Contact:
Priority: urgent    
Version: 3.0.1CC: ccrouch, dsteigne, hrupp, loleary, mbenmans, sappleto, spinder
Target Milestone: ---   
Target Release: RHQ 4.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 769861 Environment:
Last Closed: 2013-08-31 09:55:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 769861    
Bug Blocks: 707223    

Comment 1 Charles Crouch 2012-02-21 21:16:01 UTC
This bug is to get the feature that was patched into as4 and 5 plugins, pushed into the as7 plugin too.

Comment 2 Simeon Pinder 2012-02-22 14:53:25 UTC
This issue is currently blocked by AS7 bug: 
  https://issues.jboss.org/browse/JBPAPP-8188

Comment 3 Charles Crouch 2012-04-09 19:50:20 UTC
Tidied up blocker bugs and set to Urgent.
Whats the next step now JBPAPP-8188 has been resolved?

Comment 4 Simeon Pinder 2012-04-09 21:20:31 UTC
The original fix now needs to be applied using max-connections wherever max-threads would have applied.

Comment 5 Heiko W. Rupp 2012-04-10 20:16:08 UTC
max-connections is a configuration entry, not a metric

"max-connections" => {
                "type" => INT,
                "description" => "Amount of concurrent connections that can be processed by the connector with optimum performance. The default value depends on the connector used.",
                "expressions-allowed" => false,
                "nillable" => true,
                "min" => 1L,
                "max" => 2147483647L,
                "access-type" => "read-write",
                "storage" => "configuration",
                "restart-required" => "all-services"
            },



I have reopened https://issues.jboss.org/browse/AS7-4115

Comment 6 Heiko W. Rupp 2012-04-13 14:32:02 UTC
Trait will query the metric on as . If it returns null, we return some default.

Comment 7 Heiko W. Rupp 2012-04-13 15:02:30 UTC
Defaults (from JCF) are
 
512 * number of cpu cores for JIO.
32 * number of cpu cores for APR.

Comment 8 Heiko W. Rupp 2012-04-18 10:11:27 UTC
master 50dcfe774c99

Comment 9 dsteigne 2012-05-14 14:19:19 UTC
Installed as 7 server and verified Trait was now available