Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Apr 2009
    Location
    United States
    Posts
    112
    cPanel/Enkompass Access Level

    Root Administrator

    Default Fatal error: Out of memory (allocated 29884416) (tried to allocate 78 bytes) in /home

    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?
    RLS Hosting|Realistic Logical Solutions
    http://www.rlshosting.com

  2. #2
    Member
    Join Date
    Apr 2009
    Location
    United States
    Posts
    112
    cPanel/Enkompass Access Level

    Root Administrator

    Default 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:
    RLimitMEM 00000000000
    RLimitCPU 000
    Last edited by rlshosting; 06-23-2011 at 02:20 AM.
    RLS Hosting|Realistic Logical Solutions
    http://www.rlshosting.com

  3. #3
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default 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.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

Similar Threads & Tags
Similar threads

  1. Fatal error: Out of memory
    By Kimono in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-07-2011, 12:36 PM
  2. I Need Help Please - Fatal error: Out of memory
    By vlee in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-04-2010, 01:41 PM
  3. Replies: 19
    Last Post: 05-04-2010, 08:40 PM
  4. GLib-ERROR : failed to allocate ... bytes
    By deus207 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 05-26-2009, 10:38 AM
  5. Replies: 0
    Last Post: 05-03-2007, 11:56 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube