[mythtvnz] End of Recording crash

Tim, Donna & Erin Gibson mythtvnz@lists.linuxnut.co.nz
Sun, 26 Mar 2006 20:01:11 +1200


OK here we go I was expecting it to crash etc after TV3 news which I record 
each night but it dodn't it decided to crash just after the Simpsons ended.

Just before recording ended

top - 18:56:38 up 1 day, 10:30,  5 users,  load average: 2.36, 1.91, 1.51
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 22.5% us, 10.9% sy,  0.0% ni, 63.9% id,  0.3% wa,  0.0% hi,  2.3% si
Mem:    513792k total,   508012k used,     5780k free,      488k buffers
Swap:   506036k total,    45496k used,   460540k free,   385388k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  179m  71m  36m S 16.3 14.3  43:18.23 mythfrontend
12965 root      16   0 51292  39m  21m S  9.0  7.9  11:05.48 X
 9039 mythtv    16   0  167m  11m 5128 S  0.3  2.2   5:13.27 mythbackend

Just after recording ended

top - 19:02:25 up 1 day, 10:36,  5 users,  load average: 1.25, 1.64, 1.53
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 22.6% us, 12.3% sy,  0.0% ni, 64.8% id,  0.3% wa,  0.0% hi,  0.0% si
Mem:    513792k total,   507324k used,     6468k free,      564k buffers
Swap:   506036k total,    45496k used,   460540k free,   384052k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  179m  72m  36m S 17.3 14.4  44:28.16 mythfrontend
12965 root      15   0 51292  39m  21m S  5.0  7.9  11:25.09 X
 9039 mythtv    16   0  167m  11m 5128 S  0.0  2.2   5:16.22 mythbackend

OK it did not crash after a recording but i at the end of a program which 
could be the same thing...

At the end just when it froze...

top - 19:30:21 up 1 day, 11:04,  5 users,  load average: 2.19, 1.85, 1.53
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 54.8% us, 45.2% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    513792k total,   507576k used,     6216k free,      384k buffers
Swap:   506036k total,    45496k used,   460540k free,   311900k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  250m 142m  36m S 88.5 28.5  50:13.48 mythfrontend
12965 root      15   0 51292  39m  21m S  0.0  7.9  12:53.24 X
 9039 mythtv    16   0  167m  11m 5128 S  0.0  2.2   5:31.81 mythbackend

A wee while later...

top - 19:31:33 up 1 day, 11:05,  5 users,  load average: 2.07, 1.86, 1.55
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 58.0% us, 41.7% sy,  0.0% ni,  0.0% id,  0.3% wa,  0.0% hi,  0.0% si
Mem:    513792k total,   508320k used,     5472k free,       68k buffers
Swap:   506036k total,    48036k used,   458000k free,    54560k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  506m 396m  35m S 89.1 79.1  51:17.34 mythfrontend
12965 root      15   0 51292  38m  21m S  0.0  7.8  12:53.24 X
 9039 mythtv    16   0  167m  11m 5116 S  0.0  2.2   5:31.96 mythbackend

Swap starting to fill....

top - 19:32:15 up 1 day, 11:05,  5 users,  load average: 1.79, 1.81, 1.55
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 52.3% us, 47.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.3% hi,  0.0% si
Mem:    513792k total,   507368k used,     6424k free,      128k buffers
Swap:   506036k total,   197116k used,   308920k free,    51964k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  656m 408m  24m S 88.9 81.4  51:54.57 mythfrontend
12965 root      15   0 51292  25m  19m S  0.0  5.0  12:53.24 X
 9039 mythtv    16   0  167m 8464 3240 S  0.0  1.6   5:32.06 mythbackend

X killed?...

top - 19:33:01 up 1 day, 11:06,  5 users,  load average: 1.64, 1.77, 1.55
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 53.3% us, 46.3% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.3% hi,  0.0% si
Mem:    513792k total,   508072k used,     5720k free,      188k buffers
Swap:   506036k total,   385884k used,   120152k free,    42396k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  816m 387m 2312 S 88.5 77.2  52:34.35 mythfrontend
 9039 mythtv    16   0  167m 4880 1816 S  0.0  0.9   5:32.15 mythbackend

