Author |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Wed 20 Aug '14 21:45 Post subject: child process exited with status 1 - zend_mm_heap corrupted |
|
|
Sometimes the error in the subject line is preceded by "zend_mm_heap corrupted" and other times not.
Event viewer
Faulting application name: httpd.exe, version: 2.2.21.0, time stamp: 0x4e6a3015
Faulting module name: ntdll.dll, version: 6.1.7601.18247, time stamp: 0x521ea8e7
Exception code: 0xc0000005
Fault offset: 0x0002e066
Faulting process id: 0xba8
Faulting application start time: 0x01cfbca9453ac3a2
Faulting application path: D:\Apache\bin\httpd.exe
Faulting module path: C:\Windows\SysWOW64\ntdll.dll
Window-WER-diagnostics
Possible heap corruption detected (exception code 3221225477). Initiating further diagnostics.
Running on Windows 2008 R2 Std x64
24 GB RAM
Two Quad core Intel Xeon processors for 8 real and 8 virtual cpu's.
Apache 2.2.21
PHP 5.3.21
MySQL 5.6.10
The HTTPD child process starts about every 30 to 60 minutes, but very random. I can't link any specific end user activity on the server to this event. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Wed 20 Aug '14 23:03 Post subject: |
|
|
Looks a PHP issue.
Google with "zend_mm_heap corrupted" and you find some solutions.
Seems you running PHP as module. To prevent that PHP is "killing" your Apache try running it with mod_fcgid. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 20 Aug '14 23:27 Post subject: |
|
|
0xc0000005 means access violation.
Not as a solution, but a workaround increase output_buffering= in your php.ini
How ever you have to find what is crashing your php and with that apache.
I think one of your php extension is crashing php. Disable all extension that you don't use.
Upgrade your php to the last version, if you can.
If your high number of cpu cores it makes sence to to use mod_fcgid cause PHP can run on all cores and is not limited to the one core that the apache process uses. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Wed 20 Aug '14 23:28 Post subject: |
|
|
I saw several references to this, some that say it resolved the issue, with others saying it did not.
I'm rather new to the WAMP environment. Is there a detailed config I could try that explains things at the idiot level? <Grin> |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Wed 20 Aug '14 23:31 Post subject: |
|
|
Config for apache? Mod fcgid? PHP settings? |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Wed 20 Aug '14 23:49 Post subject: |
|
|
Most definitely all of the above. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Thu 21 Aug '14 3:01 Post subject: |
|
|
James, my brother-in-law is from Hamburg. Hans Jurgeon Stender. I was a US Army Pilot stationed near Stuttgart during REFORGER. Loved Oktoberfest too. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Thu 21 Aug '14 17:54 Post subject: |
|
|
It would help if you could specify your questions. Cause now it is too generell. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Thu 21 Aug '14 18:03 Post subject: |
|
|
No problem. So in my Windows environment, provide a complete configuration for adding Mod fcgid to the applicable file(s).
Thanks in advance. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Thu 21 Aug '14 18:14 Post subject: |
|
|
As a start, see the readme in the zip download here. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Thu 21 Aug '14 18:17 Post subject: |
|
|
Sorry. Don't see a link,. |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Thu 21 Aug '14 18:20 Post subject: |
|
|
see on the download pages here. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Thu 21 Aug '14 18:40 Post subject: |
|
|
Yes good to read them.
I meant: download mod fcgid from Apache Lounge and the readme in the zip. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Fri 22 Aug '14 19:56 Post subject: |
|
|
My current production version Apache 2.2.21. From some additional reading, I seems like in that version I need to uninstall Apache, compile it with the mod_fcgid and then re-install. Did I get that right???
I've also a WAMP server in the amazon cloud that will become my new prod server in the future. It's running Apache 2.49. Seems that Apache 2.4 can load mod_fcgid at run time, and thus you don't need to uninstall, compile and re-install. Did I get that right as well???
TGIF |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Fri 22 Aug '14 20:49 Post subject: |
|
|
Nope, 2.2 loads it at run time. Just follow the install instructions in the readme of the mod_fcgid zip you download from Apache Lounge, or the link James Blond gave you above for installing. |
|
Back to top |
|
jkauffman28
Joined: 20 Aug 2014 Posts: 9 Location: Paramus, NJ
|
Posted: Fri 22 Aug '14 21:31 Post subject: |
|
|
OK. Looks to be a fun weekend. |
|
Back to top |
|