Fedora Linux Support Community & Resources Center
  #1  
Old 15th June 2006, 04:31 PM
perevera Offline
Registered User
 
Join Date: Feb 2005
Location: Barcelona
Age: 45
Posts: 10
System running out of memory when transcoding

I'm using mythtranscode from MythTV to cut off the commercials in a lossly way, i.e., staying in MPEG2.

I let it running at night with no other processes running, but it always got interrupted and the processing is not finished. Sometimes it reaches half or even more of the recording, but it can never process the whole MPEG file.

I wonder if it could be something related with a lack of memory, since I see the following in /var/log/messages around the time the transcoding stopped:

Jun 13 00:50:41 micasa kernel: oom-killer: gfp_mask=0x201d2, order=0
Jun 13 00:50:42 micasa kernel: [<c013d006>] out_of_memory+0x25/0x13b [<c013e6cc>] __alloc_pages+0x1ec/0x26c
Jun 13 00:50:42 micasa kernel: [<c013f8e9>] __do_page_cache_readahead+0xaa/0x1f3 [<c013a3a0>] __lock_page+0x60/0x67
Jun 13 00:50:42 micasa kernel: [<e08cf746>] dm_any_congested+0x2f/0x35 [dm_mod] [<c013c736>] filemap_nopage+0x126/0x2ec
Jun 13 00:50:42 micasa kernel: [<c01448d6>] __handle_mm_fault+0x27b/0x7c3 [<c02de17a>] do_page_fault+0x189/0x51d
Jun 13 00:50:42 micasa kernel: [<c02ddff1>] do_page_fault+0x0/0x51d [<c01036a3>] error_code+0x4f/0x54
Jun 13 00:50:42 micasa kernel: Mem-info:
Jun 13 00:50:42 micasa kernel: DMA per-cpu:
Jun 13 00:50:42 micasa kernel: cpu 0 hot: high 0, batch 1 used:0
Jun 13 00:50:42 micasa kernel: cpu 0 cold: high 0, batch 1 used:0
Jun 13 00:50:42 micasa kernel: DMA32 per-cpu: empty
Jun 13 00:50:42 micasa kernel: Normal per-cpu:
Jun 13 00:50:42 micasa kernel: cpu 0 hot: high 186, batch 31 used:167
Jun 13 00:50:44 micasa kernel: cpu 0 cold: high 62, batch 15 used:2
Jun 13 00:50:45 micasa kernel: HighMem per-cpu: empty
Jun 13 00:50:45 micasa kernel: Free pages: 5420kB (0kB HighMem)
Jun 13 00:50:45 micasa kernel: Active:59277 inactive:58906 dirty:0 writeback:0 unstable:0 free:1355 slab:2981 mapped:117789 pagetables:1265
Jun 13 00:50:46 micasa kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:5464kB inactive:5176kB present:16384kB pages_scanned:12788 all_unreclaimable? yes
Jun 13 00:50:46 micasa kernel: lowmem_reserve[]: 0 0 495 495
Jun 13 00:50:46 micasa kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 13 00:50:46 micasa kernel: lowmem_reserve[]: 0 0 495 495
Jun 13 00:50:46 micasa kernel: Normal free:3352kB min:2804kB low:3504kB high:4204kB active:231644kB inactive:230448kB present:507888kB pages_scanned:872414 all_unreclaimable? yes
Jun 13 00:50:46 micasa kernel: lowmem_reserve[]: 0 0 0 0
Jun 13 00:50:46 micasa kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 13 00:50:46 micasa kernel: lowmem_reserve[]: 0 0 0 0
Jun 13 00:50:46 micasa kernel: DMA: 1*4kB 2*8kB 2*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2068kB
Jun 13 00:50:46 micasa kernel: DMA32: empty
Jun 13 00:50:47 micasa kernel: Normal: 130*4kB 14*8kB 16*16kB 3*32kB 1*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 3352kB
Jun 13 00:50:47 micasa kernel: HighMem: empty
Jun 13 00:50:47 micasa kernel: Swap cache: add 1108105, delete 1108105, find 67529/182783, race 0+0
Jun 13 00:50:47 micasa kernel: Free swap = 0kB
Jun 13 00:50:47 micasa kernel: Total swap = 1048568kB
Jun 13 00:50:47 micasa kernel: Free swap: 0kB
Jun 13 00:50:47 micasa kernel: 131068 pages of RAM
Jun 13 00:50:47 micasa kernel: 0 pages of HIGHMEM
Jun 13 00:50:47 micasa kernel: 2315 reserved pages
Jun 13 00:50:47 micasa kernel: 1456 pages shared
Jun 13 00:50:47 micasa kernel: 0 pages swap cached
Jun 13 00:50:47 micasa kernel: 0 pages dirty
Jun 13 00:50:47 micasa kernel: 0 pages writeback
Jun 13 00:50:47 micasa kernel: 117789 pages mapped
Jun 13 00:50:47 micasa kernel: 2981 pages slab
Jun 13 00:50:47 micasa kernel: 1265 pages pagetables
Jun 13 00:50:47 micasa kernel: Out of Memory: Kill process 3795 (mythbackend) score 51030 and children.
Jun 13 00:50:47 micasa kernel: Out of memory: Killed process 3796 (mythtranscode).
Jun 13 00:50:47 micasa kernel: oom-killer: gfp_mask=0x201d2, order=0
Jun 13 00:50:47 micasa kernel: [<c013d006>] out_of_memory+0x25/0x13b [<c013e6cc>] __alloc_pages+0x1ec/0x26c
Jun 13 00:50:47 micasa kernel: [<c013f8e9>] __do_page_cache_readahead+0xaa/0x1f3 [<e08cf746>] dm_any_congested+0x2f/0x35 [dm_mod]
Jun 13 00:50:47 micasa kernel: [<c013c736>] filemap_nopage+0x126/0x2ec [<c01448d6>] __handle_mm_fault+0x27b/0x7c3
Jun 13 00:50:47 micasa kernel: [<c0107150>] convert_fxsr_from_user+0x2b/0xeb [<c02de17a>] do_page_fault+0x189/0x51d
Jun 13 00:50:47 micasa kernel: [<c02ddff1>] do_page_fault+0x0/0x51d [<c01036a3>] error_code+0x4f/0x54
Jun 13 00:50:47 micasa kernel: Mem-info:
Jun 13 00:50:47 micasa kernel: DMA per-cpu:
Jun 13 00:50:47 micasa kernel: cpu 0 hot: high 0, batch 1 used:0
Jun 13 00:50:47 micasa kernel: cpu 0 cold: high 0, batch 1 used:0
Jun 13 00:50:47 micasa kernel: DMA32 per-cpu: empty
Jun 13 00:50:47 micasa kernel: Normal per-cpu:
Jun 13 00:50:47 micasa kernel: cpu 0 hot: high 186, batch 31 used:159
Jun 13 00:50:47 micasa kernel: cpu 0 cold: high 62, batch 15 used:2
Jun 13 00:50:47 micasa kernel: HighMem per-cpu: empty
Jun 13 00:50:47 micasa kernel: Free pages: 5420kB (0kB HighMem)
Jun 13 00:50:47 micasa kernel: Active:59324 inactive:58931 dirty:0 writeback:0 unstable:0 free:1355 slab:2981 mapped:117789 pagetables:1265
Jun 13 00:50:47 micasa kernel: DMA free:2068kB min:88kB low:108kB high:132kB active:5464kB inactive:5176kB present:16384kB pages_scanned:12854 all_unreclaimable? yes
Jun 13 00:50:47 micasa kernel: lowmem_reserve[]: 0 0 495 495
Jun 13 00:50:47 micasa kernel: DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 13 00:50:47 micasa kernel: lowmem_reserve[]: 0 0 495 495
Jun 13 00:50:47 micasa kernel: Normal free:3352kB min:2804kB low:3504kB high:4204kB active:231832kB inactive:230548kB present:507888kB pages_scanned:872640 all_unreclaimable? yes
Jun 13 00:50:47 micasa kernel: lowmem_reserve[]: 0 0 0 0
Jun 13 00:50:47 micasa kernel: HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB present:0kB pages_scanned:0 all_unreclaimable? no
Jun 13 00:50:47 micasa kernel: lowmem_reserve[]: 0 0 0 0
Jun 13 00:50:47 micasa kernel: DMA: 1*4kB 2*8kB 2*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2068kB
Jun 13 00:50:47 micasa kernel: DMA32: empty
Jun 13 00:50:47 micasa kernel: Normal: 130*4kB 14*8kB 16*16kB 3*32kB 1*64kB 0*128kB 1*256kB 0*512kB 0*1024kB 1*2048kB 0*4096kB = 3352kB
Jun 13 00:50:47 micasa kernel: HighMem: empty
Jun 13 00:50:47 micasa kernel: Swap cache: add 1108113, delete 1108105, find 67529/182784, race 0+0
Jun 13 00:50:47 micasa kernel: Free swap = 0kB
Jun 13 00:50:47 micasa kernel: Total swap = 1048568kB
Jun 13 00:50:47 micasa kernel: Free swap: 0kB
Jun 13 00:50:47 micasa kernel: 131068 pages of RAM
Jun 13 00:50:47 micasa kernel: 0 pages of HIGHMEM
Jun 13 00:50:47 micasa kernel: 2315 reserved pages
Jun 13 00:50:47 micasa kernel: 1456 pages shared
Jun 13 00:50:47 micasa kernel: 8 pages swap cached
Jun 13 00:50:47 micasa kernel: 0 pages dirty
Jun 13 00:50:47 micasa kernel: 0 pages writeback
Jun 13 00:50:47 micasa kernel: 117789 pages mapped
Jun 13 00:50:47 micasa kernel: 2981 pages slab
Jun 13 00:50:47 micasa kernel: 1265 pages pagetables

I actually see the kernel is killing mythbackend and its child mythtranscode.

My question is, might this be a bug in mythtranscode? or Do I need to enlarge the swap space or something?
Reply With Quote
Reply

Tags
memory, running, transcoding

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FC6 running consuming most of the memory ? dumpe2fs EOL (End Of Life) Versions 2 14th April 2007 08:31 AM
Running out of memory balexander Servers & Networking 6 5th April 2007 01:02 AM
Memory leak when running web apps under TOMCAT dummies Using Fedora 0 4th January 2006 03:52 AM
Quake 3 running out of memory in Core 4? Thetargos Using Fedora 2 21st July 2005 05:25 AM


Current GMT-time: 21:20 (Monday, 20-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Nova Vicosa Travel Photos - Kalininskiy Instagram Photos - Asia