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: Out of memory (allocated 29884416) (tried to allocate 78 bytes) in /home

Discussion in 'General Discussion' started by rlshosting, Jun 23, 2011.

  1. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Fatal error: Out of memory (allocated 29884416) (tried to allocate 78 bytes) in /home/user/public_html/main/libraries/joomla/database/database/mysql.php on line 462

    I keep getting errors in Joomla, Wordpress, and everything else. How do I fix this?
     
  2. rlshosting

    rlshosting Well-Known Member

    Joined:
    Apr 23, 2009
    Messages:
    170
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    United States
    cPanel Access Level:
    Root Administrator
    Re: Fatal error: Out of memory (allocated 29884416) (tried to allocate 78 bytes) in /

    Fixed it. Turns out I had to comment out this in httpd.conf:
     
    #2 rlshosting, Jun 23, 2011
    Last edited: Jun 23, 2011
  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
    Re: Fatal error: Out of memory (allocated 29884416) (tried to allocate 78 bytes) in /

    You should either revise or remove them in /usr/local/apache/conf/httpd.conf and then re-distill to ensure the changes are kept. If you simply comment them out and do not remove them and distill those changes, they will return whenever you recompile Apache again or rebuild Apache again.

    After removing the entries in httpd.conf, you can do the following commands to ensure they are properly distilled into the new configuration:

    Code:
    cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf.bak110623
    /usr/local/cpanel/bin/apache_conf_distiller --update
    /scripts/rebuildhttpdconf
    /etc/init.d/httpd restart
    The commands above will copy a backup of the existing httpd.conf, distill the changes you've made on removing those RLimits, rebuild Apache configuration, and restart Apache to ensure the new changes take effect.
     
Loading...

Share This Page