top - 19:33:34 up 1 day, 11:07,  5 users,  load average: 1.59, 1.75, 1.54
Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
Cpu(s): 54.0% us, 45.7% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.3% hi,  0.0% si
Mem:    513792k total,   507528k used,     6264k free,      156k buffers
Swap:   506036k total,   496236k used,     9800k free,    34368k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
12980 mythtv    15   0  933m 397m 2308 S 88.8 79.2  53:03.53 mythfrontend
 9039 mythtv    16   0  167m 4816 1812 S  0.0  0.9   5:32.17 mythbackend

Ka-bloooweeeeee

top - 19:34:21 up 1 day, 11:08,  5 users,  load average: 5.70, 2.78, 1.90
Tasks:  78 total,   2 running,  76 sleeping,   0 stopped,   0 zombie
Cpu(s):  0.3% us,  0.0% sy,  0.0% ni, 99.7% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    513792k total,    69796k used,   443996k free,      480k buffers
Swap:   506036k total,    57132k used,   448904k free,    20680k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9260 ntp       16   0  3408 3408 2424 S  0.0  0.7   0:01.28 ntpd
 8364 mysql     16   0  134m 3080 1264 S  0.0  0.6   1:13.08 mysqld
 9039 mythtv    16   0  148m 3024 1868 S  0.0  0.6   5:34.00 mythbackend

Some messages from the frontend log, restarted the frontend at 19:36...

2006-03-26 19:30:00.002 rebuffering (1913 32768)
2006-03-26 19:30:02.478 NVP: prebuffering pause
2006-03-26 19:30:04.123 NVP: Prebuffer wait timed out 10 times.
......
2006-03-26 19:33:56.297 NVP: Prebuffer wait timed out 10 times.
2006-03-26 19:36:37.103 Using runtime prefix = /usr

kern.log

Mar 26 19:34:08 localhost kernel: oom-killer: gfp_mask=0xd0, order=3

etc. etc etc...

Now to figure out whats causing it all. Has only been happening since the 
upgrade to 0.19

A long post but hey...

Tim

On Sun, 26 Mar 2006 18:22, Steve Hodge wrote:
> It doesn't seem to be leaking memory at the moment.
>
> On 3/26/06, Tim, Donna & Erin Gibson <tim_donna@slingshot.co.nz> wrote:
> > An hour later...
> >
> > top - 17:17:38 up 1 day,  8:51,  5 users,  load average: 1.11, 1.17, 1.23
> > Tasks:  84 total,   2 running,  82 sleeping,   0 stopped,   0 zombie
> > Cpu(s): 22.3% us, 12.7% sy,  0.3% ni, 62.3% id,  0.3% wa,  0.0% hi,  2.0%
> > si Mem:    513792k total,   507756k used,     6036k free,      504k
> > buffers Swap:   506036k total,    45496k used,   460540k free,   390840k
> > cached
> >
> >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > 12980 mythtv    15   0  170m  70m  35m S 17.6 14.0  23:25.10 mythfrontend
> > 12965 root      15   0 49564  36m  21m S  7.6  7.2   5:40.82 X
> >  9039 mythtv    16   0  167m  10m 5052 S  0.3  2.2   4:33.41 mythbackend
> >
> > On Sun, 26 Mar 2006 16:41, Steve Hodge wrote:
> > > On 3/26/06, Tim, Donna & Erin Gibson <tim_donna@slingshot.co.nz> wrote:
> > > > Here's the current status of the box after about one hour of watching
> > > > live tv...
> > > >   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> > > > 12980 mythtv    15   0  169m  70m  35m S 21.6 14.0  10:41.67
> > > > mythfrontend
> > >
> > > Is mythfrontend's memory use stable or increasing?
> > >
> > > Steve
> > >
> > > _______________________________________________
> > > mythtvnz mailing list
> > > mythtvnz@lists.linuxnut.co.nz
> > > http://lists.ourshack.com/mailman/listinfo/mythtvnz
> > > Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
> >
> > --
> > Regards
> > Tim, Donna & Erin Gibson
> > ICQ - 2207616
> >
> > _______________________________________________
> > mythtvnz mailing list
> > mythtvnz@lists.linuxnut.co.nz
> > http://lists.ourshack.com/mailman/listinfo/mythtvnz
> > Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/
>
> _______________________________________________
> mythtvnz mailing list
> mythtvnz@lists.linuxnut.co.nz
> http://lists.ourshack.com/mailman/listinfo/mythtvnz
> Archives http://www.gossamer-threads.com/lists/mythtv/mythtvnz/

-- 
Regards
Tim, Donna & Erin Gibson
ICQ - 2207616