Main Content

Monitoring mod_jk and how it is load balancing

Archive - Originally posted on "The Horse's Mouth" - 2007-10-07 18:02:23 - Graham Ellis

Apache httpd with mod_jk has the ability to balance the load forwarded to a number of instances of a Java application running in different Tomcat containers, probably on different host c.p.u.s in most circumstances. I covered this a few days ago - see here for details.

But there's a follow up question "how is the loading working out", and the status monitor in mod_jk provides you with a web front end to the stats. There's a sample configuration file here; the captured display looks something like: