yes and no,
i think its a php issues, not a kusaba issue
from what i can make out:
the first issue is that normal kusaba will though errors on some jpeg images, and delete them, this *MAY* be due to the fact they php only md5's the images, and the file has extra "tags"
(the reason it only happens to jpegs, is it is believed that the function is bugged *lots of complains about the function on forums*)
>there is another bug where it does not bother to clean up boards with lots of images.
this is caused by php, the function that kusaba uses has been updated, and will check how big a folder is, if its to big, it will though a empty array(without bothering checking anything), thus kusaba does nothing to them boards
now, when i force it to check every board, instead of doing a quick check (just get filename) it does a full check (file name, extension, file-size, owner, creator, permissions, creation date, ETC), and that will bring the server to its knees, also it will start deleting other images that the md5 does not match up...
also, kusaba works like this:
check the database,
then check the files
only delete files that are in the database, but the file is not the right md5
does not mark it as deleted
instead, it should:
get all files
delete files that are not in database
delete files that have a md5 mismatch
then double check the list and mark as *file removed* if no file
as you can see, this is a very complicated issue, with failings on kusaba's part, php's part, and mysql's part (not getting all results, or it may be php with its array size restrictions)
i recommend nobody does a cleanup for now, and instead does this:
1) go into managepanel
2) go to "sql query"
3) run this:
OPTIMIZE TABLE posts
(add a prefix before "posts" if you used one)