Project

General

Profile

Bug #6030

CPU usage jumps by 100% when tvheadend cannot create directory for recording.

Added by Peter Fox 15 days ago. Updated 15 days ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
PVR / DVR
Target version:
-
Start date:
2021-04-03
Due date:
% Done:

0%

Estimated time:
Found in version:
4.2.8-r1 (gentoo)
Affected Versions:

Description

Running a script to check tvheadend cpu usage every minute, I see it jump by 100% whenever a recording is due to start, but it cannot create a directory for the recording. For example:
at 2021-04-03 09:58:01, to reports tvheadend cpu usage now 200.0% (previously ~100%.
tvheadend log around this time shows:

Apr  3 09:57:30 cooler tvheadend[24060]: dvr: "Walker, Texas Ranger" on "CBS Drama" recorder starting                                                                                   
Apr  3 09:57:30 cooler tvheadend[24060]: dvr: About to set stop timer for "Walker, Texas Ranger" on "CBS Drama" at start 1617440400 and original stop 1617444000 and overall stop at 16\
17444180                                                                                                                                                                                
Apr  3 09:57:30 cooler tvheadend[24060]: mpegts: 529.833MHz in London - tuning on Silicon Labs Si2168 : DVB-T #0                                                                        
Apr  3 09:57:30 cooler tvheadend[24060]: subscription: 0037: "DVR: Walker, Texas Ranger" subscribing on channel "CBS Drama", weight: 300, adapter: "Silicon Labs Si2168 : DVB-T #0", ne\
twork: "London", mux: "529.833MHz", service: "CBS Drama", profile="pass"                                                                                                                
Apr  3 09:58:00 cooler tvheadend[24060]: dvr: Unable to create dir "/home/Recordings/Latest/CBS-Drama": Permission denied                                                               
Apr  3 09:58:00 cooler tvheadend[24060]: dvr: Recording error: "Walker, Texas Ranger": Unable to create file                                                                            
Apr  3 09:58:00 cooler tvheadend[24060]: subscription: 0037: "DVR: Walker, Texas Ranger" unsubscribing from "CBS Drama"                                                                 
Apr  3 09:58:00 cooler tvheadend[24060]: dvr: "Walker, Texas Ranger" on "CBS Drama": End of program: File not created                                                                  

The failed recording was not visible in the gui under failed recordings.

History

#1

Updated by Flole Systems 15 days ago

  • Status changed from New to Invalid

Reports for old versions are no longer accepted. Use latest master and check if the issue you are reporting is a duplicate.

Also available in: Atom PDF