Bug 507449 - Do not allow running multiple instances.
Summary: Do not allow running multiple instances.
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Faces-Engine (other bugs)
Version First Reported In: 8.7.0
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-07-24 16:00 UTC by HubMiner
Modified: 2025-08-04 02:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 8.8.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description HubMiner 2025-07-24 16:00:37 UTC
PROPOSAL:
do not allow to multiple instances of DK - be default restrict to a single instance.

WHY:
DK is memory and CPU heavy, asking multiple instances is asking for problems.  Other instances become lugging and freeze.  Each instance launches its own copy of MariaDB, possibly trying to access DB files simultanously.

If there are cases when running multiple app instances are desired, image and DB access should be controlled across the instances, and the ""allow multiple instances"" should be a configurable option.

REPRODUCTION STEPS:
- run digikam 3 times, 30 seconds pause in between.
- Process Explorer shows 3 instances are running.
Comment 1 Maik Qualmann 2025-07-24 18:29:02 UTC
In digiKam-8.7.0, the memory is not released at the end, which is why multiple instances are visible in the process manager. This has been fixed in digiKam-8.8.0.

Pre-release version available here:

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

Maik