Hi all
We have had ongoing server difficulties, using Apache 2.0.59, PHP 5.1.6, and eAccelerator 0.9.5. It was my intention to use FastCGI (as per a previous post) but on our troublesome server, this has worsened things, so I'm giving up on that for the moment. We are sadly not in a position to move servers, as presently we don't have a spare to move to. I'd therefore like to ask advice from forum users as to the things I might try changing to improve our stability. One solution we have found is to deploy a script that stops and starts the service every two hours, although this isn't desirable over the long term, of course. Without this, we get errors like "FATAL: erealloc(): Unable to allocate 126581 bytes" in the Apache error log.
We are unfortunately not in a position to upgrade PHP, as we are using an old version of the symfony framework and need to upgrade this first before it will work with the 5.2 branch. We intend to do this, but don't have time to do so at present. One thing however I am trying is to turn off the eAccelerator optimiser, as I've heard it can cause stability issues. On a careful basis I intend to expand the restart window to see if crashes start happening again.
Does anyone think that installing the latest version of Apache might help? I believe this will work with the rest of my stack. However if anyone suggests that the stability is unlikely to originate from this part of the system, I won't disturb our live environment. Also, it is worth my moving to eAccelerator 0.9.5.1? This could be deployed very easily. Would I be right in thinking this would be expected to work with PHP 5.1.6?
Thanks all.


Joined: 2007-03-01