I emailed the diagnostic just now. I noticed when going through it that some DB permissions seem to be missing. I hadn’t noticed that before, but I assume that’s not new. (It’s not a site I do much with at this point.) Would that cause an infinite loop like this?
Anyway, here’s the top of the scan log. It reports that 331,126 files were scanned and about 5 GB, but the entire website (WordPress included) is only 12,976 files at around 392 MB. This is because the log shows that the same set of files is scanned over and over again until the 3 hours limit hits.
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/dashboard-rtl.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/dashboard-rtl.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/dashboard.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/dashboard.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/deprecated-media-rtl.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/deprecated-media-rtl.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/deprecated-media.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/deprecated-media.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/edit-rtl.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/edit-rtl.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/edit.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/edit.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/farbtastic-rtl.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/farbtastic-rtl.min.css (Mem:35.0M)
[Mar 09 13:57:06] Scanning: /var/www/vhosts/thewayministries.org/html/wp-admin/css/farbtastic.css (Mem:35.0M)
[Mar 09 13:57:07] -------------------
[Mar 09 13:57:07] Scan interrupted. Scanned 331126 files, 18 plugins, 5 themes, 0 posts, 0 comments and 0 URLs in 3 hours 6 seconds.
[Mar 09 13:57:07] Calling Wordfence API v2.26:https://noc1.wordfence.com/v2.26/?k=84cedd39bb6e8146e60018261479fd406e8db63fd5526a7b26b3b818562ea9ad1384b61df75d1d1b05004757d5e032f55f535c8635d4f8a736efcb7e83b297272b37d6a5372633f80e64730275d1c4a6&s=eyJ3cCI6IjUuOS4xIiwid2YiOiI3LjUuOCIsIm1zIjpmYWxzZSwiaCI6Imh0dHBzOlwvXC93d3cudGhld2F5bWluaXN0cmllcy5vcmciLCJzc2x2IjoyNjg0NDM4MzksInB2IjoiNy40LjI2IiwicHQiOiJhcGFjaGUyaGFuZGxlciIsImN2IjoiNy4yOS4wIiwiY3MiOiJOU1NcLzMuNTMuMSIsInN2IjoiQXBhY2hlXC8yLjQuNiAoQ2VudE9TKSBQSFBcLzcuNC4yNiIsImR2IjoiOC4wLjIzIiwibGFuZyI6IiJ9&betaFeed=0&action=record_scan_metrics
[Mar 09 13:57:11] Wordfence used 82.57 MB of memory for scan. Server peak memory usage was: 101.57 MB
[Mar 09 13:57:11] Scan terminated with error: The scan time limit of 3 hours has been exceeded and the scan will be terminated. This limit can be customized on the options page.