httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 58024] (Graceful) Restart does not work after adding a BalancerMember
Date Thu, 18 Jun 2015 09:35:29 GMT changed:

           What    |Removed                     |Added
          Component|mod_proxy_balancer          |mod_proxy
                 OS|                            |All

--- Comment #1 from ---
Here is a more simple "steps to reproduce"

1. Download Apache from  
2. Unpack it to C:\Apache24
3. Be sure that you have installed Visual C++ Redistributable for Visual Studio
2012 (==> msvcr110.dll). Maybe download
4. Open Terminal as Admin and install the service and start Apache using:

   cd C:\Apache24\bin
   httpd.exe -k install -d C:\Apache24
   httpd.exe -k start

5. Restart is working now:

   httpd.exe -k restart   

6. Add the following lines to the end of httpd.conf:

    LoadModule proxy_module modules/
    LoadModule proxy_balancer_module modules/
    LoadModule proxy_http_module modules/
    LoadModule lbmethod_byrequests_module modules/
    LoadModule slotmem_shm_module modules/

    <Proxy balancer://lb1>

    <Location /myWebapp>
        ProxyPass balancer://lb1/myWebapp
        ProxyPassReverse balancer://lb1/myWebapp

5. Restart is still working 

   httpd.exe -k restart

6. Uncomment the second BalancerMember

7. Restart is "crashing" now

   httpd.exe -k restart

The 'Apache24' service is restarting.
Failed to restart the 'Apache24' service.
nt:notice] [pid 2564:tid 492] AH00424: Parent: Received restart signal --
Restarting the server.
[Thu Jun 18 11:19:15.350509 2015] [slotmem_shm:error] [pid 2564:tid 492]
AH02599: existing shared memory for
C:/Apache24/logs/slotmem-shm-pac00a502_lb1.shm could not be used (failed size
[Thu Jun 18 11:19:15.350509 2015] [proxy_balancer:emerg] [pid 2564:tid 492]
(22)Invalid argument: AH01185: worker slotmem_create failed
[Thu Jun 18 11:19:15.350509 2015] [:emerg] [pid 2564:tid 492] AH00020:
Configuration Failed, exiting
[Thu Jun 18 11:19:17.341708 2015] [mpm_winnt:notice] [pid 1976:tid 476]
AH00364: Child: All worker threads have exited.

You are receiving this mail because:
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message