[JBoss EAP] JBoss EAP의 AJP thread pool 갯수 변경
본문 바로가기
IT 이야기/JBoss EAP

[JBoss EAP] JBoss EAP의 AJP thread pool 갯수 변경

by 찬찬이 아빠 2019. 11. 19.
반응형

JBoss EAP의 AJP thread pool 갯수를 변경하려면 어떻게 해야 할까요?

 

/JBOSS/domains/node10/configuration/standalone.xml 또는 standalone-ha.xml 파일에 다음과 같은 형식으로 추가합니다.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<subsystem xmlns="urn:jboss:domain:threads:1.1">
   <thread-factory name="http-connector-factory-a" group-name="http-a" thread-name-pattern="HTTP-%t" />
      <bounded-queue-thread-pool name="ajp-executor">
         <core-threads count="4096" />
         <queue-length count="2000" />
         <max-threads count="4096" />
         <thread-factory name="http-connector-factory-a" />
      </bounded-queue-thread-pool>
</subsystem>
..........
 
<subsystem xmlns="urn:jboss:domain:web:1.5" default-virtual-server="default-host" native="false">
   <configuration>
      <jsp-configuration development="true" check-interval="1" modification-test-interval="1" recompile-on-fail="true" x-powered-by="false"/>
   </configuration>
   <connector name="http" protocol="HTTP/1.1" scheme="http" socket-binding="http" />
   <connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" executor="ajp-executor" />
   <virtual-server name="default-host" enable-welcome-root="false">
      <alias name="localhost"/>
   </virtual-server>
</subsystem>
cs
반응형

댓글