• Resolved justin77

    (@justin77)


    I have a site with quite a lot of traffic. The site crashed due to heavy load on RAM and CPU. Turns out this was from a lot of cron calls… disabled wordfence and issue went away. Can you tell me how to fix so I can keep using wordfence?

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support wfmark

    (@wfmark)

    Hi @justin77,?thank you for reaching out.

    Usually with regards to site speed, some Wordfence customers can experience problems at times when intensive processes such as scans are running although shared hosting plans, size of website content, and number of installed plugins tend to be the deciding factors in this as the majority of our ~5m site installations work without issue.

    We do constantly work on making the plugin faster, perform better, and use less resources but there are not set amounts of RAM, CPU or database queries that we know Wordfence will definitely require in each use-case.

    For a screenshot of my recommended Performance setting options – Click Here.

    Aside from this, I notice your max_execution_time value is 300, which has been found to be detrimental to scan speed. We have seen issues arise when this number is above 60, so I would suggest altering this before going further.

    Your WP_MEMORY_LIMIT is 40M and could be set to 128M or 256M in wp-config.php. WooCommerce, for example, recommends 64M minimum, so if you also have many hits on the site at once especially during a Wordfence scan, a lower limit here could be reached fairly easily. Your PHP memory_limit value could also be adjusted to 128M or 256M to accommodate this change.

    I hope this helps you out!

    Thanks,

    Mark.

    Thread Starter justin77

    (@justin77)

    Thank you and how do I fix this wordfence php warning I’m getting?

    https://snipboard.io/VrjJ6N.jpg

    Plugin Support wfmark

    (@wfmark)

    Hi @justin77,

    Previously, we have seen this error when there are permissions or file-locking issues on customers site. Do you see any connectivity or permissions fail/error messages in your Wordfence > Tools > Diagnostics page? A specific area to check would be “Filesystem” near the top, but worth having a quick glance down the page just in case.

    It’s also worth checking that permissions on your WordPress site’s directories are 755, and that the process owner is www-data if appropriate for your setup. Once you’ve checked those, in your FTP or hosting file manager, navigate to your wp-content/wflogs folder. You should be able to delete the wflogs folder or its contents entirely and Wordfence should try to repopulate it within 30 minutes. If you have persistent problems with file-writing permissions, you can bypass Wordfence’s requirements entirely by setting logs to use the MySQLi storage engine: https://www.wordfence.com/help/firewall/mysqli-storage-engine/

    Thanks,

    Mark

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Slow website’ is closed to new replies.