very slow scan for new items

Gilles Caulier caulier.gilles at gmail.com
Sat Oct 5 08:38:20 BST 2024


Hi,

The most important point in this trace is the time to scan
IMGP1667.JPG jpeg file :

Finishing took 2834 ms

It's more and less 3 seconds long. The thumbnail extraction needs to
load the image data, not the embedded thumbnail in metadata. This can
explain the delay, but there is certainly a bottleneck somewhere.

Did you use an NVME, or SSD, or HDD drive on your computer?

Can you load this file quickly in another program? Can you share this
file to double check here?

Best

Gilles Caulier


Le sam. 5 oct. 2024 à 01:11, Andreas T. Ege <andreas at spheniscid.net> a écrit :
>
> Hello,
>
> I'm using digikam 8.4.0 on Manjaro Linux.
>
> For a couple of weeks now scanning for new items has gone so slow it's
> hardly usable. After 30 hours it's at 11%.
> As far as I'm aware, the problem started after I had to copy a few
> folders from sd card for a second time because the first time some
> images got corrupted, though I suspect that was just coincidence.
> I'm not aware I updated or installed anything before the problem started.
>
> Some console output almost looks like it's scanning for duplicates as
> well to me, though could be wrong:
> "digikam.metaengine: Loading metadata with "Exiv2" backend from
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1668.JPG"
> digikam.dimg:
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1668.JPG"
> : "JPEG" file identified
> digikam.database: Adding new item
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1668.JPG"
> digikam.database: Recognized
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1668.JPG"
> as identical to item 858228
> digikam.database: Scanning took 130 ms
> digikam.metaengine: Loading metadata with "Exiv2" backend from
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1667.JPG"
> digikam.general: Trying to get thumbnail from
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1667.JPG"
> ( "image" )
> digikam.general: Trying to get thumbnail with Exiv2 for
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1667.JPG"
> digikam.general: Trying to get thumbnail with DImg preview for
> "/home/andreas/Bilder/privat//pentax/01neu/deutschland2308/IMGP1667.JPG"
> digikam.general: mimetype =  "JPEG"  ext =  "JPG"
> digikam.database: Finishing took 2834 ms"
>
> Any tips how to debug that?
> Tried to run a gdb debug, not sure if it's showing much but could post.
>
> --
> Andreas


More information about the Digikam-users mailing list