IT 이야기/JBoss EAP
JBoss EAP Thread Pool 설정
찬찬이 아빠
2020. 4. 30. 02:28
반응형
HTTP/AJP 연결에 대한 Thread Pool 의 max 개수를 충분한 값으로 설정해 주어야 합니다.
<connector name="ajp" protocol="AJP/1.3" scheme="http" socket-binding="ajp" executor="http-threadpool" max-connections="3260"/>
<connector name="http" protocol="HTTP/1.1" scheme="http" socketbinding="http" enablelookups="false" executor="http-thread-pool" max-connections="3260"/>
스레드 풀 설정
HTTP/AJP 연결에 대한 Thread Pool 을 아래와 같이 Thread subsystem 에서 250 개 스레드를 사용할 수 있도록 설정하였습니다. AJP 연결과 HTTP 연결에 대해 별도의 스레드를 설정하여 지정하는 것도 가능합니다.
<subsystem xmlns="urn:jboss:domain:threads:1.1">
…
<unbounded-queue-thread-pool name="http-thread-pool">
<max-threads count="250"/>
<keepalive-time time="60" unit="minutes"/>
</unbounded-queue-thread-pool>
…
</subsystem>
반응형