Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Fatal error: Allowed memory size

Discussion in 'General Discussion' started by egrueda, Apr 3, 2012.

  1. egrueda

    egrueda Member

    Joined:
    Mar 29, 2011
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Madrid, Spain
    Hi all. Ive just updated to cpanel 11.30.6.7
    Now all domains in the server using php are showing an error:

    ---
    Allowed memory size of xxxxx bytes exhausted (tried to allocate xxxxx bytes)
    ---

    I've tried modifying memory_limit, but keeps failing. All domains are failing (joomla, magento, etc) so it must be something related with the php configuration.

    Did something changed (so deep) from 11.30 to 11.30.6.7?
    Where sould I start looking?

    Thanks
     
  2. storminternet

    storminternet Well-Known Member

    Joined:
    Nov 2, 2011
    Messages:
    460
    Likes Received:
    0
    Trophy Points:
    66
    cPanel Access Level:
    Root Administrator
    Have you adjusted apache memory limit from the WHM > Main >> Service Configuration >> Apache Configuration > Memory Usage Restrictions
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,609
    Likes Received:
    32
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hi,

    If you have added those memory limits mentioned by storminternet, then check if they show in /usr/local/apache/conf/httpd.conf

    Code:
    grep -i rlimit /usr/local/apache/conf/httpd.conf[code]
    
    If you show RLimitMEM, try commenting it out with # at the beginning of the line, then restart Apache. If that works, then distill that change and restart Apache again:
    
    [code]/usr/local/cpanel/bin/apache_conf_distiller --update
    /etc/init.d/httpd restart
    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice