Title: Server speed
Last modified: October 27, 2022

---

# Server speed

 *  Resolved [Christof](https://wordpress.org/support/users/chris30003/)
 * (@chris30003)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/server-speed/)
 * Hello,
 * I use the Wordfence plugin but I noticed that my website often hangs. So I asked
   the hoster why this could be and he told me that it is because of the Wordfence
   plugin. What can I do about it?

Viewing 1 replies (of 1 total)

 *  Plugin Support [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * (@wfpeter)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/server-speed/#post-16143266)
 * Hi [@chris30003](https://wordpress.org/support/users/chris30003/), thanks for
   getting in touch!
 * Wordfence runs well and unintrusively on the vast majority of ~5m sites it’s 
   installed on, so it’d be good if the host could perhaps point to a specific log
   file, database, or process that it sees as a cause in your case to assist with
   troubleshooting.
 * In the mean time, we are constantly working 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 or hosting
   environment. The cases of slow-down are small in relation to the quantity of 
   customers using Wordfence, but does crop up from time to time with certain configurations
   or larger databases/number of installed plugins.
 * For a screenshot of my recommended Performance setting options – [Click Here](https://www.wordfence.com/wp-content/uploads/2021/09/maxexescanperformance.png).
 * You could also set `max_execution_time = 60` in **php.ini**, Wordfence’s scan
   only ever attempts to use half of this value by default.
 * Your `WP_MEMORY_LIMIT` should be set to `128M` or `256M` in **wp-config.php**.
   WooCommerce, for example, recommend 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 should be set to `128M`
   or `256M` also to accommodate this change otherwise there won’t be enough room
   for WordPress to use the higher value it is requesting.
 * Aside from this, if there are any load-balancers or other APIs running on your
   server such as [Litespeed](https://www.wordfence.com/help/advanced/system-requirements/litespeed/)
   or Cloudflare, you could check if these (or their configuration with Wordfence)
   are contributing in any way to the slow loading times. Cloudflare for example
   requires a bespoke Wordfence IP detection option selecting, and whitelisting 
   of your own server’s IP in their settings for scans to run correctly.
 * Let me know what you find out!
 * Peter.

Viewing 1 replies (of 1 total)

The topic ‘Server speed’ is closed to new replies.

 * ![](https://ps.w.org/wordfence/assets/icon.svg?rev=2070865)
 * [Wordfence Security - Firewall, Malware Scan, and Login Security](https://wordpress.org/plugins/wordfence/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordfence/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordfence/)
 * [Active Topics](https://wordpress.org/support/plugin/wordfence/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordfence/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordfence/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [wfpeter](https://wordpress.org/support/users/wfpeter/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/server-speed/#post-16143266)
 * Status: resolved