一台web server, 以前用apache2.2+mod_jk+tomcat5.5。不知道什么原因(也许是我配置的原因),mod_jk.log里总是这样的报错- [Tue Oct 17 10:41:42 2006] [22346:0018] [info] ajp_send_request::jk_ajp_common.c (1218): (ajp13) all endpoints are disconnected or dead
- [Tue Oct 17 10:41:42 2006] [22346:0018] [info] ajp_service::jk_ajp_common.c (1867): (ajp13) sending request to tomcat failed, recoverable operation attempt=1
- [Tue Oct 17 10:41:43 2006] [22352:0018] [info] ajp_send_request::jk_ajp_common.c (1170): (ajp13) socket 23 is not connected any more (errno=11)
- [Tue Oct 17 10:41:43 2006] [22352:0018] [info] ajp_send_request::jk_ajp_common.c (1194): (ajp13) error sending request. Will try another pooled connection
- [Tue Oct 17 10:41:43 2006] [22352:0018] [info] ajp_send_request::jk_ajp_common.c (1218): (ajp13) all endpoints are disconnected or dead
- [Tue Oct 17 10:41:43 2006] [22352:0018] [info] ajp_service::jk_ajp_common.c (1867): (ajp13) sending request to tomcat failed, recoverable operation attempt=1
复制代码 本来系统负载就不大。一赌气把apache+mod_jk去掉。直接把tomcat顶到80端口上。暂时还可以。只是日志里大量的***.php,****.asp等等。全是垃圾信息。每一个文件都7,8行日志。日志文件很快就长的很大。
程序用的是webwork,如何才能不在日志里显示这些垃圾404错误?
|
|