This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Loadbalance with mod_jk performance Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Loadbalance with mod_jk performance" Watch "Loadbalance with mod_jk performance" New topic

Loadbalance with mod_jk performance

J Hartley
Ranch Hand

Joined: Mar 29, 2001
Posts: 52
We have mod_jk_1.2.23 on apache 2 load balancing a cluster of 2 Tomcat 5.5.23 instances.

We are load testing with JMeter. After around 9000 requests to our webapp the load balancer slows down significantly and eventually grinds to a complete halt. No more requests will be routed to the tomcat instances. We know mod_jk is the issue, because when it gets into this state we are still able to access pages served by apache without going through the LB. The tomcats are also responisve when accessed directly.

Has anyone experienced this? Or have any idea how we can resolve this?
Ramesh Ch

Joined: Dec 26, 2000
Posts: 25
could you please provide mod_jk.conf used in this ?
bob stiles

Joined: Jul 05, 2007
Posts: 1
We have the same issue!

We are using grinder.

This is our setup:
4 apaches (2.0.53)
8 jboss servers (4.0.5, tomcat 5.5)
mod_jk (using ajp13, version 1.2.22)

We have tried everything. Need help.
Ramesh Satya Venkata

Joined: Jul 02, 2007
Posts: 4
can you paste your contents of jk.conf ?

here you can find sample jk.conf below

LoadModule jk_module modules/
JkWorkersFile /etc/httpd/conf/
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat "%w %V %T"
JkMount /*.jsp worker1
JkMount /*.htm worker1
Consider Paul's rocket mass heater.
subject: Loadbalance with mod_jk performance
Similar Threads
Tomcat Cluster
where is the lb worker located?
Meaning of LoadModule jk_module libexec/ in httpd.conf
How does Mod_JK connector work?
help w/ multiple web servers using mod_jk in Production env