You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/05/15 16:14:19 UTC

DO NOT REPLY [Bug 45008] New: Problem with nofailover option

https://issues.apache.org/bugzilla/show_bug.cgi?id=45008

           Summary: Problem with nofailover option
           Product: Apache httpd-2
           Version: 2.0-HEAD
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ktsour@gmail.com


I have used the following configuration with Apache 2.2.0 :

---------------------------
ProxyRequests Off
ProxyPass /balancer !
ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On
ProxyPassReverse / balancer://cluster/

<Proxy balancer://cluster>
  Order Deny,Allow
  Allow from all

  BalancerMember http://192.168.1.141:8081 route=tomcat1
  BalancerMember http://192.168.1.142:8081 route=tomcat2
</Proxy>

<Location /balancer>
  SetHandler balancer-manager

  Order Deny,Allow
  Allow from all
</Location>
----------------------------

The problem is that when I disable one of the servers, Apache does not break
the session and continues sending requests to the disabled server, when I
continue using the same browser session.

The only way to continue is to open a new browser, so that there is no session.
Then Apache redirects new requests to the live node only.

So, the problem is that, even if I have used the nofailover=On, Apache does not
break the session of disabled nodes.

Others have had the same problem some time ago and noone responded to their
question, so I am guessing this should be a bug.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45008] Problem with nofailover option

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45008





--- Comment #2 from Kyriakos Tsourapas <kt...@gmail.com>  2008-05-16 02:48:18 PST ---
I comment the documentation :

nofailover      Off     If set to On the session will break if the worker is in
error state or disabled. Set this value to On if backend servers do not support
session replication.


So, since my backend servers do not have session replication, I should set
nofailover to On, so that the session breaks. I set it to Off like you
suggested and it worked. 

So the documentation is misleading.

Thank you for your support.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 45008] Problem with nofailover option

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45008


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-05-15 08:22:18 PST ---
First, please use the latest 2.2.x version and check if the problem still
persists. There were many proxy fixes since 2.2.0.
Second, your configuration is wrong: nofailover needs to be set to off (the
default value) instead of on.


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

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org