Thanks for sending that over @miziol,
As you’re on Litespeed, it looks like $_SERVER['noabort']
is already set to prevent scans stopping without warning, which is documented here: https://www.wordfence.com/help/advanced/system-requirements/litespeed/
Secondly, I notice your?max_execution_time = 300
?in?php.ini. We have noticed problems when numbers are set higher than 60, or when it’s 0 – which effectively means “no limit”.?Wordfence only ever attempts to use half of the value set here, so it would be good to change to?max_execution_time = 60
?to see if the scan continues.
Also, check?Wordfence > Scan > Manage Scan?and locate the “Performance Options” section. Set “Maximum execution time for each scan stage” to 20
as it currently appears to be 0
. Try running a fresh scan after changing that along with the max_execution_time
.
Finally, if those approaches don’t seem to help, does setting?Wordfence > Tools > Diagnostics > Start all scans remotely?make any difference?
Many thanks,
Peter.