Jellyfin for Kodi - Slow music sync / killing server #7675

Open
opened 2025-12-22 06:17:00 +01:00 by backuprepo · 8 comments
Owner

Originally created by @theinfguy on GitHub (Nov 3, 2025).

Description of the bug

Doing an initial sync using the Jellyfin for Kodi add-on in its default 'add-on' mode processes Movies very fast, but when it gets to music is slows to a crawl. Demonstrating stop-start behaviour through chunks of the library.

During this time, the Jellyfin web UI will become either extremely slow or unresponsive. The server may eventually report a number of database lock events and require a restart, although I am not sure if these two events are coincidence, I have not had that before trying to get through this initial sync.

Possibly related to: https://github.com/jellyfin/jellyfin/issues/15352

Running 10.11.2. Latest everything.

Reproduction steps

Do a sync with Jellyfin for Kodi or query the Music endpoints of the Jellyfin library API.

What is the current bug behavior?

Slow UI / server stops responding.

What is the expected correct behavior?

No impact on system performance.

Jellyfin Server version

10.10.0+

Specify commit id

No response

Specify unstable release number

No response

Specify version number

No response

Specify the build version

10.11.2

Environment

Ubuntu Server, i7 13700k, 64GB DDR5, OS/APP/Jellyfin DB on NVME, Media on 8 disk RAID0 of spinners.

Jellyfin logs

No output in logs during this event.

FFmpeg logs


Client / Browser logs

No response

Relevant screenshots or videos

No response

Additional information

No response

Originally created by @theinfguy on GitHub (Nov 3, 2025). ### Description of the bug Doing an initial sync using the Jellyfin for Kodi add-on in its default 'add-on' mode processes Movies very fast, but when it gets to music is slows to a crawl. Demonstrating stop-start behaviour through chunks of the library. During this time, the Jellyfin web UI will become either extremely slow or unresponsive. The server may eventually report a number of database lock events and require a restart, although I am not sure if these two events are coincidence, I have not had that before trying to get through this initial sync. Possibly related to: https://github.com/jellyfin/jellyfin/issues/15352 Running 10.11.2. Latest everything. ### Reproduction steps Do a sync with Jellyfin for Kodi or query the Music endpoints of the Jellyfin library API. ### What is the current _bug_ behavior? Slow UI / server stops responding. ### What is the expected _correct_ behavior? No impact on system performance. ### Jellyfin Server version 10.10.0+ ### Specify commit id _No response_ ### Specify unstable release number _No response_ ### Specify version number _No response_ ### Specify the build version 10.11.2 ### Environment ```markdown Ubuntu Server, i7 13700k, 64GB DDR5, OS/APP/Jellyfin DB on NVME, Media on 8 disk RAID0 of spinners. ``` ### Jellyfin logs ```shell No output in logs during this event. ``` ### FFmpeg logs ```shell ``` ### Client / Browser logs _No response_ ### Relevant screenshots or videos _No response_ ### Additional information _No response_
backuprepo added the
performance
bug
confirmed
labels 2025-12-22 06:17:00 +01:00
Author
Owner

@felix920506 commented on GitHub (Nov 3, 2025):

Do you mean the media or the database files etc. when you are talking about "Data" in the environment section?

@felix920506 commented on GitHub (Nov 3, 2025): Do you mean the media or the database files etc. when you are talking about "Data" in the environment section?
Author
Owner

@theinfguy commented on GitHub (Nov 3, 2025):

Do you mean the media or the database files etc. when you are talking about "Data" in the environment section?

Sorry updated to make clear. Only media is on spinners. Everything else, OS/Apps/Jellyfin DB etc is on NVME. This set up has been lightning fast in the 2 years it's been in place.

Performance issues only since update to 10.11.0 then .1 and now .2. I did completely remove and readd libraries after the 10.11.0 update.

