The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Fatal error: Out of memory - HELP

Discussion in 'General Discussion' started by PPNSteve, Feb 3, 2008.

  1. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    WHM 11.15.0 cPanel 11.17.0-R19434
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0 with 2GB RAM

    just rebuilt apache 2.2.8, with php 5.2.5.. trying to solve a random apache crash issue.. now it's worse with this error being generated almost all the time:

    PHP Fatal error: Out of memory (allocated 786432) (tried to allocate 1245184 bytes) etc.

    the byte values may change some but never even come close to the 128MB limits we have set in php.ini

    any suggestions? this is driving both me and my DC techs nuts trying to find the cause..
     
  2. jayh38

    jayh38 Well-Known Member

    Joined:
    Mar 3, 2006
    Messages:
    1,215
    Likes Received:
    0
    Trophy Points:
    36
    What application are you running to get that error? is the new allocated memory showing properly in phpinfo(): ???
     
  3. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    we increased it to 192MB to see if that helps any..

    We're running various php scripts provided by vBulletin (forums)

    anytime the server gets slightly busy it starts happening.. this is a fresh install of RHES4 as well as the forum files..
     
  4. troxalias

    troxalias Well-Known Member

    Joined:
    Nov 21, 2001
    Messages:
    96
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Athens - Greece
  5. PPNSteve

    PPNSteve Well-Known Member

    Joined:
    Mar 13, 2003
    Messages:
    393
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Somewhere in Ilex Forest
    cPanel Access Level:
    Root Administrator
    Twitter:
    hmm.. not quite.. but I can tell you, its related to PHP, apache and mysql's interaction as well as whatever else the server is doing in the background i.e. cPanel updates, running logs, etc.

    A google search returns 1000's of recent related issues so I'm not the only one out there seeing this problem. My DC techs are stumped, the vBulletin staff is blaming the server setup, and my techs are blaming vB.. what a mess.

    also of note, this NEVER happened before the php upgrade to 5.2.x / apache 2.2.x setup.. same box although a newly installed RHE4, same scripts (less in fact since we didn't move some other sites over on the new OS install)
    mem has been tested, OK

    leaves pretty much either settings SOMEWHERE or PHP itself (memory leaks?)

    all we need is a solution now.
     
Loading...

Share This Page