SecondSight Posted August 20, 2016 Posted August 20, 2016 Hello ! I've just upgraded to version 4.1.14 and now I'm getting errors : Quote Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 3072 bytes) in /home/myboard/public_html/init.php(453) : eval()'d code on line 1 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 248 bytes) in /home/myboard/public_html/applications/cms/Application.php(78) : eval()'d code on line 3 Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 76 bytes) in /home/myboard/public_html/system/3rd_party/HTMLPurifier/HTMLPurifier/ChildDef/Required.php on line 33 I also have this message in the ACP : Quote Maintenance tasks The following tasks appear to be locking frequently: pop. Please run them manually. If you require assistance with any errors shown please contact technical support. I already have memory_limit set to 128 M. Should I set it to 256 M ? Thank you !
ASTRAPI Posted August 20, 2016 Posted August 20, 2016 Quote I already have memory_limit set to 128 M. Should I set it to 256 M ? Yes and if you have more free memory on your system give it some more About the maintenance tasks you may have some issues with the php execution timeouts so it is always better to login using ssh and run the commands from there manually
SecondSight Posted August 21, 2016 Author Posted August 21, 2016 Well, I've set memory_limit to 256 M and it doesn't change anything... I still get the same type of messages : Quote Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 49152 bytes) in /home/forums/public_html/applications/cms/sources/Fields/Fields.php on line 1616 What did I do wrong ? Thank you !
ASTRAPI Posted August 21, 2016 Posted August 21, 2016 Quote Allowed memory size of 134217728 bytes exhausted The change to 256MB is not active .... Make sure that you change the correct file/value and then restart php before you try again...... You can locate the correct php file that you must edit just run from ssh: php --ini and the value is: memory_limit = At the end you can verify it by using: php -i | grep memory_limit
SecondSight Posted August 21, 2016 Author Posted August 21, 2016 I had made the changes in WHM but I didn't restart Apache. # cat /usr/local/lib/php.ini | grep memory memory_limit = 256M I restarted Apache to see if it works now.
SecondSight Posted August 21, 2016 Author Posted August 21, 2016 Well, I thought that restarting Apache would make it (service httpd restart). I use Centos 6.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.