Jellyfin Forum
Network connections do not close - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+---- Forum: Networking & Access (https://forum.jellyfin.org/f-networking-access)
+---- Thread: Network connections do not close (/t-network-connections-do-not-close)



Network connections do not close - Alex Huber - 2024-10-19

Hello,

I'm using Jellyfin 10.9.11 on my TrueNAS Scale server.

When the container is first started, it produces a moderate amount of network traffic while ideling. (see below) (84 kb/s incoming, 2.01 Mb/s outgoing)
[Image: image.png?ex=6714d567&is=671383e7&hm=f54...y=lossless]

When I now start playback of a movie in Jellyfin the outgoing network traffic goes up (as expected) (see below) (17.42 Mb/s outgoing)
[Image: image.png?ex=6714d60a&is=6713848a&hm=922...y=lossless]

When I now stop the playback and close the jellyfin browser tab, the outgoing network traffic stays at this high rate.

The more I repeat this, the higher the outgoing traffic stacks up.

Code:
2024-10-19 12:05:17.298523+02:00[12:05:17] [INF] [18] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.115.69 request
2024-10-19 12:05:23.272777+02:00[12:05:23] [INF] [17] Jellyfin.Api.Helpers.MediaInfoHelper: User policy for admin. EnablePlaybackRemuxing: True EnableVideoPlaybackTranscoding: True EnableAudioPlaybackTranscoding: True
2024-10-19 12:05:59.017119+02:00[12:05:59] [INF] [16] Emby.Server.Implementations.Session.SessionManager: Playback stopped reported by app Jellyfin Web 10.9.11 playing Scary Movie. Stopped at 403606 ms
2024-10-19 12:08:04.104007+02:00[12:08:04] [INF] [40] Emby.Server.Implementations.HttpServer.WebSocketManager: WS 192.168.115.69 closed

The server is only accessible through LAN and no active client is connected. Still, the network traffic stays that high an climbs higher and higher.

Is this a problem better suited for the TrueNAS forums, or do any of you have some idea what the problem could be?

Thanks in advance ^^

Edit:
I looked at the TrueNAS network monitoring and the traffic expressed in the above images does not get through to the cable. It seems this traffic stays within the logical kubernetes network. Maybe access to the mounted volumes? Would this mean, that the file streams are not closed properly? However the drives are not accessed as well.
[Image: image.png?ex=6714d9b3&is=67138833&hm=2ce...e06ca750d&]

[Image: image.png?ex=6714dbfd&is=67138a7d&hm=6ea...da8c88d3c&]


RE: Network connections do not close - TheDreadPirate - 2024-10-19

Can you share your jellyfin logs via pastebin?