Project

General

Profile

Actions

Bug #1376

closed

Around 40% CPU at start on Pi for minutes (dunno yet if it stops)

Added by Eric Valette over 12 years ago. Updated over 12 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
EPG
Target version:
-
Start date:
2012-10-31
Due date:
% Done:

0%

Estimated time:
Found in version:
d761985f3b6c0002e5d4f39c6ded3d00a0d57ed9
Affected Versions:

Description

I have build tvheaedend git today on PI and I have problem playing TV on XBMC. It turns out that tvheadend consumes up to 45% cpu and 35%+ always at the beginning for long period of time probably parsing eit, or updating its epg database. This prevent streaming to local XBMC. I suspect this is due to eit parsing, and epg database updating. I add there is nothing connected to it (no XBMC, no web interface, nothing). Is there a way to prevent eit background parsing or epg updating? Staring in foreground and debug mode, we see the eit parsing on all channels, epg updating but it consumes memory for too long.

top - 15:41:24 up 32 min, 5 users, load average: 0.21, 0.29, 0.33
Tasks: 73 total, 1 running, 72 sleeping, 0 stopped, 0 zombie
%Cpu(s): 10.2 us, 23.4 sy, 0.0 ni, 66.0 id, 0.0 wa, 0.4 hi, 0.0 si, 0.0 st
KiB Mem: 124176 total, 98040 used, 26136 free, 11536 buffers
KiB Swap: 974844 total, 0 used, 974844 free, 39320 cached

PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND                                                                     
2184 hts 20 0 99396 3784 1820 S 34.5 3.0 4:05.79 tvheadend Tasks: 63 total, 1 running, 62 sleeping, 0 stopped, 0 zombie

Files

tvh.log (61.8 KB) tvh.log tvheadendlog Eric Valette, 2012-10-31 16:41
Actions

Also available in: Atom PDF