Time limit exceeded and errors in the log
-
Hello,
Since a week orso we have been getting the error: “Details:?The scan time limit of 3 uren has been exceeded and the scan will be terminated. This limit can be customized on the options page.?Get More Information“
When I check the log I often see: “Trying to access array offset on value of type bool (2) File: /home/XXXXXXXXXX/domains/XXXXXXXXXXX.nl/public_html/wp-content/plugins/wordfence/lib/wordfenceURLHoover.php Line: 114”
Weirdest thing is that the scan seems to start around 00:00 and fails around 00:30 claiming it has run for more then 3 hours?
Could there be a setting in my WordPress that is causing this? Or perhaps a setting in Wordfence that is set wrong?
If you require a status-report, is there one from Wordfence I need to copy/paste?
When I go to wp-admin/admin.php?page=WordfenceTools&subpage=diagnostics I don’t see anything weird.
-
Hi @supervinnie41 , thanks for reaching out.
Could you please 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.
Additionally, please 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
Let me know if you have any questions!
Thanks,
Mark
Hi @supervinnie41,
I can’t find your diagnostic in our inbox. Please follow the instructions in my previous post if you’ve not sent it yet, or try downloading it and sending it as an attachment if you already tried directly from your site.
Thanks again,
Mark.- This reply was modified 1 year, 1 month ago by wfmark.
Apologies for my following up on my post. We have had some major websites issues due to another plugin. So we have had to priorities getting everything working again and sorting out the problem.
Below is the entry from the debug log. I’m afraid it is in Dutch.
[Oct 23 07:54:51:1698040491.742552:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=timestamp [Oct 23 07:53:51:1698040431.331349:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=resolve_ips [Oct 23 07:52:27:1698040347.964397:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=get_wp_file_content [Oct 23 07:51:49:1698040309.782375:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=get_wp_file_content [Oct 23 07:49:55:1698040195.213040:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=resolve_ips [Oct 23 07:49:54:1698040194.631355:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/stats.json [Oct 23 04:56:44:1698029804.711509:10:info] SUM_FINAL:Scan gereed. Je hebt 1 nieuw probleem om op te lossen. Bekijk onderstaande. [Oct 23 04:56:44:1698029804.710991:1:info] Snelle scan gereed. Gescand in Minder dan 1 seconde. [Oct 23 04:56:44:1698029804.663665:2:info] Wordfence gebruikt 0 B geheugen voor het scannen. Piek geheugen gebruik van de server was: 289.37 MB [Oct 23 04:56:44:1698029804.662778:1:info] ------------------- [Oct 23 04:56:44:1698029804.659672:10:info] SUM_ENDBAD:Scan voor oude thema, plugins en core bestanden [Oct 23 04:56:44:1698029804.247452:10:info] SUM_START:Scan voor oude thema, plugins en core bestanden [Oct 23 04:56:44:1698029804.243933:10:info] SUM_ENDOK:Controleer status web applicatie firewall [Oct 23 04:56:44:1698029804.243516:10:info] SUM_START:Controleer status web applicatie firewall [Oct 23 04:56:44:1698029804.241514:4:info] getMaxExecutionTime() geeft halve ini waarde: 45 [Oct 23 04:56:44:1698029804.241298:4:info] ini waarde van 600 is hoger dan de waarde voor WORDFENCE_SCAN_MAX_INI_EXECUTION_TIME (90), verminderen [Oct 23 04:56:44:1698029804.241092:4:info] Kreeg max_execution_time waarde van ini: 600 [Oct 23 04:56:44:1698029804.240874:4:info] Kreeg waarde van wf config maxExecutionTime: 0 [Oct 23 04:56:44:1698029804.240612:1:info] Initieer snel scan [Oct 23 04:56:44:1698029804.239020:10:info] SUM_PREP:Preparing a new scan. [Oct 23 04:56:44:1698029804.237435:4:info] Configureer scanRunning en scan starten [Oct 23 04:56:44:1698029804.237211:4:info] Configureer een fout afhandeling omgeving [Oct 23 04:56:44:1698029804.236983:4:info] Maximum geheugen aanvragen [Oct 23 04:56:44:1698029804.235611:4:info] Controleren of de scan al loopt [Oct 23 04:56:44:1698029804.234458:4:info] Opgeslagen cronkey controleren aan de hand van cronkey-parameter [Oct 23 04:56:44:1698029804.234216:4:info] Cronkey controleren: 982f6495b373ec26c0d9b0c727053e20 (verwacht 982f6495b373ec26c0d9b0c727053e20) [Oct 23 04:56:44:1698029804.233788:4:info] Ophalen van opgeslagen cron sleutel om te vergelijking. [Oct 23 04:56:44:1698029804.233481:4:info] Controleer aanvraag handtekening. [Oct 23 04:56:44:1698029804.233092:4:info] Scan engine heeft aanvraag ontvangen. [Oct 23 04:56:43:1698029803.033438:4:info] Scanproces be?indigd na forking. [Oct 23 04:56:41:1698029801.843671:4:info] Start cron met normale ajax op URL https://www.mysterymountain.nl/wp-admin/admin-ajax.php?action=wordfence_doScan&isFork=0&scanMode=quick&cronKey=982f6495b373ec26c0d9b0c727053e20&signature=82c14e0d68afb7c3eb1f519dbbc36f6ce500bd1f0b1c12f3cbf3cf83c9152692 [Oct 23 04:56:41:1698029801.842145:4:info] Testresultaat van het ophalen van de URL voor het starten van de scan: array ( 'headers' => WpOrg\Requests\Utility\CaseInsensitiveDictionary::__set_state(array( 'data' => array ( 'date' => 'Mon, 23 Oct 2023 02:56:39 GMT', 'server' => 'Apache/2', 'x-powered-by' => 'PHP/8.0.28', 'pragma' => 'no-cache', 'x-robots-tag' => 'noindex', 'x-content-type-options' => 'nosniff', 'expires' => 'Wed, 11 Jan 1984 05:00:00 GMT', 'cache-control' => 'no-cache, must-revalidate, max-age=0, no-store', 'referrer-policy' => 'strict-origin-when-cross-origin', 'x-frame-options' => 'SAMEORIGIN', 'set-cookie' => 'PHPSESSID=8thufgrm7deba93sifi3io8a7u; path=/; secure; HttpOnly', 'upgrade' => 'h2,h2c', 'vary' => 'Accept-Encoding,User-Agent', 'content-encoding' => 'gzip', 'content-length' => '32', 'content-type' => 'text/html; charset=UTF-8', 'alt-svc' => 'h3=":443";ma=180;', ), )), 'body' => ' [Oct 23 04:56:39:1698029799.191775:4:info] getMaxExecutionTime() geeft halve ini waarde: 45 [Oct 23 04:56:39:1698029799.191514:4:info] ini waarde van 300 is hoger dan de waarde voor WORDFENCE_SCAN_MAX_INI_EXECUTION_TIME (90), verminderen [Oct 23 04:56:39:1698029799.191316:4:info] Kreeg max_execution_time waarde van ini: 300 [Oct 23 04:56:39:1698029799.191022:4:info] Kreeg waarde van wf config maxExecutionTime: 0 [Oct 23 04:56:39:1698029799.137493:4:info] Start scan routine invoeren [Oct 23 04:56:21:1698029781.920779:4:info] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=plugin_vulnerability_check
Hopefully this will help: https://translate.google.com/?hl=nl&sl=nl&tl=en&text=%5BOct%2023%2007%3A54%3A51%3A1698040491.742552%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fv2.26%2F%3Fk%3Df830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b%26s%3DeyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ%26action%3Dtimestamp%0A%5BOct%2023%2007%3A53%3A51%3A1698040431.331349%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fv2.26%2F%3Fk%3Df830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b%26s%3DeyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ%26action%3Dresolve_ips%0A%5BOct%2023%2007%3A52%3A27%3A1698040347.964397%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fv2.26%2F%3Fk%3Df830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b%26s%3DeyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ%26action%3Dget_wp_file_content%0A%5BOct%2023%2007%3A51%3A49%3A1698040309.782375%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fv2.26%2F%3Fk%3Df830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b%26s%3DeyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ%26action%3Dget_wp_file_content%0A%5BOct%2023%2007%3A49%3A55%3A1698040195.213040%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fv2.26%2F%3Fk%3Df830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b%26s%3DeyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjQiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ%26action%3Dresolve_ips%0A%5BOct%2023%2007%3A49%3A54%3A1698040194.631355%3A4%3Ainfo%5D%20Aanroepen%20van%20Wordfence%20API%20v2.26%3Ahttps%3A%2F%2Fnoc1.wordfence.com%2Fstats.json%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.711509%3A10%3Ainfo%5D%20SUM_FINAL%3AScan%20gereed.%20Je%20hebt%201%20nieuw%20probleem%20om%20op%20te%20lossen.%20Bekijk%20onderstaande.%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.710991%3A1%3Ainfo%5D%20Snelle%20scan%20gereed.%20Gescand%20in%20Minder%20dan%201%20seconde.%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.663665%3A2%3Ainfo%5D%20Wordfence%20gebruikt%200%20B%20geheugen%20voor%20het%20scannen.%20Piek%20geheugen%20gebruik%20van%20de%20server%20was%3A%20289.37%20MB%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.662778%3A1%3Ainfo%5D%20——————-%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.659672%3A10%3Ainfo%5D%20SUM_ENDBAD%3AScan%20voor%20oude%20thema%2C%20plugins%20en%20core%20bestanden%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.247452%3A10%3Ainfo%5D%20SUM_START%3AScan%20voor%20oude%20thema%2C%20plugins%20en%20core%20bestanden%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.243933%3A10%3Ainfo%5D%20SUM_ENDOK%3AControleer%20status%20web%20applicatie%20firewall%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.243516%3A10%3Ainfo%5D%20SUM_START%3AControleer%20status%20web%20applicatie%20firewall%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.241514%3A4%3Ainfo%5D%20getMaxExecutionTime()%20geeft%20halve%20ini%20waarde%3A%2045%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.241298%3A4%3Ainfo%5D%20ini%20waarde%20van%20600%20is%20hoger%20dan%20de%20waarde%20voor%20WORDFENCE_SCAN_MAX_INI_EXECUTION_TIME%20(90)%2C%20verminderen%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.241092%3A4%3Ainfo%5D%20Kreeg%20max_execution_time%20waarde%20van%20ini%3A%20600%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.240874%3A4%3Ainfo%5D%20Kreeg%20waarde%20van%20wf%20config%20maxExecutionTime%3A%200%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.240612%3A1%3Ainfo%5D%20Initieer%20snel%20scan%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.239020%3A10%3Ainfo%5D%20SUM_PREP%3APreparing%20a%20new%20scan.%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.237435%3A4%3Ainfo%5D%20Configureer%20scanRunning%20en%20scan%20starten%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.237211%3A4%3Ainfo%5D%20Configureer%20een%20fout%20afhandeling%20omgeving%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.236983%3A4%3Ainfo%5D%20Maximum%20geheugen%20aanvragen%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.235611%3A4%3Ainfo%5D%20Controleren%20of%20de%20scan%20al%20loopt%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.234458%3A4%3Ainfo%5D%20Opgeslagen%20cronkey%20controleren%20aan%20de%20hand%20van%20cronkey-parameter%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.234216%3A4%3Ainfo%5D%20Cronkey%20controleren%3A%20982f6495b373ec26c0d9b0c727053e20%20(verwacht%20982f6495b373ec26c0d9b0c727053e20)%0A%5BOct%2023%2004%3A56%3A44%3A1698029804.233788%3A4%3Ainfo%5D%20Ophalen%20van%20opgeslagen%20cron%20sleutel%20om%20te%20vergelijkin&op=translate
Hi @supervinnie41, thanks for reaching out to us.
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. Certainly, try changing that number before trying 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.
I’d like to see the log again after the max_execution_time change to see if it’s linked/still fails after the value of 300 is reduced.
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.
I couldn’t find your diagnostic report on email. Navigate to Wordfence > Tools > Diagnostic page and then click the “Export” button. Send the txt file to [email protected]. Add your forum username in the subject and respond here once done.
Thanks,
Mark.
I wanted to let it run for a few days before replying. But at the moment it is hit and miss. One day it’s all fine. The next it fails again.
I will update once I have found a stable performance.Max_execution_time has been dialed back to 120
Maximum execution time for each scan stage has been set to 20
But scans keep failing.
I’d like to show the log, but it keeps giving me a 502 error. I had to set the Max execution time back to 300 in order to get it to show up.This is the best I could do:
[Nov 02 13:27:48] Scan engine heeft aanvraag ontvangen. [Nov 02 13:27:48] Controleer aanvraag handtekening. [Nov 02 13:27:48] Ophalen van opgeslagen cron sleutel om te vergelijking. [Nov 02 13:27:48] Cronkey controleren: 2dc11076ba658a3a0b1d82a736c500e2 (verwacht 2dc11076ba658a3a0b1d82a736c500e2) [Nov 02 13:27:48] Opgeslagen cronkey controleren aan de hand van cronkey-parameter [Nov 02 13:27:48] Maximum geheugen aanvragen [Nov 02 13:27:48] Configureer een fout afhandeling omgeving [Nov 02 13:27:48] Configureer scanRunning en scan starten [Nov 02 13:27:48] Heb een gedeserialiseerde waarde terug van 'wfsd_engine' ontvangen met type: object [Nov 02 13:27:48] Scanproces be?indigd na forking. [Nov 02 13:27:48] Scannen van inhoud: wp-content/uploads/2022/05/rene-kars_overzicht.png (Grootte: 436.65 KB Geheugen: 122 MB) [Nov 02 13:27:48] Malwarescan hervatten op regel 584. [Nov 02 13:27:48] ------------------- [Nov 02 13:27:48] Scan onderbroken. 189505 bestanden gescand, 92 plugins, 5 thema's, 0 berichten, 0 reacties en 98923 URL's in 4 uren 2 seconden. [Nov 02 13:27:48] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2YiOiI3LjEwLjYiLCJtcyI6ZmFsc2UsImgiOiJodHRwczpcL1wvd3d3Lm15c3Rlcnltb3VudGFpbi5ubCIsInNzbHYiOjI2OTQ4ODM5OSwicHYiOiI4LjAuMjgiLCJwdCI6ImxpdGVzcGVlZCIsImN2IjoiNy44NC4wIiwiY3MiOiJPcGVuU1NMXC8xLjEuMXAiLCJzdiI6IkFwYWNoZVwvMiIsImR2IjoiMTAuNi4xMi1NYXJpYURCLWNsbC1sdmUiLCJsYW5nIjoibmxfTkwifQ&action=record_scan_metrics [Nov 02 13:27:49] Wordfence gebruikt 227.12 MB geheugen voor het scannen. Piek geheugen gebruik van de server was: 330.5 MB [Nov 02 13:27:49] Scan afgebroken met fout: The scan time limit of 4 uren has been exceeded and the scan will be terminated. This limit can be customized on the options page. Get More Information (wordt geopend in een nieuwe tab) [Nov 02 14:51:10] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/stats.json [Nov 02 14:54:50] Aanroepen van Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=f830866555570485cdf976e6b7841d08517fd63f894ec57d83804699031f32a326c4e2dff214fe1e195da2d777a0b46266282c4119da48d3b19eaa1dd8d20b0b&s=eyJ3cCI6IjYuMy4yIiwid2
I’ve sent the report per e-mail. I used this username to send it.
@supervinnie41, thanks for your reply.
I still can’t find your diagnostic report on email. Navigate to Wordfence > Tools > Diagnostic page and then click the “Export” button. Send the txt file to [email protected]. Add your forum username in the subject and respond here once done.
Scan Time Limit Exceeded errors are generally caused by either scanning a VERY large number of files, or something running slowly at the host. 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, please confirm that the Scan Option is set to Standard. Be sure to save your changes in case you make any changes here.
Thanks again,
Mark.
- The topic ‘Time limit exceeded and errors in the log’ is closed to new replies.