logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: child process exited with status 1 - zend_mm_heap corrupted
Author
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Wed 20 Aug '14 21:45    Post subject: child process exited with status 1 - zend_mm_heap corrupted Reply with quote

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

PostPosted: Wed 20 Aug '14 23:03    Post subject: Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 20 Aug '14 23:27    Post subject: Reply with quote

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

PostPosted: Wed 20 Aug '14 23:28    Post subject: Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 20 Aug '14 23:31    Post subject: Reply with quote

Config for apache? Mod fcgid? PHP settings?
Back to top
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Wed 20 Aug '14 23:49    Post subject: Reply with quote

Most definitely all of the above.
Back to top
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Thu 21 Aug '14 3:01    Post subject: Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 21 Aug '14 17:54    Post subject: Reply with quote

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

PostPosted: Thu 21 Aug '14 18:03    Post subject: Reply with quote

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

PostPosted: Thu 21 Aug '14 18:14    Post subject: Reply with quote

As a start, see the readme in the zip download here.
Back to top
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Thu 21 Aug '14 18:17    Post subject: Reply with quote

Sorry. Don't see a link,.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Thu 21 Aug '14 18:20    Post subject: Reply with quote

Smile see on the download pages here.
Back to top
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Thu 21 Aug '14 18:28    Post subject: Reply with quote

I'm using the latest Chrome with the lasted Java and don't see a link. I'm currently reading:

http://httpd.apache.org/docs/2.2/howto/cgi.html

AND

http://httpd.apache.org/mod_fcgid/mod/mod_fcgid.html

Not sure if these are the web links you wanted me to read or not.
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3092
Location: Hilversum, NL, EU

PostPosted: Thu 21 Aug '14 18:40    Post subject: Reply with quote

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: 7371
Location: Germany, Next to Hamburg

PostPosted: Thu 21 Aug '14 20:18    Post subject: Reply with quote

There is also a full example on http://www.apachelounge.com/viewtopic.php?t=2394
Back to top
jkauffman28



Joined: 20 Aug 2014
Posts: 9
Location: Paramus, NJ

PostPosted: Fri 22 Aug '14 19:56    Post subject: Reply with quote

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

PostPosted: Fri 22 Aug '14 20:49    Post subject: Reply with quote

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

PostPosted: Fri 22 Aug '14 21:31    Post subject: Reply with quote

OK. Looks to be a fun weekend. Rolling Eyes
Back to top


Reply to topic   Topic: child process exited with status 1 - zend_mm_heap corrupted View previous topic :: View next topic
Post new topic   Forum Index -> Apache