Dear cPanel/WHM community,
I have a 12GB RAM VPS which is powered by WHM / cPanel. On this machine I mainly 2 medium large Magento stores as well as some small static websites. Recently though I am getting frustrated due to "Allowed memory size" errors. This is usually fixed (from my understanding) by increasing the "php_value memory_limit" in the related .htaccess file which I have set to a high value since the day I launched my store.
In any case though I am recently getting the following errors in my error_log:
I know that this now is not directly related to cPanel but what seems strange to me here is the "52428800 bytes" message which from my understanding translate to 50MB. Where could these 50MB be predefined?
I've tried several things hereby. A php info script shows the CORE memory_limit at the value I prefefined in WHM, I've seen to apply related changes to my stores .htaccess file and try to add a ini_set option in my index.php however I am still getting "Allowed memory size of 52428800 bytes exhausted" errors.
Are there any possibilities that there is some sort of limit being set from my current configuration? Could this have something to do with nginx, suhosin, memcached, zendguard or ioncube? I've seen to post this in several related forums but I haven't gotten any answer yet that could help me resolve the issue at hand.
Hardware setup:
It would be deeply appreciated if someone is able to help me with this issue. Thank you very much.
I have a 12GB RAM VPS which is powered by WHM / cPanel. On this machine I mainly 2 medium large Magento stores as well as some small static websites. Recently though I am getting frustrated due to "Allowed memory size" errors. This is usually fixed (from my understanding) by increasing the "php_value memory_limit" in the related .htaccess file which I have set to a high value since the day I launched my store.
In any case though I am recently getting the following errors in my error_log:
PHP:
PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 10282 bytes) in /home/store/public_html/includes/src/__default.php on line 2976
PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 32 bytes) in /home/store/public_html/includes/src/__default.php on line 56485
PHP Fatal error: Allowed memory size of 52428800 bytes exhausted (tried to allocate 77 bytes) in /home/store/public_html/includes/src/__default.php on line 56485
I've tried several things hereby. A php info script shows the CORE memory_limit at the value I prefefined in WHM, I've seen to apply related changes to my stores .htaccess file and try to add a ini_set option in my index.php however I am still getting "Allowed memory size of 52428800 bytes exhausted" errors.
Are there any possibilities that there is some sort of limit being set from my current configuration? Could this have something to do with nginx, suhosin, memcached, zendguard or ioncube? I've seen to post this in several related forums but I haven't gotten any answer yet that could help me resolve the issue at hand.
Hardware setup:
- VPS with 12GB RAM
- WHM / cPanel
- NginxCP
- Default PHP Version (.php files) 5
- PHP 5 Handler dso
- PHP 4 Handler none
- Apache suEXEC on
- Apache Ruid2 on
- Magento 1.5.10
- Memcache enabled
- Compilation enabled
It would be deeply appreciated if someone is able to help me with this issue. Thank you very much.
Last edited: