Dear team,
I am writing to point out an issue that already occurred several times, and that seems to be related to core plugins (composer and cloud library). It seems that PHP fatal errors are triggered by slow queries caused by the mentioned plugins (see logs reported below).
We are on cloud hosting with optimal resources for the average traffick we have, and we accomplished all the system requirements/settings and opmitizations (Leverage Browser Caching, Gzip compression, Optimize images, CDN, several caching levels, etc.).
Today we experienced the outage apparently for a very small peak of traffick (50 sessions), that in terms of resources is considered not problematic for server capacities by the hosting technical assistance. In any case we upgraded memory limit to 512mb (from 256mb) to mitigate the issue for the future.
However, I would kindly ask you to check the logs below to understand the root cause of the issue.
Looking forward to receiving your feedback, I am available for any test or additional information.
Thank you,
regards
Pietro
Website: https://ilcaffegeopolitico.net/
:::LOG BEGINS:::
[25-Nov-2020 10:05:33 UTC] PHP Fatal error: Out of memory (allocated 117735424) (tried to allocate 45056 bytes) in /var/web/site/public_html/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_menu.php on line 894
35873:[25-Nov-2020 10:05:40 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 2220573 bytes) in /var/web/site/public_html/wp-content/plugins/td-cloud-library/includes/tdb_functions.php on line 10
35874:[25-Nov-2020 10:05:43 UTC] PHP Fatal error: Out of memory (allocated 8388608) (tried to allocate 40960 bytes) in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2880
35875:[25-Nov-2020 10:05:43 UTC] PHP Fatal error: Out of memory (allocated 31457280) (tried to allocate 40960 bytes) in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2880
35883:[25-Nov-2020 10:05:46 UTC] PHP Fatal error: Out of memory (allocated 18874368) (tried to allocate 40960 bytes) in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2880
35884:[25-Nov-2020 10:05:46 UTC] PHP Fatal error: Out of memory (allocated 8388608) (tried to allocate 20480 bytes) in /var/web/site/public_html/wp-includes/pomo/mo.php on line 323
35885:[25-Nov-2020 10:05:46 UTC] PHP Fatal error: Out of memory (allocated 16904192) (tried to allocate 32768 bytes) in /var/web/site/public_html/wp-content/plugins/td-cloud-library/includes/tdb_config.php on line 24694
35886:[25-Nov-2020 10:05:48 UTC] PHP Fatal error: Out of memory (allocated 67403776) (tried to allocate 131072 bytes) in /var/web/site/public_html/wp-content/plugins/td-cloud-library/shortcodes/header/tdb_header_mega_menu.php on line 387
36184:[25-Nov-2020 10:11:23 UTC] PHP Fatal error: Out of memory (allocated 2097152) (tried to allocate 20480 bytes) in /var/web/site/public_html/wp-content/plugins/td-composer/legacy/common/wp_booster/td_util.php on line 2880
:::LOG ENDS:::
Hello !
This seems to be more of an issue because Newspaper Theme requires min 256mb, wpml 256mb, revolution slider 256mb, we already have almost 770mb required just to run on minimum. Please upgrade your memory limit to 1-2gb.
Let us know the result !
Thank you !
Hello Vlad,
thank you very much. Please help me to understand: why do you mention wpml and rev slider? We do not have them installed on our website. After the reported issue we increased memory limit to 512mb.
Thank you,
regards
Pietro