Jump to content


Photo

Apache randomly crashing


  • Please log in to reply
4 replies to this topic

#1 Rarst

Rarst

    Newbie

  • Member
  • Pip
  • 6 posts
  • Main OS: Windows 7

Posted 17 March 2016 - 07:32 AM

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?



#2 Rarst

Rarst

    Newbie

  • Member
  • Pip
  • 6 posts
  • Main OS: Windows 7

Posted 29 November 2016 - 10:21 AM

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.



#3 sinha700

sinha700

    Junior Member

  • Member
  • Pip
  • 13 posts
  • Main OS: Other

Posted 29 March 2017 - 11:44 AM

So what did you to resolve the issue?

#4 sinha700

sinha700

    Junior Member

  • Member
  • Pip
  • 13 posts
  • Main OS: Other

Posted 31 March 2017 - 05:40 AM

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.



#5 sinha700

sinha700

    Junior Member

  • Member
  • Pip
  • 13 posts
  • Main OS: Other

Posted 03 April 2017 - 02:12 AM

Please reply back....




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users