Project

General

Profile

Bug #6242

High CPU load

Added by Andreas Tauscher almost 2 years ago. Updated almost 2 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
General
Target version:
-
Start date:
2023-01-01
Due date:
% Done:

0%

Estimated time:
Found in version:
4.3-2069
Affected Versions:

Description

Hi!

After updating from 4.3-2027 from the old repository at apt.tvheadend.org to 4.3-2069 from the new repository I had a constant CPU load of 100%.
Downgrading to 4.3-2068 brought the CPU load back to ~20% as it was before.

OS: Debian 11
Signal source: SAT>IP server Kathrein Exip418
System: Thomas-Krenn LES network 6L with 16GB RAM and i5-8250U CPU

History

#1

Updated by Flole Systems almost 2 years ago

  • Status changed from New to Invalid

Impossible, the difference between 2068 and 2069 is simply, that a deb for kinetic is now also built. Maybe the system is doing a backup etc., no debug logs provided so no clue.

#2

Updated by Andreas Tauscher almost 2 years ago

Flole Systems wrote:

Impossible, the difference between 2068 and 2069 is simply, that a deb for kinetic is now also built. Maybe the system is doing a backup etc., no debug logs provided so no clue.

After some while I got an alert from my monitoring system that the powerconsumption of this machine is unusual high.
tvheadend was at this time for about 2 hours at 100%

For now it is not reproducable :/. Everything normal. Idle <1%, EPG scan ~3-5%, recording 4 channels + up to 20%

If it happens again: Simply enabling everything looking like debug is unlikely effective.
The debuging wiki page told me: --debug allows you to specify which subsystem to debug (TODO: add more info)
Where to start in such cases?

#3

Updated by Flole Systems almost 2 years ago

The wiki is incomplete, the docs are much more complete: https://github.com/tvheadend/tvheadend/blob/master/docs/class/debugging.md

The best chances to figure out what's wrong is find out which thread is causing the high load and then use gdb to check what it's doing.

Also available in: Atom PDF