From: AJ O. <coo...@gm...> - 2010-12-19 23:47:16
|
Yes. I have `mem=176` set in u-boot it's an a 16mb boundary. I think the requirement to be on a 4k boundary, right? I haven't seen the same memory error since I made the change... I also haven't been able to get my apps to run very long without segfaulting since the change either, but at least now I can debug a little better. AJ ONeal On Sat, Dec 18, 2010 at 9:01 PM, Robert Vogt IV <ro...@io...> wrote: > Hi AJ, > > Are you using the DSP at all? > > > Robert Vogt IV > CEO > IOSiX, LLC > 2375 Parkwood Ave > Ypsilanti, MI 48198 > ro...@io... > P: 734-730-9690 > F: 734-482-2337 > > > > On Sat, Dec 18, 2010 at 7:48 PM, AJ ONeal <coo...@gm...> wrote: > > I don't know, but none of the processes are using 50% of the memory. > > > > In total they're using 50%. > > > > I think I may have found the answer though: > > > http://www.hskupin.info/2010/06/17/how-to-fix-the-oom-killer-crashe-under-linux/ > > http://www.win.tue.nl/~aeb/linux/lk/lk-9.html#ss9.6<http://www.win.tue.nl/%7Eaeb/linux/lk/lk-9.html#ss9.6> > > > > The kernel allows all processes to use 50% of RAM + Swap by default. > > Gumstix ship without swap, but with the default setting in the kernel. > > > > If this isn't the fix, the bounty is still open, I'll be testing in a few > > minutes. > > > > AJ ONeal > > > > > > On Sat, Dec 18, 2010 at 6:31 PM, Pat Suwalski <pa...@su...> wrote: > >> > >> A user process is only allowed to use 50% of available physical memory, > >> isn't it? > >> > >> --Pat > >> > >> On 10-12-18 08:16 PM, AJ ONeal wrote: > >> > I've got htop up and I'm watching memory usage I was using a mere 80mb > >> > of an available 160mb > >> > > >> > I keep getting segfaults over and over and over again. > >> > I've gotten them from ffmpeg, ls, node. I've tried kernel 2.6.34 and > >> > 2.6.36. > >> > > >> > If you can give me the solution to how I get my system to give me the > >> > full 160mb I deserve, > >> > you'll get $150 that you deserve. > >> > > >> > I can do paypal, wire transfer, however you would like it in the > >> > currency of your choice. > >> > > >> > > >> > sh invoked oom-killer: gfp_mask=0xd0, order=2, oom_adj=0 > >> > [<c00385c8>] (unwind_backtrace+0x0/0xec) from [<c0095eec>] > >> > (dump_header+0x3c/0x108) > >> > [<c0095eec>] (dump_header+0x3c/0x108) from [<c0095ff4>] > >> > (oom_kill_process+0x3c/0xf8) > >> > [<c0095ff4>] (oom_kill_process+0x3c/0xf8) from [<c00964cc>] > >> > (__out_of_memory+0x15c/0x180) > >> > [<c00964cc>] (__out_of_memory+0x15c/0x180) from [<c009657c>] > >> > (out_of_memory+0x8c/0xc0) > >> > [<c009657c>] (out_of_memory+0x8c/0xc0) from [<c00991fc>] > >> > (__alloc_pages_nodemask+0x430/0x530) > >> > [<c00991fc>] (__alloc_pages_nodemask+0x430/0x530) from [<c0099310>] > >> > (__get_free_pages+0x14/0x44) > >> > [<c0099310>] (__get_free_pages+0x14/0x44) from [<c003ba88>] > >> > (get_pgd_slow+0x18/0xe8) > >> > [<c003ba88>] (get_pgd_slow+0x18/0xe8) from [<c0058c7c>] > >> > (mm_init+0x94/0xd4) > >> > [<c0058c7c>] (mm_init+0x94/0xd4) from [<c00591fc>] (dup_mm+0x60/0x3b0) > >> > [<c00591fc>] (dup_mm+0x60/0x3b0) from [<c0059c10>] > >> > (copy_process+0x624/0xba8) > >> > [<c0059c10>] (copy_process+0x624/0xba8) from [<c005a2ec>] > >> > (do_fork+0x158/0x310) > >> > [<c005a2ec>] (do_fork+0x158/0x310) from [<c0033f00>] > >> > (ret_fast_syscall+0x0/0x30) > >> > Mem-info: > >> > Normal per-cpu: > >> > CPU 0: hi: 42, btch: 7 usd: 0 > >> > active_anon:17334 inactive_anon:17901 isolated_anon:20 > >> > active_file:14 inactive_file:11 isolated_file:13 > >> > unevictable:0 dirty:0 writeback:0 unstable:0 > >> > free:4016 slab_reclaimable:603 slab_unreclaimable:882 > >> > mapped:199 shmem:18044 pagetables:180 bounce:0 > >> > Normal free:16064kB min:1688kB low:2108kB high:2532kB > >> > active_anon:69336kB inactive_anon:71604kB aco > >> > lowmem_reserve[]: 0 0 > >> > Normal: 1982*4kB 981*8kB 8*16kB 1*32kB 2*64kB 0*128kB 0*256kB 0*512kB > >> > 0*1024kB 0*2048kB 0*4096kB =B > >> > 18079 total pagecache pages > >> > 0 pages in swap cache > >> > Swap cache stats: add 0, delete 0, find 0/0 > >> > Free swap = 0kB > >> > Total swap = 0kB > >> > 45056 pages of RAM > >> > 4207 free pages > >> > 2863 reserved pages > >> > 1485 slab pages > >> > 428 pages shared > >> > 0 pages swap cached > >> > Out of memory: kill process 841 (hald) score 3814 or a child > >> > Killed process 909 (hald-runner) vsz:3264kB, anon-rss:160kB, > >> > file-rss:0kB > >> > > >> > > >> > AJ ONeal > >> > > >> > > >> > > >> > > >> > > ------------------------------------------------------------------------------ > >> > Lotusphere 2011 > >> > Register now for Lotusphere 2011 and learn how > >> > to connect the dots, take your collaborative environment > >> > to the next level, and enter the era of Social Business. > >> > http://p.sf.net/sfu/lotusphere-d2d > >> > > >> > > >> > > >> > _______________________________________________ > >> > gumstix-users mailing list > >> > gum...@li... > >> > https://lists.sourceforge.net/lists/listinfo/gumstix-users > >> > >> > >> > >> > ------------------------------------------------------------------------------ > >> Lotusphere 2011 > >> Register now for Lotusphere 2011 and learn how > >> to connect the dots, take your collaborative environment > >> to the next level, and enter the era of Social Business. > >> http://p.sf.net/sfu/lotusphere-d2d > >> _______________________________________________ > >> gumstix-users mailing list > >> gum...@li... > >> https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > ------------------------------------------------------------------------------ > > Lotusphere 2011 > > Register now for Lotusphere 2011 and learn how > > to connect the dots, take your collaborative environment > > to the next level, and enter the era of Social Business. > > http://p.sf.net/sfu/lotusphere-d2d > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > ------------------------------------------------------------------------------ > Lotusphere 2011 > Register now for Lotusphere 2011 and learn how > to connect the dots, take your collaborative environment > to the next level, and enter the era of Social Business. > http://p.sf.net/sfu/lotusphere-d2d > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |