mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-04 18:09:12 +03:00
[Issue]: Write Lock Contention Causing UI Freezing #4788
Reference in New Issue
Block a user
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 @Silvenga on GitHub (Apr 13, 2023).
Originally assigned to: @Bond-009 on GitHub.
Please describe your bug
I'm using a custom image (silvenga-docker/jellyfin-debug) to get process dumps, but these issues are reproducible on the official image.
During library scans, there appears to be a large amount of lock contention around
GetConnection. This causes many operations to completely freeze on the UI e.g. loading any media.As shown in the above screenshot, over 55 threads are waiting on a SQLite connection, to either read or write data.
I wonder if it would be possible to:
Ultimately, my goal here is to improve UI responsiveness during load - for UX sakes.
Jellyfin Version
Other
if other:
10.9.0 (version on Master)
Environment
Jellyfin logs
No response
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@srcrist commented on GitHub (Oct 6, 2023):
Issue should be closed by https://github.com/jellyfin/jellyfin/pull/9643.