Scan doesn't complete
-
Hello team and users,
when I run a scan, it stucks when comparing wp core against originals and when scanning for known malware files (I killed the process after 2 days). The activity log shows:
... [May 11 10:42:33] Analyzed 900 files containing 7.95 MB of data so far [May 11 10:42:35] Fatal error: Out of memory (allocated 105644032) (tried to allocate 20939201 bytes) in /mnt/webt/b2/82/52576382/htdocs/wp-includes/wp-db.php on line 1262
My memory limit ist 128M. The wordfence memory test shows:
Wordfence Memory benchmarking utility version 6.1.7. This utility tests if your WordPress host respects the maximum memory configured in their php.ini file, or if they are using other methods to limit your access to memory. --Starting test-- Current maximum memory configured in php.ini: 128M Current memory usage: 10.25M Setting max memory to 90M. Starting memory benchmark. Seeing an error after this line is not unusual. Read the error carefully to determine how much memory your host allows. We have requested 90 megabytes. Completing test after benchmarking up to 80.25 megabytes. --Test complete.-- Congratulations, your web host allows you to use at least 80.25 megabytes of memory for each PHP process hosting your WordPress site.
The max_execution_time variable is set to 0. My php-version is 5.6.
I tried various things:
- Set maximum execution time for each scan stage to 15s
- Set requestet memory to 300, 350 and 400
- Set php to version 7
With php 7 the scan analyses some more files (15MB) and no error is logged. But unfortunately the scan doesn’t complete as well.
Is 128M memory limit enough? The plugin wp-memory-usage indicates that 9% of memory are used…
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Scan doesn't complete’ is closed to new replies.