Should add that I am running the DB in default NoLock mode as I always have since day 1. Parallel library scan tasks currently set to 1 but this has no impact on the performance issues in the GUI.

@theinfguy commented on GitHub (Nov 3, 2025): > Do you mean the media or the database files etc. when you are talking about "Data" in the environment section? Sorry updated to make clear. Only media is on spinners. Everything else, OS/Apps/Jellyfin DB etc is on NVME. This set up has been lightning fast in the 2 years it's been in place. Performance issues only since update to 10.11.0 then .1 and now .2. I did completely remove and readd libraries after the 10.11.0 update. Should add that I am running the DB in default NoLock mode as I always have since day 1. Parallel library scan tasks currently set to 1 but this has no impact on the performance issues in the GUI.
Author
Owner

@theinfguy commented on GitHub (Nov 14, 2025):

Is there likely to be any progress on this issue in the next minor release?

@theinfguy commented on GitHub (Nov 14, 2025): Is there likely to be any progress on this issue in the next minor release?
Author
Owner

@krixon commented on GitHub (Nov 14, 2025):

I have the same issue after upgrading to 10.11. TV and movie libraries were fine, but adding the music library hung on 0% for so long I eventually gave up. Happy to try again and provide logs or any other debug info which may be useful.

@krixon commented on GitHub (Nov 14, 2025): I have the same issue after upgrading to 10.11. TV and movie libraries were fine, but adding the music library hung on 0% for so long I eventually gave up. Happy to try again and provide logs or any other debug info which may be useful.
Author
Owner

@theinfguy commented on GitHub (Nov 17, 2025):

Database lockups still happening following update to 10.11.3.

https://github.com/jellyfin/jellyfin/issues/15316

@theinfguy commented on GitHub (Nov 17, 2025): Database lockups still happening following update to 10.11.3. https://github.com/jellyfin/jellyfin/issues/15316
Author
Owner

@theinfguy commented on GitHub (Dec 3, 2025):

I have tested a full reset/sync in Jellyfin4Kodi against 10.11.4. Although I can't make it crash the server, upon scanning the music library, it slows the servers web UI to a crawl. Unusable. Movies and TV Shows are fine.

I have uploaded logs here, SQL Query logs.

https://github.com/jellyfin/jellyfin/issues/15101#issuecomment-3606041950

@theinfguy commented on GitHub (Dec 3, 2025): I have tested a full reset/sync in Jellyfin4Kodi against 10.11.4. Although I can't make it crash the server, upon scanning the music library, it slows the servers web UI to a crawl. Unusable. Movies and TV Shows are fine. I have uploaded logs here, SQL Query logs. https://github.com/jellyfin/jellyfin/issues/15101#issuecomment-3606041950
Author
Owner

@stingwraith commented on GitHub (Dec 6, 2025):

I believe I'm having the same issue on 10.11.3, although I don't use Kodi or the Jellyfin4Kodi addon. When my music library(~7000 mp3s) is enabled, the web UI slows to a crawl and often becomes completely unresponsive. As soon as I disable the library everything works perfectly fine.

@stingwraith commented on GitHub (Dec 6, 2025): I believe I'm having the same issue on 10.11.3, although I don't use Kodi or the Jellyfin4Kodi addon. When my music library(~7000 mp3s) is enabled, the web UI slows to a crawl and often becomes completely unresponsive. As soon as I disable the library everything works perfectly fine.
Author
Owner

@pforpond commented on GitHub (Dec 9, 2025):

I have this issue too! Movies and TV Shows sync with my server in moments, then Music is always crawling along and eventually usually hangs around 10%-15%. I have over 17,000 flac files in my collection.

@pforpond commented on GitHub (Dec 9, 2025): I have this issue too! Movies and TV Shows sync with my server in moments, then Music is always crawling along and eventually usually hangs around 10%-15%. I have over 17,000 flac files in my collection.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: starred/jellyfin#7675
No description provided.