Linux, Apache, PHP, MySQL Administrators Forums

Go Back   Linux, Apache, PHP, MySQL Administrators Forums > LAMP Forums > PHP - Hypertext Preprocessor

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-01-2009, 12:16 PM
Junior Member
 
Join Date: Jan 2009
Posts: 13
Question zend_mm_heap corrupted

Anybody got a clue on how to troubleshoot this issue? It seems after this error the apache child thread goes into segmentation fault causing some user downloads to finish prematurely.

Am using PHP 5.2.6 + Apache 2.2.3 on CentOS 5.2

TIA
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-01-2009, 01:17 PM
Administrator
 
Join Date: Jan 2009
Posts: 42
Lightbulb

If you search the web for this error and start reading you'll notice that this is an ongoing issue with various PHP/Apache combinations.

What I can suggest is do a binary isolation, as you have mentioned your PHP version does not come as an approved CentOS 5.2 version so somehwre along the way an OS library that PHP depends to is the culprit.

Try disabling unneeded PHP extensions, it's good if you have an identical machine to do this.

We have had a number of occurrences like this and this method has worked 100% of the time although we were not able to specifically pinpoint which PHP/Apache module is the culprit as they differed in versions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-01-2009, 06:50 PM
Junior Member
 
Join Date: Jan 2009
Posts: 13
Red face

Quote:
Originally Posted by swordfish View Post
If you search the web for this error and start reading you'll notice that this is an ongoing issue with various PHP/Apache combinations.

What I can suggest is do a binary isolation, as you have mentioned your PHP version does not come as an approved CentOS 5.2 version so somehwre along the way an OS library that PHP depends to is the culprit.

Try disabling unneeded PHP extensions, it's good if you have an identical machine to do this.

We have had a number of occurrences like this and this method has worked 100% of the time although we were not able to specifically pinpoint which PHP/Apache module is the culprit as they differed in versions.
Thanks SW, so far what we have done was upgrade Apache to the latest stable version. The zend_mm_heap corrupted error went away however we are still seeing segmentation faults. I guess I should isolate between PHP extensions and Apache modules. Right now we only have loaded what is really needed and still experiencing segfaults. Hopefully we nag this down soon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-02-2009, 05:59 PM
Junior Member
 
Join Date: Jan 2009
Posts: 13
Lightbulb Resolved

Upgrading PHP to the latest 5.2.9 stable branch resolves the memory leak, looks like there was really a problem with one of the extensions.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 01:25 AM.


Community hosted with DotManila Consulting
Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2