Bug #2765
ever-increasing CPU usage
100%
Description
This bug has been noticed for several weeks now. However now have the proper debugging environment to catch logs and stacktrace about it.
Symptoms:
1* Start tvheadend - works very well to begin with
2* Left it network scanning (sat>ip, inverto IDL-400s)
3* After about 12 hours - tvheadend process is now using >75% CPU on 1 core
4* Tvheadend still works (but considerably more slowly)
5* After about 24 hours - tvheadend process is now using most CPU of BOTH cores.
6* Tvheadend crashes / runs out of resources.
Today I have taken live stacktrace at point 3* - after about 12 hours. Files attached.
If you require more logging, then please specify the extra sub-systems you need, then I can re-run the test again. Many thanks.
Files
History
Updated by Dreamcat 4 over 9 years ago
- File tvheadend-3.9.2679~g995aaf8~trusty.gdb.stacktrace.log tvheadend-3.9.2679~g995aaf8~trusty.gdb.stacktrace.log added
This log file contains the same GDB stactrace.txt, but also include at top a few extra supplementary info or "uname -a", and "ps -aux".
Updated by Dreamcat 4 over 9 years ago
[10:31] < perexg> dreamcat4: use top to show the busy threads: 'top -H -p <pid_of_tvheadend>'
Updated by Dreamcat 4 over 9 years ago
The Problem was:
Bad epg config file. Saving EPG data every 1 second:
https://gist.github.com/dreamcat4/459001568f356e8655ca
"epgdb_periodicsave": 1,
Where it should be:
"epgdb_periodicsave": 3600,
From manually editing config file.
Updated by Jaroslav Kysela over 9 years ago
- Status changed from New to Fixed
- % Done changed from 0 to 100
Applied in changeset commit:tvheadend|79ec2df4ddaaf31bad38611b374067fb109ef6d3.