Apache/PHP Memory Issues
Was getting this error:
A Fatal Excepiton occurred and the application needed to be stopped.
The following is the error information:
Type: 1
File: /usr/local/lib/php/Mail/Mbox.php, Line: 794
Message: Allowed memory size of 134217728 bytes exhausted (tried to allocate 67920656 bytes)
Was told it was a PHP memory error. I changed the php memory_limit to -1 for unlimited. Now I get this error:
A Fatal Excepiton occurred and the application needed to be stopped.
The following is the error information:
Type: 1
File: /usr/local/lib/php/Mail/mimeDecode.php, Line: 419
Message: Out of memory (allocated 212074496) (tried to allocate 67918448 bytes)
Its close, but not the same. The Virtual has 30 Gig of RAM allocated to it. How can I fix this?
-
Updating "Max cPanel process memory" from "512" to "2048". "Max cPanel process memory" was updated. It's a setting in tweak settings. 0 -
Updating "Max cPanel process memory" from "512" to "2048". "Max cPanel process memory" was updated. It's a setting in tweak settings.
Hello @Shane3673, cPanel/WHM use a separate instance of PHP, so there's a separate memory limit configurable in "WHM >> Tweak Settings", as you mentioned. It's the memory limit you adjust for PHP scripts utilized as plugins for cPanel or WHM. Could you verify if this addressed the issue? Thank you.0 -
The "Max cPanel process memory" in tweak settings is what fixed the second error. The first error was fixed with the PHP configuration area in WHM. The error was coming up in a webmail plugin for SMCP. 0 -
I'm happy to see you were able to address the issue. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
4 comments