Jellyfin Forum
Sometimes Jellyfin will freeze up - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: Sometimes Jellyfin will freeze up (/t-sometimes-jellyfin-will-freeze-up)



Sometimes Jellyfin will freeze up - ZueMY6y3uIleC - 2023-09-07

Hi All

I sometimes experience a problem with JellyFin and I am unsure what is going on.

As a bit of background
- On 'jellyfin host' I install jellyfin.  It is a PC with 12 cores, 16GB of RAM (but no swap), Nixos jellyfin 10.8.10 and VAAPI is setup, firewall is on with TCP 8096 allowed
- On 'laptop' I access jellyfin.  Nixos, Surface 1.
- On 'phone' I access jellyfin. Android Google Pixel 
- Network is just my local network (192.168.X.X)
- I get the same issue when I run this over Tailscale but I have completely diabled that to try and identify the cause of this

On each device I am able to play videos fine. However (sometimes very quickly) after about two videos jellyfin will break.  But other times I can stream to all devices for a long time (trying to recreate the problem) without issue.

When jellyfin breaks; 
- On the 'jellyfin host' the main interface works fine (i can click on all the menus) but when I click on the video thumb nails the infinite circle icon appears
- On the 'laptop' and 'phone'; the burger icon on the jelly fin page reacts, but the thumbnails do not appear (infinite circle loading icon)
- The problem continues on both machines if I close and restart browser.
- If I ping the 'jellyfin host pc' from 'laptop' the the time take is approx 300ms to 1000ms.  Normally this is less than 10ms
- On neither pc is there the suggestion that CPU usage or mem usage is too high (it is very low).

Oddly as I was typing this watching the inifite circle on my 'jellyfin host' the video loaded (after about 10 min).  After it did this the ping went back to less than ten and both the pcs were responding to jellyfin without slowness.  It is like the video was just loading for a very long time.

I had a look at the journalctl and the closed that I can find relating to this issue is the following entry.  I could not see any other logs that would indicate what the issue is.
Code:
Sep 08 07:28:55 pc jellyfin[1265]: [07:28:55] [WRN] [36] Jellyfin.Server.Middleware.ResponseTimeMiddleware: Slow HTTP Resp
onse from http://localhost:8096/Videos/704df40b504b360937b455346c78252d/stream.mp4?Static=true&mediaSourceId=704df40b504b3
60937b455346c78252d&deviceId=TW96aWxsYS81LjAgKFgxMTsgTGludXggeDg2XzY0KSBBcHBsZVdlYktpdC81MzcuMzYgKEtIVE1MLCBsaWtlIEdlY2tvK
SBDaHJvbWUvMTEzLjAuMC4wIFNhZmFyaS81MzcuMzZ8MTY5NDEyMTgzNDAxOA11&api_key=041d6bc7f567428f9245cdbe08e67a8a&Tag=30442e4a1d956
b8b0b9cdb523a1123a0 to 127.0.0.1 in 0:02:49.9792994 with Status Code 206

Sometimes after restarting everything I cannot even replicate the issue (even after logging on from three seperate devices and constantly streaming videos from each).

Im not sure if anyone can assist (or even point me in the rightdirection of what I should look at next).


RE: Sometimes Jellyfin will freeze up - TheDreadPirate - 2023-09-07

That log message is common and meaningless. Which is why there is a setting in the Log section of the dashboard to turn if off.

You would need to share your whole log from when this happens for us to diagnose it.