중형서버에서 톰캣 8개를 띄워놓고, 제대로 동작되는지 확인하고 싶었다.

mod_jk.conf 에서 debug 레벨을 debug로 수정하고, 아파치 restart 하였다.

 

 

그리고, 로그를 확인한다. 워커가 정상적으로 선택되는지 알 수 있당~

tail -f mod_jk.log | grep "found best worker"

 


[Thu Apr 17 17:17:28 2008] [15701:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8010 (tomcat8010) using method 'Request'
[Thu Apr 17 17:17:30 2008] [15701:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8011 (tomcat8011) using method 'Request'
[Thu Apr 17 17:17:30 2008] [15700:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8012 (tomcat8012) using method 'Request'
[Thu Apr 17 17:17:30 2008] [15702:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8013 (tomcat8013) using method 'Request'
[Thu Apr 17 17:17:31 2008] [15702:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8014 (tomcat8014) using method 'Request'
[Thu Apr 17 17:17:31 2008] [15700:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8015 (tomcat8015) using method 'Request'
[Thu Apr 17 17:17:33 2008] [15700:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8016 (tomcat8016) using method 'Request'
[Thu Apr 17 17:17:33 2008] [15704:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8014 (tomcat8014) using method 'Request'
[Thu Apr 17 17:17:33 2008] [15702:9920] [debug] get_most_suitable_worker::jk_lb_worker.c (600): found best worker tomcat8015 (tomcat8015) using method 'Request'
[Thu Apr 17 17:17:33 2008] [15702:9920] [debug] get_

Posted by 김용환 '김용환'

댓글을 달아 주세요