Bug 794765 - [as7 plugin] add maxThreads trait to JBossAS Embedded JBossWeb Connector Resources
Summary: [as7 plugin] add maxThreads trait to JBossAS Embedded JBossWeb Connector Reso...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Plugins
Version: 3.0.1
Hardware: Unspecified
OS: Unspecified
urgent
low
Target Milestone: ---
: RHQ 4.4.0
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On: 769861
Blocks: as7-plugin
TreeView+ depends on / blocked
 
Reported: 2012-02-17 15:10 UTC by Ian Springer
Modified: 2013-08-31 09:55 UTC (History)
7 users (show)

Fixed In Version:
Clone Of: 769861
Environment:
Last Closed: 2013-08-31 09:55:57 UTC
Embargoed:


Attachments (Terms of Use)

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


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