Bug 498451 - "Work on all processor cores" with external database
Summary: "Work on all processor cores" with external database
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Maintenance-Thumbs (show other bugs)
Version: 8.5.0
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-10 02:59 UTC by winston@curiousercreative.com
Modified: 2025-04-04 01:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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