#High CPU Usage with no viewers

1 messages · Page 1 of 1 (latest)

frigid monolith
#

I am on latest, but this was happening previously too.

After a channel has been watched, but now closed - CPU usage stays high. Running Top in the container shows all the usage is coming from ffmpeg.

When this happens it is consistently using 10%+ of my CPU. For comparison, this is more than qbit with 3000+ torrents actively seeding.

I notice if I restart the container (so for sure no one has used Tunarr to watch a channel) CPU usage is normal.

I started investigating this because I saw this in the Jellyfin Roku changelog and I thought it might be related: https://github.com/jellyfin/jellyfin-roku/pull/627

My stack:
-Intel N305
-Debian 12
-Jellyfin with all various device types

wheat minnow
#

IIRC I've seen some clients that don't seem to properly close / disconnect the underlying request for the stream, which is the only way Tunarr knows that the connected client has disconnected

#

i'd be curious for you to try with another client and see if the underlying ffmpeg process goes away as expected, just to try and narrow where this is coming from

frigid monolith