DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41680>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41680





------- Additional Comments From [EMAIL PROTECTED]  2007-06-15 11:54 -------
Thank you. Balancer-manager turned out to be a very helpful tool for analyzing
of failures.

We seem to have found the reasons why we had issues with stickysessions. At
least we believe that these were the reasons. 

If there are a few back-ends in the balancer description, then if a back-end is
either deleted or added from/to the beginning of the list, then Route values of
the following back-ends are changed.

As an example here is a part of our test configuration: 
...
<Proxy balancer://app/>
BalancerMember ajp://app1:8009 route=T1 loadfactor=1
BalancerMember ajp://app2:8009 route=T2 loadfactor=1
BalancerMember ajp://app3:8009 route=T3 loadfactor=1
BalancerMember ajp://app4:8009 route=T4 loadfactor=1
ProxySet stickysession=SessionRoute nofailover=Off
</Proxy>
...

After rebooting the httpd server we can see the following on the
balancer-manager page 

...
Worker URL      Route   RouteRedir      Factor  Set     Status  Elected To      
From
ajp://app1:8009 T1              1       0       Ok      325     1.3K    1.3M
ajp://app2:8009 T2              1       0       Ok      271     587     1.2M
ajp://app3:8009 T3              1       0       Ok      150     19K     1.2M
ajp://app4:8009 T4              1       0       Ok      137     38K     1.3M
...

However, balancer works fine. But if a 'ajp://app2:8009'  back-end is deleted
and then 'apachectl graceful' command is run, the following will be seen on the
balancer-manager page:

...
Worker URL      Route   RouteRedir      Factor  Set     Status  Elected To      
From
ajp://app1:8009 T1              1       0       Ok      325     1.3K    1.3M
ajp://app3:8009 T2              1       0       Ok      271     587     1.2M
ajp://app4:8009 T3              1       0       Ok      150     19K     1.2M
...

Routes 'T2' &#1080; 'T3 correspond to ‘app3’ and ‘app4’ back-ends '. As a result
StickySessions work non-properly. Adding back-ends to the list also results in
bad referencing for the ‘Route’ options even though they are defined by the
configuration.
 
Also, we noticed that deleting or adding back-ends affects properties of
back-ends for other balancers as well, even back-ends for other VirtualHost
sections.

Of course after changing balancers descriptions we can reboot the httpd server
or correct Route options with the help of balancer-manager. But the first
approach is not fine for us as we use the server 24x7, and the latter is not
very good for us either as there are many balancers in the server’s 
configuration.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to