Apache 500/503 에러

[Wed Mar 19 13:36:12 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:36:12 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:36:53 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:36:53 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:36:58 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:36:58 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:36:59 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:36:59 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:46:09 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:46:09 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:46:09 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:46:09 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)
[Wed Mar 19 13:46:10 2014] [error] ajp_read_header: ajp_ilink_receive failed
[Wed Mar 19 13:46:10 2014] [error] (70007)The timeout specified has expired: proxy: read response failed from (null) (web01)

언젠가부터 Apache의 에러로그에 위와 같은 에러가 빈번히 발생했다.

http://javaworkbench.blogspot.jp/2013/09/apache-web-server-tomcat-ajp.html

위 사이트를 참고해보니 8009포트에서 커넥션풀의 사이즈가 부족해서 Apache에서 기다리다가 timeout이 발생한다고 한다.
그래서 JBoss의 아래 설정처럼 maxConnections와 maxThreads를 늘렸다.

아직까지 2일정도 지났는데 문제가 없는것 같다.

This entry was posted in Apache. Bookmark the permalink.