[jboss-user] [Installation, Configuration & Deployment] - jboss as performance tuning

ofsen do-not-reply at jboss.com
Fri Oct 6 07:45:40 EDT 2006


Hi,

Is there any performance tuning document for Jboss/tomcat/mod_jk? I am currently having problems with mod_jk. Mod_jk  sometimes doesn't send request to jboss AS .. In mod_jk.log I get following errors:

[Fri Oct 06 10:39:50 2006][28177:28992] [info]  ajp_service::jk_ajp_common.c (1795): (node1) request failed, because of client write error without recovery in send loop attempt=0
[Fri Oct 06 10:39:50 2006][28177:28992] [info]  service::jk_lb_worker.c (873): unrecoverable error 200, request failed. Client failed in the middle of request, we can't recover to another instance.
[Fri Oct 06 10:39:50 2006][28177:28992] [info]  jk_handler::mod_jk.c (2056): Aborting connection for worker=loadbalancer
[Fri Oct 06 10:39:50 2006][27764:28992] [info]  ajp_process_callback::jk_ajp_common.c (1410): Writing to client aborted or client network problems
[Fri Oct 06 10:39:50 2006][27764:28992] [info]  ajp_service::jk_ajp_common.c (1795): (node3) request failed, because of client write error without recovery in send loop attempt=0
[Fri Oct 06 10:39:50 2006][27764:28992] [info]  service::jk_lb_worker.c (873): unrecoverable error 200, request failed. Client failed in the middle of request, we can't recover to another instance.
[Fri Oct 06 10:39:50 2006][27764:28992] [info]  jk_handler::mod_jk.c (2056): Aborting connection for worker=loadbalancer
[Fri Oct 06 10:39:51 2006][28015:28992] [info]  ajp_process_callback::jk_ajp_common.c (1410): Writing to client aborted or client network problems
[Fri Oct 06 10:39:51 2006][28015:28992] [info]  ajp_service::jk_ajp_common.c (1795): (node3) request failed, because of client write error without recovery in send loop attempt=0
[Fri Oct 06 10:39:51 2006][28015:28992] [info]  service::jk_lb_worker.c (873): unrecoverable error 200, request failed. Client failed in the middle of request, we can't recover to another instance.




I have edited worker.properties and added this line

worker.node2.cachesize=1000

After that my httpd.conf:
<IfModule prefork.c>
StartServers       30
MinSpareServers    15
MaxSpareServers   30
ServerLimit      2048
MaxClients       2048
#MaxRequestsPerChild  4000
MaxRequestsPerChild  0


And as last performance tweaking I have edited 

$JBOSS_HOME/server/default/deploy/jbossweb-tomca55.sar/conf/server.xml like:
      <!-- A HTTP/1.1 Connector on port 8080 -->
      

      <!-- A AJP 1.3 Connector on port 8009 -->
      

Now mod_jk accepts more request without problem but I again live some problmes..

I test my jboss/mod_jk with openwebload.sf.net tool

openload http://server/app/ 10 100 I get errors

But with

openload http://server:8080/app/ 10 100 I get no errors.

I really appreciate if you enlighen me..
Best Regards.



View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976548#3976548

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976548



More information about the jboss-user mailing list