Title: Scan failed
Last modified: February 17, 2025

---

# Scan failed

 *  Resolved [jaginho](https://wordpress.org/support/users/jaginho/)
 * (@jaginho)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/scan-failed-94/)
 * Hi,
 * When I want to run a scan on my site, I get this which appears after a certain
   time. What is this due to? What to do?
 * Scan Failed
 * The current scan looks like it has failed. Its last status update was 5 minutes
   ago. You may continue to wait in case it resumes or stop and restart the scan.
   Some sites may need adjustments to run scans reliably. [Click here for steps you can try.](https://www.wordfence.com/help/?query=scan-fails)
 * Bests regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fscan-failed-94%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [WFAdam](https://wordpress.org/support/users/wfadam/)
 * (@wfadam)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/scan-failed-94/#post-18311130)
 * Hello [@jaginho](https://wordpress.org/support/users/jaginho/) and thanks for
   reaching out to us!
 * Can you do the following so I can get the information I need to help you?
    - Stop the existing scan if it is still running (The “Start New Scan” button
      turns into a “Stop” button while the scan is running).
    - Go to your **Wordfence > Scan > Manage Scan** and locate the “Performance 
      Options” section. Set “Maximum execution time for each scan stage” to 20. 
    - Click to “Save Changes”.
    - Go to the **Tools > Diagnostics** page.
    - In the “Debugging Options” section check the circle “Enable debugging mode”.
      
      If “Start scan remotely” is checked, **uncheck this option**.
    - Click to “Save Changes”.
    - Start a new scan on the Scan page.
    - If the scan fails again, copy the last 20 lines or so from the Log (click 
      the “Show Log” link) once the scan finishes and paste them in the post.
 * On some sites, this will correct the issue. Adding “20” for the “**Maximum execution
   time for each scan stage**” tells the scan to pause every 20 seconds and start
   again where it left off, which makes the scan more performance-friendly for some
   servers. If this fixes the issue and scans run again, you can leave all the settings
   above except for “Enable Debugging Mode”.
 * For a screenshot of my recommended Performance setting options [click here](https://www.wordfence.com/wp-content/uploads/2021/09/maxexescanperformance.png).
 * Thanks again!

Viewing 1 replies (of 1 total)

The topic ‘Scan failed’ 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: [WFAdam](https://wordpress.org/support/users/wfadam/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/scan-failed-94/#post-18311130)
 * Status: resolved