We are facing a regular issue with page editing as mentioned here:
However, we have reviewed the logs and seen many PHP memory limit issues coming from this website:
[Fri May 19 05:19:42.624020 2023] [proxy_fcgi:error] [pid 22163:tid 140363522823936]] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /public_html/vendor/october/rain/src/Extension/ExtendableTrait.php on line 452PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in /home/sattvayogaacadem/domains/sattvayogaacademy.com/public_html/vendor/symfony/debug/Exception/FatalErrorException.php on line 1’, referer: wp-cron.php?doing_wp_cron=1684487980.3842430114746093750000
[Fri May 19 05:21:08.228218 2023] [proxy_fcgi:error] [pid 22163:tid 140363556394752] [remote 223.236.200.78:64352] AH01071: Got error ‘PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20480 bytes) in /public_html/vendor/october/rain/src/Extension/ExtendableTrait.php on line 452PHP message: PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 32768 bytes) in public_html/vendor/symfony/debug/Exception/FatalErrorException.php on line 1’, referer: /backend/editor
The error seems to be happening throughout the day, so we are unable to tell for certain if this is specifically the issue as we are unable to replicate the error. However, it could be related, so we have increased memory_limit for this website from 128M to 256M now:
[root@host public_html]# php -i | grep -i memory_limit
memory_limit => 256M => 256M
The site not opening and is timing out. I have even removed the cloudflare for now.
Can you let me know as to what might be causing this . We have seen all the core files and found nothing wrong.
Regards
Amit