• Resolved Mahmoud Hossam

    (@moodyhosam)


    Hello WordFence team,

    I have just noticed that the plugin is exceeding the max memory allowed. As per the logs, it seems to be periodic i.e. every three days.

    [25-Oct-2024 05:24:23 UTC] PHP Fatal error:  Allowed memory size of 805306368 bytes exhausted (tried to allocate 199510960 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 733
    [28-Oct-2024 05:22:55 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 199490176 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 733
    [31-Oct-2024 05:18:51 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 161484800 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 733
    [03-Nov-2024 05:22:49 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 161484800 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 733
    [06-Nov-2024 05:22:09 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 169873408 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 745
    [09-Nov-2024 05:21:13 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 197632872 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 745
    [12-Nov-2024 05:24:59 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 195922328 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 745
    [15-Nov-2024 05:22:00 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 198236360 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 745
    [18-Nov-2024 05:22:13 UTC] PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate 195248520 bytes) in [my_website_root]/wp-content/plugins/wordfence/lib/wfConfig.php on line 745

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @moodyhosam, thanks for reaching out about this.

    Errors like?Allowed memory size of x bytes exhausted (tried to allocate x bytes), or?Out of memory (allocated X) (tried to allocate X bytes)?are?almost always?memory exhaustion occurring somewhere else on the server. Once this happens, anything that requires some memory, like our scans or plugin updates can trigger the error but it’s not the root cause from multiple tests with customer server logs and Wordfence diagnostic data.

    Your operating system/web server log files will likely show if memory is being exhausted somewhere outside of PHP and why. This is usually a job for your hosting company’s support as they have access to those logs, can diagnose the source and potentially resolve the problem internally. Shared servers especially could be susceptible to this problem, but that’s from other cases we’ve seen, and may not be the same cause for you.

    Let us know what you find out!
    Peter.

    Thread Starter Mahmoud Hossam

    (@moodyhosam)

    thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.