Scan Stage Failed
-
Scan Stage Failed
A scan stage has failed to start. This is often because the site either cannot make outbound requests or is blocked from connecting to itself. Wordfence will make up to 2 attempts to resume each failed scan stage. This scan may recover if one of these attempts is successful. Click here for steps you can try.
-
Hi @michael2010, thank you for reaching out.
Have you tried starting scans remotely from the Wordfence > Tools > Diagnostics > Debugging Options section? Does the exact same issue occur? There are other scan troubleshooting tips here: https://www.wordfence.com/help/scan/troubleshooting/
If nothing that I’ve suggested there works and you’re on Cloudflare or Litespeed, there can be other configuration requirements to prevent scans from stopping but the best way for me to determine this would be getting a scan log and diagnostic report from you.
If you could do the following steps for me:
- Go to the Wordfence > Tools > Diagnostics page
- In the “Debugging Options” section check the circle “Enable debugging mode”
- Click to “Save Changes”.
- CANCEL any current scan and start a NEW scan
- Copy the last 20 lines from the Log (click the “Show Log” link) or so of the activity log once the scan finishes and paste them in this post.
Wordfence > Tools > Diagnostic > Debugging Screenshot
This will help me see exactly what is happening when the scan fails.
Then, can you send a diagnostic report to [email protected]? You can find the link to do so at the top of the Wordfence > Tools > Diagnostics page. Then click on “Send Report by Email”. Please add your forum username where indicated and respond here after you have sent it.
NOTE: It should look as follows – Screenshot of Tools > Diagnostic > Send by Email
Thanks,
Mark.
- Mar 01 21:24:29] Scanning contents: wp-content/plugins/wpforms/src/Pro/Admin/Addons/GoogleSheets.php (Size: 4.07 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/cache/object/e22/0cb/e220cb9c68f978c5c5d1ed4c61bb4736.php (Size: 62 B Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/tourmaster/include/authorize/vendor/jms/serializer/tests/JMS/Serializer/Tests/Fixtures/AuthorReadOnly.php (Size: 1.35 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/wpforms/vendor_prefixed/stripe/stripe-php/lib/StripeClientInterface.php (Size: 616 B Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/google-site-kit/third-party/google/apiclient-services/src/AnalyticsData/RunPivotReportResponse.php (Size: 4.39 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/revslider/public/assets/assets/svg/content/ic_inbox_24px.svg (Size: 246 B Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/tourmaster/include/authorize/vendor/jms/serializer/tests/JMS/Serializer/Tests/Fixtures/ObjectWithNamespacesAndList.php (Size: 3.22 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/all-in-one-wp-migration-url-extension/lib/vendor/servmask/pro/model/export/class-ai1wmve-export-retention-base.php (Size: 6.49 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/wflogs/ips.php (Size: 51 B Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/uploads/mailpoet/cache/3d/3d90d58b4b29a4b72ce38b563e65265f2d7cbda4c3ba21658efd395a3ce113a7.php (Size: 2.35 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/revslider/public/assets/assets/svg/busy-icons-svg/tablet-chart2.svg (Size: 5.23 KB Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/tourmaster/include/stripe/lib/SourceTransaction.php (Size: 415 B Mem: 40 MB)
- [Mar 01 21:24:29] Scanning contents: wp-content/plugins/google-site-kit/includes/Core/Admin/Screen.php (Size: 7.39 KB Mem: 40 MB)
- [Mar 01 21:24:30] Forking during malware scan (12067) to ensure continuity.
- [Mar 01 21:24:30] Entered fork()
- [Mar 01 21:24:30] Calling startScan(true)
- [Mar 01 21:24:30] Got value from wf config maxExecutionTime: 0
- [Mar 01 21:24:30] Got max_execution_time value from ini: 600
- [Mar 01 21:24:30] ini value of 600 is higher than value for WORDFENCE_SCAN_MAX_INI_EXECUTION_TIME (90), reducing
- [Mar 01 21:24:30] getMaxExecutionTime() returning half ini value: 45
- [Mar 01 21:24:30] Cached result for scan start test: true
- [Mar 01 21:24:30] Starting cron with normal ajax at URL https://egypttourz.com/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=1&scanMode=custom&cronKey=325df088091e0e53e7050b2c8b3ddaa1&signature=65fb54187a205e52d5d2114ace673d6bdd352d42129701384c1a472e36335b0a
- [Mar 01 21:24:31]?Scan process ended after forking.
and i send the report to ?[email protected] my username is michael2010
any update
Hi @michael2010, Thank you for sending the diagnostic report and apologies for the delayed response.
Everything looks good on the report.
Please try all of our troubleshooting tips centered around this type of error message.
https://www.wordfence.com/help/scan/troubleshooting/#scan-process-ended-after-forking?
From the error log, I noticed you have high value set for the max_execution_time . Sometimes, a higher max_execution_time value has been found to be detrimental to scan speed. We have seen issues arise when this number exceeds 60, although Wordfence will only attempt to use half of this value by default. don’t have some performance options set.
Go to your Wordfence > Scan > Manage Scan and locate the “Performance Options” section. Set “Maximum execution time for each scan stage” to 20. For a screenshot of my recommended Performance setting options – Click Here.
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. Once done, go to Wordfence > Scan > Scan Options and Scheduling and check to see if the bottom two options in General Options are disabled. It would be best to have those disabled for now (Scan files outside your WordPress installation, Scan images, binary, and other files as if they were executable)
Additionally, confirm that the Scan Option is set to Standard. Be sure to save your changes in case you make any changes here.
Please try running scan with the updated settings and let me know whether you have any issues.
Thanks,
Mark.
-
This reply was modified 11 months, 2 weeks ago by
wfmark.
- The topic ‘Scan Stage Failed’ is closed to new replies.