Jump to content
The Uniform Server Community
Rarst

Apache randomly crashing

Recommended Posts

After moving to the XII version I got random Apache crashes. They can be triggered by simply F5 spamming refresh on same PHP page over and over.

[Thu Mar 17 14:24:20.550111 2016] [mpm_winnt:notice] [pid 11240:tid 544] AH00428: Parent: child process 9228 exited with status 3221225477 -- Restarting.

[Thu Mar 17 14:24:20.662118 2016] [mpm_winnt:notice] [pid 11240:tid 544] AH00455: Apache/2.4.18 (Win32) PHP/7.0.3 configured -- resuming normal operations
[Thu Mar 17 14:24:20.662118 2016] [mpm_winnt:notice] [pid 11240:tid 544] AH00456: Apache Lounge VC14 Server built: Dec  9 2015 10:17:39
[Thu Mar 17 14:24:20.663118 2016] [core:notice] [pid 11240:tid 544] AH00094: Command line: 'C:\\UniServerZ\\core\\apache2\\bin\\httpd_z.exe -d C:/UniServerZ/core/apache2 -f C:\\UniServerZ\\core\\apache2\\conf\\httpd.conf -d C:\\UniServerZ\\core\\apache2'
[Thu Mar 17 14:24:20.664118 2016] [mpm_winnt:notice] [pid 11240:tid 544] AH00418: Parent: Created child process 11352
[Thu Mar 17 14:24:21.311155 2016] [mpm_winnt:notice] [pid 11352:tid 692] AH00354: Child: Starting 150 worker threads.

Googling the code comes up with a lot of esoteric fixes, but a lot of them are from PHP5 times.

 

Any suggestions on how to diagnose what is causing this?

Share this post


Link to post
Share on other sites

This ended up being a fault of some profiler code, making use of PHP ticks, which apparently didn't work too well with PHP 7.

Share this post


Link to post
Share on other sites

Hey Guyz

Recently i have installed Uniserverz 11.0.2 in windows server 2012 R2. Apache crashes then and now and sometimes the Apache services does not start at all. Kindly find the logs below:

Windows Event log:

Faulting application name: httpd_z.exe, version: 2.4.23.0, time stamp: 0x577631b1
Faulting module name: ntdll.dll, version: 6.3.9600.18233, time stamp: 0x56bb4e1d
Exception code: 0xc0000409
Fault offset: 0x000257f9
Faulting process id: 0x199c
Faulting application start time: 0x01d2a9fbaf4a7ab2
Faulting application path: D:\UniServerZ\core\apache2\bin\httpd_z.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 9d86b2d4-15ef-11e7-8105-005056b63d92
Faulting package full name:
Faulting package-relative application ID:

 

Apache error logs at the time of service restart:

[Fri Mar 31 09:54:10.620873 2017] [mpm_winnt:notice] [pid 6556:tid 504] AH00428: Parent: child process 6632 exited with status 255 -- Restarting.
[Fri Mar 31 09:54:10.699006 2017] [mpm_winnt:notice] [pid 6556:tid 504] AH00455: Apache/2.4.23 (Win32) configured -- resuming normal operations
[Fri Mar 31 09:54:10.699006 2017] [mpm_winnt:notice] [pid 6556:tid 504] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37
[Fri Mar 31 09:54:10.699006 2017] [core:notice] [pid 6556:tid 504] AH00094: Command line: 'D:\\UniServerZ\\core\\apache2\\bin\\httpd_z.exe -d D:/UniServerZ/core/apache2'
[Fri Mar 31 09:54:10.714633 2017] [mpm_winnt:notice] [pid 6556:tid 504] AH00418: Parent: Created child process 5528
[Fri Mar 31 09:54:11.480333 2017] [mpm_winnt:notice] [pid 5528:tid 424] AH00354: Child: Starting 150 worker threads.
[Fri Mar 31 09:54:13.355518 2017] [mpm_winnt:error] [pid 5528:tid 4500] AH00326: Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting
Cannot initialize zend_mm storage [win32]

 

kindly reply back as soon as possible.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...