[mythtv-users] MythBackend Suddenly swamping CPU on system

Ben Kamen bkamen at benjammin.net
Sun Jul 1 01:25:35 UTC 2012


On 2012-06-30 8:18 PM, Ian Evans wrote:
> On Sat, Jun 30, 2012 at 9:08 PM, Ben Kamen <bkamen at benjammin.net> wrote:
>> So I updated to 0.25 (via ATrpms) -- and no help there (I figured before
>> anyone would ask, "are you on the latest version?" I would just make sure I
>> was)
>
> Don't know if this is at all connected. Had my system for 14 months.
> Been ruuning .25-fixes since its release.
>
> Tonight I was recording to shows and suddenly the system went
> sluggish. Top was showing loads of 45+.
> 18964 ian       20   0  866m 137m  46m R   76  6.8   0:59.83 mythfrontend.real
>   1509 mythtv    20   0  913m  63m 8664 S   58  3.2 157:54.82 mythbackend
>      3 root      20   0     0    0    0 R   30  0.0  22:01.02 ksoftirqd/0
>      9 root      20   0     0    0    0 R   20  0.0  23:55.78 ksoftirqd/1
> 18128 mythtv    37  17  500m  53m  21m S   12  2.7   6:58.64 mythcommflag
>
> Mythfrontend at 76% cpu
> backend at 58
> two ksoftirqd's at 30 and 20%
> commflag at 12%
>
> Never seen anything like this. Record two shows all the time. Just
> killed one of the recording and I'm still as a load of 23.
>
> Any ideas? Any more info you need from me?

And I'm not recording anything or running the frontend on this machine or any connected to it...

and:

top - 20:22:59 up 1 day,  2:24,  1 user,  load average: 13.11, 10.50, 6.42
Tasks: 225 total,   4 running, 221 sleeping,   0 stopped,   0 zombie
Cpu0  : 51.3%us, 47.7%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  1.1%si,  0.0%st
Cpu1  : 10.1%us, 88.2%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  1.7%si,  0.0%st
Cpu2  : 17.4%us, 81.4%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  1.3%si,  0.0%st
Cpu3  : 24.1%us, 75.1%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.8%si,  0.0%st
Mem:   2052856k total,  1737364k used,   315492k free,    66484k buffers
Swap:  4193264k total,        0k used,  4193264k free,   899676k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  9739 root      20   0 1744m  22m 8144 S 262.8  1.1  19:19.65 /usr/bin/mythbackend --daemon --logpath /var/log/mythtv/ --pid
     9 root      20   0     0    0    0 R 44.1  0.0  11:33.92 [ksoftirqd/1]
    13 root      20   0     0    0    0 S 25.5  0.0  56:39.53 [ksoftirqd/2]
    17 root      20   0     0    0    0 S 24.5  0.0  12:39.16 [ksoftirqd/3]
     4 root      20   0     0    0    0 S  8.6  0.0  21:41.86 [ksoftirqd/0]


This started around 7pm CDT for me.

No drive lights going crazy, no network activity

   -Ben


More information about the mythtv-users mailing list