1

在 jboss7 中,如何设置 http 和 https 连接器的线程池大小。我正在使用standalone.xml 进行设置更改。谁能帮我。

提前致谢。

4

4 回答 4

4

您可以像这样在standalone.xml 中添加 max-connections 属性:

[连接器名称="http" 协议="HTTP/1.1" 方案="http" 套接字绑定="http" max-connections="1000" /]

于 2013-06-06T14:16:33.360 回答
0

Take a look here http://www.mastertheboss.com/jboss-application-server/341-jboss-as-7-performance-tuning.html?start=3

于 2012-01-11T11:29:01.500 回答
0

您可以使用maxThreads参数像这样配置它:

<subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" native="false" >

<connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" maxThreads="300" />

jBoss 站点的 API 文档:

maxThread:(int) 此池中的最大活动线程数,默认为 200

于 2017-12-05T06:27:11.333 回答
0

在您的独立 xml 中定义新的线程工厂和线程池执行器。有关详细信息,请参阅以下站点: https ://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6.3/html/Administration_and_Configuration_Guide/sect-Connector_Configuration.html

我有类似的问题,请参阅我的SO question and answer

于 2016-02-10T11:34:04.060 回答