Bug #4126
tvheadend unresponsive when overloaded by a transcoding
Status:
New
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2016-12-08
Due date:
% Done:
0%
Estimated time:
Found in version:
4.1-2369-g0794296
Affected Versions:
Description
I set up a transcoding recording, mistakenly setting x265 as the video codec. My PC isn't powerful enough and couldn't keep up realtime.
tvheadend 100% cpu usage (expected) and from time to time a notification in the log that a buffer of 50M was filled up and data was discarded (not great, but more or less expected -- timeshift could be used to buffer slow transcoding?)
Now the bug : tvheadend was completely unreachable over the webui, and there was no way to playback another channel (tried kodi). IMO an overkill transcoding shouldn't completely kill off basic functionality.
If transcoding happens in a thread, setting its priority to one more than tvheadend could be a solution.