httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From John Madden <>
Subject [users@httpd] mod_proxy_balancer design confusion?
Date Wed, 16 Aug 2006 15:40:24 GMT
As with most load balancers, I assumed by "stickysession" we were
talking about balancing based only on the value of a cookie, but as far
as I've been able to tell, that is not the case.  

On 2.2.3, with a configuration of:

ProxyRequests Off
ProxyPreserveHost On
ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On
<Proxy balancer://cluster/>
   BalancerMember min=10
   BalancerMember min=10

I'm finding that there really is no session affinity to the members at
all.  There are a few various posts in various archives with the same
findings, but with no definite conclusion as to whether or not the
balancer's doing this by design...

If we instead configure the BalancerMember's with routes and configure
the Tomcat with jvmRoutes accordingly, everything works as expected, but
without route specified, it's as if there is no session affinity at all.
So is mod_proxy_balancer intended to be a Tomcat-only feature, or are we
dealing with a bug here?  (Or, *shudder,* have I incorrectly configured
something? :))

I'd be happy to provide debug logs if it seems appropriate.


John Madden
Sr. UNIX Systems Engineer
Ivy Tech Community College of Indiana

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message