• Initially I got memory errors and the plugin wouldn’t even start scanning:

    PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 33073 bytes) in /var/www/wdwnt.com/wp-includes/wp-db.php on line 1841

    I increased memory to 768MB and the scan started but then got stuck at 200 medias scanned (I have ~20,000) with this PHP error message:

    Error checking in buffer: The buffer you checked in was not checked out

    and

    Error checking in buffer: The buffer you checked in was not checked out

    Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    The most intensive part of the plugin is actually to start the scan: the very first step is that it requires a list of all the files, then it scans them one by one to avoid this kind of issue. Unfortunately the first step is necessary. 20,000 is not so many though, and I am not sure why you get this error, but the problem is that many other plugins might be running at the same time and my plugin just help them getting to this limit… In that case unfortunately there is nothing much we can do about it; I could rewrite the code to handle this but the code would become much more complicated and difficult to maintain. I might do it some day but now the case is way too rare.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Actually it seems to breaks later, which is weird: at this point, the plugin can’t use that much memory anymore. So I wonder what happened in that process. Are you using another plugin that does things periodically?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Scan gets stuck at 200’ is closed to new replies.