Jump to content

Segmentation Fault - Ioncube to blame?


gareths

Recommended Posts

Hi all,

 

I have been running WHMCS (now v5.1.4) successfully on my VPS for around 4 years.

However, the last 3 days I have been having an issue with WHMCS pages not loading at all. A restart of Apache temporarily solves the problem, but it comes back after a few minutes/hour. Sometimes a page won't load first time and requires a page refresh.

 

When I successfully load a page in my WHMCS portal (i.e. before WHMCS disappears completely), I instantly get the following message.

 

Apache error log:

[Mon Mar 18 09:30:32 2013] [error] [client I.P.Address] File does not exist: /home/ftph/public_html/favicon.ico

[Mon Mar 18 09:30:32 2013] [error] [client I.P.Address] File does not exist: /home/ftph/public_html/404.shtml

[Mon Mar 18 09:30:32 2013] [notice] child pid 16151 exit signal Segmentation fault (11)

 

I am also getting a 'zend_mm_heap corrupted' error in the log.

 

After reading up on the problem, it seems that it may be caused by a PHP addon module. The only addon that is being used is IonCube loader (required for WHMCS of course).

My other websites on the same VPS are not affected (which tallies with the above diagnosis).

 

I have updated php, re-uploaded a fresh copy of Ioncube loader 5.3 and restarted the server, however the problem persists.

 

# php -v gives:

 

PHP 5.3.22 (cli) (built: Mar 16 2013 11:40:08)

Copyright © 1997-2013 The PHP Group

Zend Engine v2.3.0, Copyright © 1998-2013 Zend Technologies

with the ionCube PHP Loader v4.2.2, Copyright © 2002-2012, by ionCube Ltd.

 

Also, I thought it could be a mem issue, so:

 

# free -m

total used free shared buffers cached

Mem: 1126 250 876 0 0 0

-/+ buffers/cache: 250 876

Swap: 0 0 0

 

 

 

Does anyone have any ideas?

 

Thanks,

Gareth

Edited by gareths
Link to comment
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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated