mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-23 23:20:51 +01:00
Jellyfin for Kodi - Slow music sync / killing server #7675
Labels
No labels
area:database
awaiting-feedback
backend
blocked
breaking change: web api
bug
build
ci
confirmed
discussion needed
dotnet future
downstream
duplicate
EFjellyfin.db
enhancement
feature
future
github-actions
good first issue
hdr
help wanted
invalid
investigation
librarydb
live-tv
lyrics
media playback
music
needs testing
nuget
performance
platform
pull-request
question
regression
release critical
requires-web
roadmap
security
security
stale
support
syncplay
ui & ux
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: starred/jellyfin#7675
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
Jellyfin logs
FFmpeg logs
Client / Browser logs
No response
Relevant screenshots or videos
No response
Additional information
No response
@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?
@theinfguy commented on GitHub (Nov 3, 2025):
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 14, 2025):
Is there likely to be any progress on this issue in the next minor release?
@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.
@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 (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
@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.
@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.