Apache instance doesn't start and reports error "create child process failed. Exiting"

Document ID : KB000006883
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

I try to start the Web Agent, but it doesn't start properly and Apache reports error :

AH00419: master_main: create child process failed. Exiting.

Environment:
Web Agent 12.52 SP1 CR05 64bit on Apache Lounge v11 2.4.16 64bit on Windows 2012 R2 – 64 Bit
Cause:

Apache Lounge v11 2.4.16 64bit running on Windows 2012 R2 needs some specific OS settings to run correctly. It needs tuning of the stack reserve space.

Resolution:

Do the following tasks:

- Open the Visual Studio command-line window.
- Run the following command:

editbin /STACK:524288 httpd.exe

- Verify that the stack reserve space has been updated to 80000(hex).

Reference: R12.52 SP1 Web Agent Installation Guide for Apache-based servers

Additional Information:

To run editbin command, you need to have Visual Studio installed. The Visual Studio Express version includes it.

The "Microsoft Visual C++ 2017 Redistributable (x64) - 14.10.25017" installs it here by default :

c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Tools\MSVC\14.10.25017\bin\HostX64\x64\editbin.exe