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.

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:
    1
    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:
    462
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Have you adjusted apache memory limit from the WHM > Main >> Service Configuration >> Apache Configuration > Memory Usage Restrictions
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    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!
     
Loading...

Share This Page