mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-07-16 05:43:54 +03:00
[Issue]: Slow HTTP Response causing crashed since updating version #5412
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 @Tim-Roy on GitHub (Jan 27, 2024).
Please describe your bug
I updated from 10.8.13 from 10.8.11 today and began having issues with jellyfin freezing, requiring a manual restart. This occurs both when trying to watch through Roku and a browser.
Jellyfin Version
10.8.z
if other:
No response
Environment
Jellyfin logs
FFmpeg logs
No response
Please attach any browser or client logs here
No response
Please attach any screenshots here
No response
Code of Conduct
@solidsnake1298 commented on GitHub (Jan 27, 2024):
What docker image are you using?
@Tim-Roy commented on GitHub (Jan 27, 2024):
jellyfin/jellyfin:latest (10.8.13)
@vgambier commented on GitHub (Jan 29, 2024):
Oh, I thought this was just me. The same happened to me, I updated to latest recently (docker 10.8.13)
Sometimes files play just fine, but if "something" happens (seems random - once the whole thing came crashing down after I changed the subtitle track), I suddenly get a lot of "Slow HTTP Response" in the logs, and I'm eventually forced to restart to get it to a usable state again.
@felix920506 commented on GitHub (Jan 29, 2024):
@vgambier @Tim-Roy please provide a concrete and specific set of steps that will recreate the issue consistently, thanks.
@vgambier commented on GitHub (Feb 5, 2024):
@felix920506 Fair enough. I will update with more information if I figure out any actionable steps. But as it stands I would probably rephrase my comment as "I've been having performance issues since I updated - the app is sometimes extremely slow, and when it is slow, it is prone to crashes. Rebooting the server usually helps with that". It could be due to something unrelated to the update, but I have not identified any external causes.
@felix920506 commented on GitHub (Feb 6, 2024):
@vgambier Please provide your setup and system specs if you are having performance issues.
@vgambier commented on GitHub (Feb 6, 2024):
@felix920506 Jellyfin is running on a home server, in a docker container. Internet speed is not as high as I'd want, but I never figured out how to reliably test it from the actual server (if you have any recommendations, I'm all ears). It's advertised as 300 Mbit/s. Other servers running do not seem to be throttled to this extent.
Hope this is useful. Thank you.
@felix920506 commented on GitHub (Feb 7, 2024):
@vgambier Thanks for confirming that you aren't running JF on a potato.
@vgambier commented on GitHub (Feb 8, 2024):
@felix920506 I am not very knowledgeable about hardware. I genuinely have no idea how adequate or overkill my specs are for Jellyfin.
@solidsnake1298 commented on GitHub (Feb 8, 2024):
We just wanted to make sure you weren't running Jellyfin and 10 other services on a Raspberry Pi.
@vgambier commented on GitHub (Feb 10, 2024):
I haven't had any issues in the last few days, so I think it was Internet issues unrelated to Jellyfin. The only things I can remember changing are ethernet cables and domain name / domain name registrar.
@JesseGuerrero commented on GitHub (Feb 13, 2024):
I have this issue too
@bfourgeaud commented on GitHub (Apr 23, 2024):
Same Problem here since update to 10.8.13 on freeBSD x64 !
Nothing has changed in the server config, just jellyfin update. And now every action seems slow and jellyfin keeps hours updating libraries, and it causes the streaming services to be unusable. I have to watch my films directly from the smb network share.
@Finallf commented on GitHub (May 7, 2024):
Same Problem here since update to 10.8.13
@StefanLobbenmeier commented on GitHub (May 10, 2024):
I think it would be nice to get some general information on how to go about debugging this. I have the same issue on my raspberry pi, can reproduce most easily by skipping around in the video a few times. Resolves itself after a jellyfin restart or waiting for a day (probably less, but definitely more than 10 minutes)
I also get messages about some requests taking more than 500ms, but nothing crazy, usually in the range of 0.5-1s. I am not sure if that middleware can reliably report requests that take forever though (I suspect it only prints a message when the request actually completes).
looking at htop everything looks fine though, I have 1GB of memory to spare and not using any CPU. I already moved media and configuration on an external HDD since the SD card can be slow, and I disabled swap, so there should be no need to load anything from disk anymore. Maybe there could be loading from SD card if the .net runtime loads classes from it, but I doubt that could freeze up everything
@StefanLobbenmeier commented on GitHub (May 27, 2024):
I tried Plex on the same raspberry pi with the same library and the performance is much better. Not sure what jellyfin does different, but I imagine this means fixing this issue would improve the performance on any platform.
There are some ideas that maybe should be fixed on the client side (in my case SwiftFin, but I think most clients have similar issues):
On the server side, I suspect there is some issue with stopping the stream, since the first stream always works no problem. It’s really hard to debug since it also freezes up the whole device and it takes a long time to ssh into it. Maybe it’s possible to debug by reducing the priority
@felix920506 commented on GitHub (Sep 1, 2024):
A first good step would be to enable debug logging. Steps can be found on the project website. https://jellyfin.org
@jellyfin-bot commented on GitHub (Dec 31, 2024):
This issue has gone 120 days without an update and will be closed within 21 days if there is no new activity. To prevent this issue from being closed, please confirm the issue has not already been fixed by providing updated examples or logs.
If you have any questions you can use one of several ways to contact us.
@jellyfin-bot commented on GitHub (Jan 22, 2025):
This issue was closed due to inactivity.