Skip to content

Jellyfin is using lots op cpu - problem solved after removing kodi sync queue plugin #116

@jeweet

Description

@jeweet

Jellyfin was using lots of cpu and the webui was often not reachable, the problem did not disappear until restart. After a while the problem started again. Log files show the following errors in a random order, this might be a hint?

Microsoft.Data.Sqlite.SqliteException (0x80004005): SQLite Error 5: 'database is locked'.

Microsoft.AspNetCore.Server.Kestrel: As of "12/25/2025 07:36:16 +00:00", the heartbeat has been running for "00:00:01.0354972" which is longer than "00:00:01". This could be caused by thread pool starvation.

I could not identify the source of the problem for a long time. Maximum number of parallel tasks during library scans was set to 1 first. Then I started to strip features and plugins from Jellyfin to see when the problem disappeared. After removing the kodi sync queue plugin there was no issue at all.

Jellyfin 10.11.5 - docker jellyfin/jellyfin
Plugin version 15.0.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions