Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: How to make Apache start more quickly? |
|
Author |
|
andy_wfc
Joined: 28 Oct 2016 Posts: 6 Location: US
|
Posted: Fri 16 Jun '17 18:53 Post subject: How to make Apache start more quickly? |
|
|
I don't have a simple repro case but I see this behavior intermittently across a dozen or more different installations of Apache 2.4.x. Sometimes - seemingly at random - starting the service takes a really, really long time.
Logs:
Code: |
[Fri Jun 16 11:34:33.545603 2017] [mpm_winnt:notice] [pid 1908:tid 760] AH00455: Apache/2.4.20 (Win32) PHP/5.6.22 configured -- resuming normal operations
[Fri Jun 16 11:34:33.545603 2017] [mpm_winnt:notice] [pid 1908:tid 760] AH00456: Apache Lounge VC11 Server built: Apr 9 2016 11:30:31
[Fri Jun 16 11:34:33.545603 2017] [core:notice] [pid 1908:tid 760] AH00094: Command line: 'C:\\Apache24\\bin\\httpd.exe -d C:/Apache24'
[Fri Jun 16 11:34:33.555603 2017] [mpm_winnt:notice] [pid 1908:tid 760] AH00418: Parent: Created child process 3028
[Fri Jun 16 11:40:52.792448 2017] [mpm_winnt:notice] [pid 3028:tid 752] AH00354: Child: Starting 64 worker threads.
|
There's a 6+ minute gap between creating the child process and spinning up worker threads. It seems to work fine once those threads finally come up but what could be causing that big delay? |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3095 Location: Hilversum, NL, EU
|
Posted: Sat 17 Jun '17 9:59 Post subject: |
|
|
What happens without PHP ? |
|
Back to top |
|
|
|
|
|
|