IT분야/Server
[Server]Tomcat max thread 변경
suroMind
2013. 12. 13. 16:00
톰켓이 스레드가 부족할 경우 아래와 같은 메세지를 출력하고 다운될 때가 있다.
심각: All threads (200) are currently busy, waiting. Increase maxThreads (200) or check the servlet status
기본적인 maxThreads가 200이므로 늘려주면된다.
Tomcat폴더/conf/server.xml 파일에서 Connector 엘리먼트에서 변경 혹은 추가한다.
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="20000"
maxThreads="400"
redirectPort="8443" />
참고 : http://blog.naver.com/PostView.nhn?blogId=junix&logNo=80125225673