I apologize if this issue has been resolved elsewhere, but I cannot seem to figure it out. I am using comskip (https://github.com/erikkaashoek/Comskip) to detect commercials and create a cut file. I have TVHeadend configured with the following post-processing command:
/usr/local/bin/comskip -q --cuvid --ini="/home/hts/comskip.ini" "%f"
This works pretty flawlessly, but the problem is that the process does not seem to die and after a day or so, my CPU is pinned at 100% usage. When I remove the post-processing command, the issue dissapears. I found a thread from 7 years ago (https://tvheadend.org/d/1584-tvheadend-service-at-100-after-a-day-of-use?r=12355) that is addressing the issue, but there was no resolution. I should also note that if I run the post processing command outside of TVH, it works fine and exits cleanly. I have attached some of the TVH log file and the output of htop. Any help would be greatly appreciated.
OS: Ubuntu 20.04
TVH Version: 4.3.0~pre+202104021921-0~built202104031334~git98a7c6cfd~ubuntu20.04.1