mod_proxy_ajp (apache 2.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello list,

it seems mod_proxy / mod_proxy_ajp does not realize config changes while
doing a
graceful restart.

I need to connect to 2 ajp-services but only to one at one time.

If I have

ProxyPass /sample balancer://balancer/sample stickysession=JSESSIONID
nofailover=On

<Proxy balancer://balancer>
BalancerMember ajp://app1:8009 route=app1 loadfactor=1 status=D
BalancerMember ajp://app2:8009 route=app2 loadfactor=1 
</Proxy>

Then everything works OK.

If I change it to 

<Proxy balancer://balancer>
BalancerMember ajp://app1:8009 route=app1 loadfactor=1
BalancerMember ajp://app2:8009 route=app2 loadfactor=1 status=D 
</Proxy>

And perform a apache -k graceful

The /balancer-manager shows the old config.
And the apache is not working like the new way but the above.

If I perform a restart - all current sessions get be killed -
and it works as it connects to the other balancer member.

Why is graceful not enough? Or what can I do to get the config
change in balancer without terminating current sessions?
(If I do it with the balancer-manager via Web it works as well).

Any hints appreciated.

Torsten.

My Server is

Server version: Apache/2.2.10 (Linux/SUSE)
Server built:   Oct 20 2009 16:38:38
Server's Module Magic Number: 20051115:18
Server loaded:  APR 1.3.3, APR-Util 1.3.4
Compiled using: APR 1.3.3, APR-Util 1.3.4
Architecture:   64-bit
Server MPM:     Prefork
  threaded:     no
    forked:     yes (variable process count)



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux