Quantcast

invoked oom-killer issue.

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

invoked oom-killer issue.

Juan Osuna

  Hi All.

  After running for several days a C++ code for data acquisition (from serial and usb-to-serial ports) on my Verdex computer, I get the following error:

2012 07 22 00 50 57 101 12.11 1.235 2.196 0 1  1.78  0.00   41.7 241 2.4 19.2 80.1 1006.0 0.00 14.1 1.0
2012 07 22 00 53 51 101 12.10 1.235 2.196 0 1  1.78  0.00   40.4 215 3.1 19.4 79.3 1006.0 0.00 14.2 1.0
2012 07 22 00 56 53 101 12.10 1.235 2.196 0 1  1.78  0.00   41.9 218 5.5 19.3 79.5 1006.0 0.00 14.2 1.0
2012 07 22 01 12 03 101 12.10 1.235 2.196 0 1  1.78  0.00   39.7 213 3.5 19.0 80.8 1006.0 0.00 14.2 1.0
init invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
[<c0032604>] (dump_stack+0x0/0x14) from [<c0065660>] (out_of_memory+0x78/0x1c4)
[<c00655e8>] (out_of_memory+0x0/0x1c4) from [<c0066f6c>] (__alloc_pages+0x220/0x29c)
 r8 = 00000000  r7 = C0
[<c0068f0= 000201D2  r5 = 00000000
 r4 = 00000000
[<c0066d4c>] (__alloc_pages+0x0/0x29c) from [<c0068a3c>] (__do_page_cache_readahead+0xbc/0x248)
[<c0068980>] (__do_page_cache_readahead+0x0/0x248) from [<c0068f64>] (do_page_cache_readahead+0x60/0x6c
[<c00349bc>] (do_page_fault+0x0/0x22c) from [<c0034c9c>] (do_translation_fault+0x20/0x80)
[<c0034c7c>] (do_translation_fault+0x0/0x80) from [<c0034d14>] (do_PrefetchAbort+0ctive:45 dirty:= 0001
[<c0034cfc>] (do_PrefetchAbort+0x0/0x1c) from [<c002db88>] (ret_from_exception+0x0/0x10)
Mem-info:
DMA per-cpu:
CPU    0: Hot: hi:   18, btch:   3 usd:  16   Cold: hi:    6, btch:   1 usd:   0
Active:13653 inactive:45 dirty:0 writeback:0 unstable:0
 free:254 slab:888 mapped:1 pagetables:80 bounce:0
DMA free:1016kB min:1016kB low:1268kB high:1524kB active:54612kB inactive:180kB present:65024kB pages_s
lowmem_reserve[]: 0 0
DMA: 0*4kB 3*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1016kB
Free swap:            0kB

.................................................  (And much more log messages)

  I have executed this kind of programs in many other Verdex computers (even in gumstix connex computers) and I never get this error before.

 -  Does any one have an Idea of what this means?
 -  Any suggestion to fix this problem?

  Thank you in advance for your help.
  Best Regards!,     Juan.

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: invoked oom-killer issue.

bhamadicharef
Some failed memory allocation due to memory fragmentation ... if you read
from http://www.mail-archive.com/uclinux-dev@uclinux.org/msg09664.html

Brahim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: invoked oom-killer issue.

Juan Osuna

  Hi Brahim

 Thank you very much for your reply.

 I have seen that I have a buffer that was wrongly set to:

 #define MaxBuf 10000
 char line [MaxBuf];

 Which seems to be a very large memory amount.

 I have changed it for a smaller buffer (less than 1000) and I will keep monitoring.
 Best Regards!


Loading...