日期:2014-05-17  浏览次数:20739 次

apache2.2.4+tomcat5.5 整合后cpu占用100%
配置如下

httpd.conf

LoadModule   jk_module   modules/mod_jk.so
<IfModule   jk_module>
JkWorkersFile   "D:/Program   Files/Apache   Software   Foundation/Tomcat55/conf/workers.properties "
#JkLogFile           "D:/Program   Files/Apache   Software   Foundation/Apache2.2/logs/mod_jk.log "
JkLogFile           "D:/logs/webserver_log/jk_log/mod_jk.log "
JkLogLevel         info  
JkLogStampFormat   "[%a   %b   %d   %H:%M:%S   %Y]   "
JkRequestLogFormat           "%w   %V   %T "
JkAutoAlias   "D:/Program   Files/Apache   Software   Foundation/Tomcat55/webapps "
JkMount     /servlet/*   ajp13
JkMount     /*.jsp   ajp13
JkMount     /*.do   ajp13
</IfModule>


workers.properties

workers.tomcat_home=D:/Program   Files/Apache   Software   Foundation/Tomcat55
workers.java_home=D:/Program   Files/Java/jdk1.6.0_01
ps=\
worker.list=ajp13  
worker.ajp13.port=8009  
worker.ajp13.host=localhost  
worker.ajp13.type=ajp13  
worker.ajp13.lbfactor=1  

只放几个jsp页面,cpu很正常
但是在上面放一个lybbs6.2论坛后,过1分钟cpu就100%了

请高手指点,是不是我配置哪里写的有问题?
谢谢!

------解决方案--------------------
程序的问题?