cancel
Showing results for 
Search instead for 
Did you mean: 

Magento high CPU useage

Magento high CPU useage

We have hosted our app in aws with load balancer which has several instances running, occasionally we are facing CPU High usage simultaneously on all the servers.  When we track the log files on those high usage time we get similar issues.

 

Error log:

[Tue Dec 26 06:08:30.332033 2017] [:error] [pid 17603] [client 121.216.22.143:62206] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/lib/Varien/Object.php on line 351
[Tue Dec 26 06:11:53.212017 2017] [:error] [pid 18318] [client 49.182.91.110:39402] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/app/code/core/Mage/Eav/Model/Entity/Abstract.php on line 577
[Tue Dec 26 06:12:13.381264 2017] [access_compat:error] [pid 18554] [client 13.210.14.137:45499] AH01797: client denied by server configuration: /var/www/app/etc/local.xml
[Tue Dec 26 06:15:13.036053 2017] [:error] [pid 18578] [client 110.150.20.88:63182] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/pp/code/core/Mage/Core/Model/Config.php on line 1334
[Tue Dec 26 06:18:34.972065 2017] [:error] [pid 18612] [client 14.202.99.3:60939] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/lib/Varien/Object.php on line 0, referer: https://www.google.com.au/
zend_mm_heap corrupted
[Tue Dec 26 06:18:43.688039 2017] [:error] [pid 18320] [client 49.180.141.54:32065] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/app/code/local/Amasty/Promo/Model/Sales/Quote/Item.php on line 159
[Tue Dec 26 06:22:47.980054 2017] [:error] [pid 18678] [client 49.181.165.38:19699] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/lib/Varien/Object.php on line 345, referer: https://www.google.com.au/
[Tue Dec 26 06:23:06.832047 2017] [:error] [pid 18308] [client 110.232.246.86:52085] PHP Fatal error: Maximum execution time of 120 seconds exceeded in /var/www/lib/Varien/Object.php on line 345

 

Can anyone help us on this?

1 REPLY

Re: Magento high CPU useage

It looks like your max_execution_time limit is set to 120 seconds. You may want to increase this and see if it helps.
James Lee | Moderator • Magento Master
See My Recommended Magento Hosting & Security Tips