Replies: 0
Hello, after activating Wordfence , the website crashed 7 times over the next few hours for “Internal Server Error” Error logs on the server show that Wordfence ran out of memory after using 2.6MB, but Wordfence options show memory set to 256MB. Server is LiteSpeed and did trying toggling the “no abort” option, which made no difference.
Error: [02-Jan-2025 15:43:59 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2673040 bytes) in /public_html/wp-content/wflogs/rules.php on line 5546. [02-Jan-2025 15:44:44 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2673040 bytes) in /public_html/wp-content/wflogs/rules.php on line 5546. [02-Jan-2025 15:44:47 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2673040 bytes) in /public_html/wp-content/wflogs/rules.php on line 5546. [02-Jan-2025 15:44:54 UTC] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 2673040 bytes) in /public_html/wp-content/wflogs/rules.php on line 5546
This is saying that the allowed memory size (134MB) was exhausted after trying to allocate 2.6MB (well within the limit). Both of these figures are wrong, the PHP memory limit for the site is set to 1024MB in the INI and 512MB in the wp-config.php file, both well in excess of the 134MB figure.