[mythtv-users] SVN mythfrontend railing hard drive (memory leak I think, see my syslog)

Greg Grotsky spikeygg at gmail.com
Sat Apr 8 16:17:39 UTC 2006


Using SVN 9646.  Every once in a while (three times in the last two days),
my mythfrontend goes batty.  Once it was idle at the menu and the backend
began recording a show and it went crazy.  And once I was starting
mythtv-setup, it brought up the grey G.A.N.T. background, then went crazy.
Both times while just idling at the frontend menu it began doing tons of
disk access and won't accept input (can't even ssh in).  Whatever is
happening, it brings the whole machine to a screeching halt.  I can hear the
disks going crazy.  I'm thinking that it's a memory leak but the only
evidence I have is a syslog dump (below), it's from the time when I ran
mythtv-setup.  I just found that I can cause the "lockup" if I go into
appearances and walk through the menus to finish, when it reloads the
settings sometimes it gets stuck in the memory hog loop.

Apr  8 09:32:20 mythbox kernel: oom-killer: gfp_mask=0x201d2, order=0
Apr  8 09:32:21 mythbox kernel:  [out_of_memory+39/333]
out_of_memory+0x27/0x14d
Apr  8 09:32:21 mythbox kernel:  [__alloc_pages+477/609]
__alloc_pages+0x1dd/0x261
Apr  8 09:32:21 mythbox kernel:  [__do_page_cache_readahead+211/521]
__do_page_cache_readahead+0xd3/0x209
Apr  8 09:32:21 mythbox kernel:  [io_schedule+14/22] io_schedule+0xe/0x16
Apr  8 09:32:21 mythbox kernel:  [__wait_on_bit_lock+74/81]
__wait_on_bit_lock+0x4a/0x51
Apr  8 09:32:21 mythbox kernel:  [filemap_nopage+325/741]
filemap_nopage+0x145/0x2e5
Apr  8 09:32:21 mythbox kernel:  [__handle_mm_fault+557/1819]
__handle_mm_fault+0x22d/0x71b
Apr  8 09:32:21 mythbox kernel:  [do_page_fault+355/1188]
do_page_fault+0x163/0x4a4
Apr  8 09:32:21 mythbox kernel:  [do_page_fault+0/1188]
do_page_fault+0x0/0x4a4
Apr  8 09:32:21 mythbox kernel:  [error_code+79/84] error_code+0x4f/0x54
Apr  8 09:32:21 mythbox kernel: Mem-info:
Apr  8 09:32:21 mythbox kernel: DMA per-cpu:
Apr  8 09:32:21 mythbox kernel: cpu 0 hot: high 0, batch 1 used:0
Apr  8 09:32:21 mythbox kernel: cpu 0 cold: high 0, batch 1 used:0
Apr  8 09:32:21 mythbox kernel: DMA32 per-cpu: empty
Apr  8 09:32:21 mythbox kernel: Normal per-cpu:
Apr  8 09:32:21 mythbox kernel: cpu 0 hot: high 186, batch 31 used:152
Apr  8 09:32:21 mythbox kernel: cpu 0 cold: high 62, batch 15 used:49
Apr  8 09:32:21 mythbox kernel: HighMem per-cpu: empty
Apr  8 09:32:21 mythbox kernel: Free pages:        8244kB (0kB HighMem)
Apr  8 09:32:21 mythbox kernel: Active:213993 inactive:448 dirty:0
writeback:1 unstable:0 free:2061 slab:4385 mapped:211769 pagetables:658
Apr  8 09:32:21 mythbox kernel: DMA free:3588kB min:68kB low:84kB high:100kB
active:9984kB inactive:40kB present:16384kB pages_scanned:10476
all_unreclaimable? yes
Apr  8 09:32:21 mythbox kernel: lowmem_reserve[]: 0 0 880 880
Apr  8 09:32:21 mythbox kernel: DMA32 free:0kB min:0kB low:0kB high:0kB
active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Apr  8 09:32:21 mythbox kernel: lowmem_reserve[]: 0 0 880 880
Apr  8 09:32:21 mythbox kernel: Normal free:4656kB min:3756kB low:4692kB
high:5632kB active:845988kB inactive:1752kB present:901120kB
pages_scanned:213106 all_unreclaimable? no
Apr  8 09:32:21 mythbox kernel: lowmem_reserve[]: 0 0 0 0
Apr  8 09:32:21 mythbox kernel: HighMem free:0kB min:128kB low:128kB
high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0
all_unreclaimable? no
Apr  8 09:32:21 mythbox kernel: lowmem_reserve[]: 0 0 0 0
Apr  8 09:32:21 mythbox kernel: DMA: 1*4kB 0*8kB 0*16kB 0*32kB 0*64kB
2*128kB 1*256kB 0*512kB 1*1024kB 1*2048kB 0*4096kB = 3588kB
Apr  8 09:32:21 mythbox kernel: DMA32: empty
Apr  8 09:32:21 mythbox kernel: Normal: 228*4kB 8*8kB 4*16kB 1*32kB 0*64kB
0*128kB 0*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 4656kB
Apr  8 09:32:21 mythbox kernel: HighMem: empty
Apr  8 09:32:21 mythbox kernel: Swap cache: add 0, delete 0, find 0/0, race
0+0
Apr  8 09:32:21 mythbox kernel: Free swap  = 0kB
Apr  8 09:32:21 mythbox kernel: Total swap = 0kB
Apr  8 09:32:21 mythbox kernel: Free swap:            0kB
Apr  8 09:32:21 mythbox kernel: 229376 pages of RAM
Apr  8 09:32:21 mythbox kernel: 0 pages of HIGHMEM
Apr  8 09:32:21 mythbox kernel: 4259 reserved pages
Apr  8 09:32:21 mythbox kernel: 8603 pages shared
Apr  8 09:32:21 mythbox kernel: 0 pages swap cached
Apr  8 09:32:21 mythbox kernel: 0 pages dirty
Apr  8 09:32:21 mythbox kernel: 1 pages writeback
Apr  8 09:32:21 mythbox kernel: 211769 pages mapped
Apr  8 09:32:21 mythbox kernel: 4385 pages slab
Apr  8 09:32:21 mythbox kernel: 658 pages pagetables
Apr  8 09:32:21 mythbox kernel: Out of Memory: Kill process 2655 (bash)
score 107838 and children.
Apr  8 09:32:21 mythbox kernel: Out of memory: Killed process 17301
(mythfrontend).

If anyone can help me, troubleshoot this I'd like to solve it! :)

Thanks,
-Greg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060408/cb6fba89/attachment.htm 


More information about the mythtv-users mailing list