Jellyfin Forum
Playback slow to start, randomly stopping - 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: Playback slow to start, randomly stopping (/t-playback-slow-to-start-randomly-stopping)



Playback slow to start, randomly stopping - SierraThePotato - 2025-01-17

Hello,

I am having trouble finding out what is the problem with my Jellyfin install. Sometimes it works flawlessly, other times it takes minutes to start the stream, and even then, it stops again after a few seconds. Hardware should be plenty, and when checking utilization nothing is maxing out.

Setup:
Install method: linuxserver.io docker container, in a Debian VM running in Proxmox.
CPU: i5-8500T, 4 cores allocated to the VM
RAM: 20GB allocated to the VM
OS disk: NVME SSD, this is where the docker container is installed, config and cache are here
Media disk: 2TB Seagate HDD, this is where the media files are stored
External traffic is handled by a Caddy reverse proxy, but the issue persists when I use the direct IP over Tailscale. It's been a while since I used it on the local network, so I don't know about that

Hardware transcoding is enabled, although I'm not sure if it is working.
I can provide the docker compose if that helps.

Here are the log files:

.txt   log_20250117.txt (Size: 54.97 KB / Downloads: 8)

.txt   FFmpeg.DirectStream-2025-01-17_11-30-06_5ac9c1f4415b9250c835e09fcd7c9224_91fc7659.txt (Size: 65.78 KB / Downloads: 9)


RE: Playback slow to start, randomly stopping - TheDreadPirate - 2025-01-17

Are you running out of disk space? How much free space is on the drive that you have /config mounted to?


RE: Playback slow to start, randomly stopping - SierraThePotato - 2025-01-17

I was, until a few day ago, but noticed it and solved the issue. It is a 100GB partition and it has 64GB of free space. The issue didn't go away unfortunately. I mostly watch 720p/1080p content, so that should be plenty.


RE: Playback slow to start, randomly stopping - TheDreadPirate - 2025-01-17

Try playing videos from the local network. Just to eliminate tailscale or caddy issues as a factor.


RE: Playback slow to start, randomly stopping - SierraThePotato - 2025-01-17

Will do tomorrow. But what would cause both Caddy and Tailscale to have this issue?


RE: Playback slow to start, randomly stopping - TheDreadPirate - 2025-01-17

No idea. Just trying to eliminate factors since we don't have much information to work with in your logs.

Can you also try disabling tailscale on the server and accessing Jellyfin through Caddy?


RE: Playback slow to start, randomly stopping - SierraThePotato - 2025-01-17

I installed Tailscale recently, and this issue was present before that. Also, on Tailscale I use the IP address, and with Caddy I use a URL, so I can go around Tailscale, directly to Caddy, but the issue is the same.
Should I enable debug logging and check if anything shows up there?


RE: Playback slow to start, randomly stopping - TheDreadPirate - 2025-01-17

I've rarely found debug logging to be helpful. In addition to being hugely verbose as to hide any useful logs in hundreds of thousands of useless logs.

A couple things you can try.

1. Switch to host networking
2. Spin up a test container, but with the official jellyfin/jellyfin image instead of the linuxserver image.

Regard #2, I've seen weird bugs like this that only happen with the linuxserver image but not the official image.