Project

General

Profile

Actions

Bug #6009

open

[DVR] 100%CPU after running some days

Added by Robert Heel about 4 years ago. Updated over 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
PVR / DVR
Target version:
-
Start date:
2021-02-21
Due date:
% Done:

0%

Estimated time:
Found in version:
multiple, updated up to 4.3-1923~gaaca05cc1
Affected Versions:

Description

I'm using tvheadend for a long time. Every now and then this issue happens. But the last weeks this issue reoccurs on a daily basis.
I think that's because over the time we collect over 5000 recordings - but I don't like to delete them to verify...

System: Ubuntu 20.04.2 LTS
Memory: 32 GB
Disk: 24 TB btrfs raid 5

top -H shows tvh:dvr on first place

strace tvheadend repeats the lines
futex(0x5631f0daed60, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x5631f0c4e028, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 0, {tv_sec=1613940659, tv_nsec=0}, FUTEX_BITSET_MATCH_ANY) = -1 ETIMEDOUT

strace tvh:dvr repeats the line
futex(0x5631f3e0adf4, FUTEX_WAKE_PRIVATE, 2147483647) = 0

killing the tvh:dvr thread or restarting tvheadend solves the issue for a while.

Actions

Also available in: Atom PDF