Yesterday, 10:07 PM
Hi, i'm using jellyfin for a few month now and i really love it ! But since recently i have a recurring blocking issue. The ui is completely unusable, home page takes minutes to load the contents, if I go to any sub pages, movies, tvshows, music or collections, it takes ages to load, when it loads because some time it does not load anything at all. This happens in any client, server web-ui as android client, and with any user, from localhost as from vpn connection, ethernet or wifi.
An other symptome is that if i restart the jellyfin server service (the systemd service, not the entire container), it takes 20min to fully start. I mean the service start but i have to wait 20min to be able to access web-ui, it hangs on :
my server is running under archlinux on an lxc container (8 cpu core, 16GiB of ram, root disk 80GiB on zfs pool on ssd) hosted by proxmox on a minisforum nab6 ( i7-12650H + 64GiB ram + 1T ssd).
18To of media are on nfs mounted from nas (2092 movies, 297 tv-show, 1428 music artists).
I don't have any issue with playback, everything is playing perfectly, direct play as transcoded.
Dashboard pages are loading nicely, no lag
I don't think it is network connection (everything is ethernet 1G)
The mounted library folders don't have any issue on other lxc like \*arr stack or from my laptop
CPU and ram usage are never reaching their limits, cpu stays around 1% and ram less than 4GiB
I tried to deactivate all extensions, solved nothing.
I activated debug in logs, but saw nothing i can identify as an issue, chatgpt neither
I have big suspicions against db. i think db requests are the culprit, but i have no experience with sqlite.
with the help of chatgpt i tried :
it helped a bit, but not for long, lag went back.
Obviously i already made my own research, sorry if i missed the answer, but i didn't find any solution yet.
It is ruining my experience of this awesome software, please help me to resolve this, give me some hints.
An other symptome is that if i restart the jellyfin server service (the systemd service, not the entire container), it takes 20min to fully start. I mean the service start but i have to wait 20min to be able to access web-ui, it hangs on :
Code:
[...]
Oct 18 19:49:17 jellyfin jellyfin[334896]: [19:49:17] [INF] Filtered subnets: []
## 20 min of hang (server not reachable) then finally server respond ##
Oct 18 20:08:27 jellyfin jellyfin[334896]: [20:08:27] [INF] Loaded plugin: Auto Collections 0.0.2.67
[...]
my server is running under archlinux on an lxc container (8 cpu core, 16GiB of ram, root disk 80GiB on zfs pool on ssd) hosted by proxmox on a minisforum nab6 ( i7-12650H + 64GiB ram + 1T ssd).
18To of media are on nfs mounted from nas (2092 movies, 297 tv-show, 1428 music artists).
Code:
$ pacman -Qs jellyfin
local/jellyfin-ffmpeg 1:7.1.2p2-1
Jellyfin fork of ffmpeg
local/jellyfin-server 10.10.7-3
Jellyfin server backend
local/jellyfin-web 10.10.7-1
Web client for Jellyfin
I don't have any issue with playback, everything is playing perfectly, direct play as transcoded.
Dashboard pages are loading nicely, no lag
I don't think it is network connection (everything is ethernet 1G)
The mounted library folders don't have any issue on other lxc like \*arr stack or from my laptop
CPU and ram usage are never reaching their limits, cpu stays around 1% and ram less than 4GiB
I tried to deactivate all extensions, solved nothing.
I activated debug in logs, but saw nothing i can identify as an issue, chatgpt neither
I have big suspicions against db. i think db requests are the culprit, but i have no experience with sqlite.
Code:
12 -rw-r--r-- 1 jellyfin jellyfin 35 May 20 21:20 device.txt
1.7M -rw-r--r-- 1 jellyfin jellyfin 3.3M Oct 18 22:14 jellyfin.db
4.5K -rw-r--r-- 1 jellyfin jellyfin 32K Oct 18 22:20 jellyfin.db-shm
21K -rw-r--r-- 1 jellyfin jellyfin 21K Oct 18 22:17 jellyfin.db-wal
8.5K drwxr-xr-x 18 jellyfin jellyfin 18 Jun 23 17:55 keyframes
272M -rw-r--r-- 1 jellyfin jellyfin 552M Oct 18 22:17 library.db
801K -rw-r--r-- 1 jellyfin jellyfin 1.1M Oct 18 22:17 library.db-shm
62M -rw-r--r-- 1 jellyfin jellyfin 128M Oct 18 22:17 library.db-wal
with the help of chatgpt i tried :
Code:
sudo systemctl stop jellyfin
cd /var/lib/jellyfin/data/
sqlite3 jellyfin.db 'PRAGMA integrity_check;'
sqlite3 jellyfin.db 'VACUUM;'
sqlite3 jellyfin.db 'ANALYZE;'
sqlite3 library.db 'PRAGMA integrity_check;'
sqlite3 library.db 'VACUUM;'
sqlite3 library.db 'ANALYZE;'
sudo systemctl start jellyfin
it helped a bit, but not for long, lag went back.
Obviously i already made my own research, sorry if i missed the answer, but i didn't find any solution yet.
It is ruining my experience of this awesome software, please help me to resolve this, give me some hints.