[mythtv-users] High CPU from mythbackend

Greg Moeller skywise at gmail.com
Tue Aug 27 16:55:39 UTC 2013


Sorry for mis-sending this, let's try again.

I'm running a mythbackend using mythbuntu and the mythbackend task is
using 100% CPU no matter what is happening.
root at mythbuntu:/var/log/mythtv# dpkg -l | grep mythtv
ii  libmythtv-perl                              
2:0.26.1+fixes.20130820.6a46ea0-0ubuntu0mythbuntu1 A PERL library to
access some MythTV features
ii  mythtv-backend                              
2:0.26.1+fixes.20130820.6a46ea0-0ubuntu0mythbuntu1 Personal video
recorder application (server)
ii  mythtv-backend-master                       
2:0.26.1+fixes.20130820.6a46ea0-0ubuntu0mythbuntu1 Metapackage to setup
and configure a "Master Backend" profile of MythTV.
ii  mythtv-common                               
2:0.26.1+fixes.20130820.6a46ea0-0ubuntu0mythbuntu1 Personal video
recorder application (common data)

I'm seeing no errors in the logs, just lots N lots of CPU use.
root at mythbuntu:/var/log/mythtv# ps -ef | grep mythba
mythtv    2212     1 99 Aug23 ?        2-13:45:36 /usr/bin/mythbackend
--syslog local7 --user mythtv --daemon

root at mythbuntu:/var/log/mythtv# tail mythbackend.log
Aug 26 09:53:59 mythbuntu mythlogserver: mythbackend[2212]: I
HouseKeeping housekeeper.cpp:221 (RunHouseKeeping) Running housekeeping
thread
Aug 26 09:55:24 mythbuntu mythlogserver: mythbackend[2212]: I Scheduler
scheduler.cpp:2128 (HandleReschedule) Reschedule requested for MATCH 0 0
0 - EITScanner
Aug 26 09:55:24 mythbuntu mythlogserver: mythbackend[2212]: I Scheduler
scheduler.cpp:2241 (HandleReschedule) Scheduled 78 items in 0.1 = 0.09
match + 0.01 check + 0.02 place
Aug 26 09:55:31 mythbuntu mythlogserver: mythbackend[2212]: E
HDHRStreamHandler mpeg/mpegstreamdata.cpp:360 (AssemblePSIP) Error:
offset>181, pes length & current cannot be queried
Aug 26 09:56:30 mythbuntu mythlogserver: mythbackend[2212]: E
HDHRStreamHandler mpeg/mpegstreamdata.cpp:360 (AssemblePSIP) Error:
offset>181, pes length & current cannot be queried

top.....

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
COMMAND          
 2212 mythtv    20   0 1688m  40m 6192 S  105  1.9   3708:02
mythbackend    

The server is an i7 with ~3.8Ghz, so it's extremely busy not doing much.

Anyone know where I should look to see what it's so busy not doing?

Greg

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mythtv.org/pipermail/mythtv-users/attachments/20130827/43219f7d/attachment.html>


More information about the mythtv-users mailing list