Bug 498451

Summary: "Work on all processor cores" with external database
Product: [Applications] digikam Reporter: winston <winston>
Component: Maintenance-ThumbsAssignee: Digikam Developers <digikam-bugs-null>
Status: REPORTED ---    
Severity: normal CC: caulier.gilles
Priority: NOR    
Version First Reported In: 8.5.0   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description winston@curiousercreative.com 2025-01-10 02:59:04 UTC
SUMMARY
Generating thumbnails with "Work on all processor cores" enabled locks up digikam

STEPS TO REPRODUCE
1. Tools > Maintenance
2. Check "Work on all processor cores"
3. Check "Rebuild Thumbnails"
4. Click Ok

OBSERVED RESULT
- process progress within GUI makes very little progress before progress halts and GUI locks up
- maraidb output (100s or 1000s instantly)
    > [Warning] Aborted connection 0 to db: 'unconnected' user: 'unauthenticated' host: 'connecting host' (Too many connections)
- digikam output (100s or 1000s instantly)
    > Digikam::ItemInfo::fromLocationAlbumAndName: No itemShortInfo could be retrieved from the database for image "_DSC3378.NEF"

EXPECTED RESULT
- thumbnails generated with concurrency of 28.
- GUI remains responsive

SOFTWARE/OS VERSIONS
- Pop!_Os 22.04
- 11.4.4-MariaDB-ubu2404

ADDITIONAL INFORMATION
- using "remote" database (127.0.0.1)
- collection of about 1K images, mostly .NEF raw
- recently enabled "large thumbnails for high resolution"
- HP z840 w/ 2x E5-2690 v4 (28 cores total), 128GB RAM
Comment 1 caulier.gilles 2025-04-04 01:24:51 UTC
Hi Winston,

The new AppImage bundle 8.7.0 pre-release for Linux based on Qt 6.8.3 is
online at usual place :

https://files.kde.org/digikam/

Let's me know if the problem remain.

Best regards

Gilles Caulier