With this configuration our werbsite is working fine. We were able to browse both static html and jsp/servlet pages without any problem. But, in mod_jk.log file we are getting a whole lot of error messages, kind of similar error messages repeating over and over again. Since, JSP pages were served without any problem we have ignored these messages. But in last month our web server crashed twice. Hence, we started digging into this problem. Ours is a very busy website. It gets serveral million hits per month. But I could replicate the same problem on pre-production server.

Seems like jk is very verbose in its logging. It also seems that (like your case), the 'errors' can't be matched back up to any client-visible errors.

This type of question ("why does jk produce these error messages?") is very commonly seen on tomcat-user. They usually get the response that mine did (ie: none).

Narsimha Manekar
Ranch Hand

Joined: Mar 05, 2001
Posts: 35

posted Jun 10, 2004 09:42:00

0

Thank you Mike. Your reply was quite helpful. I came to know that /******************/ [jk_ajp_common.c (1303)]: ERROR: Client connection aborted or network problems

Which I understand. Someone clicked 'stop' on the browser. /*********************/ Our maxProcessors and maxClient are different. I will match those two and see if it would make any change. As I mentioned earlier ours is a very busy site. I am not that much worried about the logs messages, but recently our server crashed twice. Also we are getting some 500 (Internal Server Error) messages in access_log file. It is still a mistery to us.

Thank you

-rao

Narsimha Manekar
Ranch Hand

Joined: Mar 05, 2001
Posts: 35

posted Jun 14, 2004 08:34:00

0

Hi all I happened to check Tomcat log files catalina_log.XXX.txt, they were filled with following error /*********************************/ 2004-05-01 04:50:11 Ajp13Connector[11009] No processor available, rejecting this connection /*********************************/ I immediately increased maxProcessor value from 75 to 200 in Tomcat's server.xml file and set the same value to MaxClients in Apache's httpd.conf file.

Now my catalina_log.XXX.txt file is little cleaner. I could narrow down to few error messages:

in Tomcat's catalina_log.XXX.txt file I am getting ----------------------------------------------------- 2004-05-01 02:52:56 Ajp13Processor[11009][64] process: invokejava.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.ajp.Ajp13.send(Ajp13.java:525) at org.apache.ajp.RequestHandler.finish(RequestHandler.java:501) at org.apache.ajp.Ajp13.finish(Ajp13.java:395) at org.apache.ajp.tomcat4.Ajp13Response.finishResponse(Ajp13Response.java:196) at org.apache.ajp.tomcat4.Ajp13Processor.process(Ajp13Processor.java:464) at org.apache.ajp.tomcat4.Ajp13Processor.run(Ajp13Processor.java:551) at java.lang.Thread.run(Thread.java:534) /******************************************************************/