httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44736] New: mod_proxy_balancer looses it' s mind on reloads.
Date Wed, 02 Apr 2008 00:22:50 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=44736

           Summary: mod_proxy_balancer looses it's mind on reloads.
           Product: Apache httpd-2
           Version: 2.2.8
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: mod_proxy_balancer
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: vitiho@yahoo.com


I have in my config:

<Virtualhost 10.10.11.108:443>
        ServerName test
        DocumentRoot "/var/www/test/"
        ErrorDocument 500 "/error/50x.php"
        ErrorDocument 502 "/error/50x.php"
        ErrorDocument 503 "/error/50x.php"
        ErrorDocument 403 "/error/403.html"
        ErrorDocument 404 "/error/404.html"
        ProxyPass /error/ !
        ProxyPass /lb/ !
        RewriteEngine On
        RewriteRule ^/$ /test/ [R]
<Location /lb>
        SetHandler balancer-manager
</Location>
        ProxyTimeout 3000
        KeepAlive Off
        ProxyPass / balancer://test/ stickysession=JSESSIONID nofailover=On
        ProxyPassReverse / http://10.10.20.51:8080/
        ProxyPassReverse / http://10.10.21.51:8080/
        <Proxy balancer://dashboard/>
                BalancerMember http://10.10.20.51:8080 route=node1 retry=0
                BalancerMember http://10.10.21.51:8080 route=node2 retry=0
        </Proxy>
        ProxyPreserveHost On
        ProxyErrorOverride On
        SSLEngine on
        SSLCertificateFile /etc/httpd/certs/_.localhost.com.crt
        SSLCertificateKeyFile /etc/httpd/certs/_.localhost.com.key
        SSLCertificateChainFile /etc/httpd/certs/some_intermediate.crt
#       LogLevel debug
        ErrorLog /var/log/httpd/test.error.log
        CustomLog /var/log/httpd/test.access.log combined
</Virtualhost>


When apache 2.2.8 starts everything works fine and if I go to
https://10.10.11.108/lb/

I see something like this:

StickySession   Timeout FailoverAttempts        Method
JSESSIONID      0       1       byrequests

Worker URL      Route   RouteRedir      Factor  Set     Status  Elected To     
From
http://10.10.20.51:8080 node1           1       0       Ok      19013   19M    
143M
http://10.10.21.51:8080 node2           1       0       Ok      1602    752K   
5.1M

However sometimes if i modify other virtualhosts and do:

# apachectl graceful

Load balancer looses stickyness, and if i go to https://10.10.11.108/lb/

I see something like this:

StickySession   Timeout FailoverAttempts        Method
JSESSIONID      0       1       byrequests

Worker URL      Route   RouteRedir      Factor  Set     Status  Elected To     
From
http://10.10.20.51:8080                 0       0       Ok      19013   19M    
143M
http://10.10.21.51:8080 node1           1       0       Ok      1602    752K   
5.1M

If you do: /etc/init.d/httpd restart it works fine.


-- 
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


Mime
View raw message