Why OOM is killing my processes?



Hi
I have a RHEL4 running on a HP DL580 G4 machine with 16 GB of RAM and almost
the same of swap.

I´ve been observing that OOM (out of memory killer) has been killing some of
my processes; this is a snapshot
of my /var/log/messages:

Jul 27 00:51:33 ipbbkptb04 kernel: Free pages: 9358032kB (9345152kB
HighMem)
Jul 27 00:51:33 ipbbkptb04 kernel: Active:1331301 inactive:23288 dirty:0
writeback:0 unstable:0 free:2339508 slab:183441 mapped:1276160
pagetables:6881
Jul 27 00:51:33 ipbbkptb04 kernel: DMA free:12560kB min:16kB low:32kB
high:48kB active:0kB inactive:0kB present:16384kB pages_scanned:3767
all_unreclaimable?
yes
Jul 27 00:51:33 ipbbkptb04 kernel: protections[]: 0 0 0
Jul 27 00:51:33 ipbbkptb04 kernel: Normal free:320kB min:928kB low:1856kB
high:2784kB active:0kB inactive:316kB present:901120kB pages_scanned:66
all_unrecla
imable? no
Jul 27 00:51:33 ipbbkptb04 kernel: protections[]: 0 0 0
Jul 27 00:51:33 ipbbkptb04 kernel: HighMem free:9345152kB min:512kB
low:1024kB high:1536kB active:5325204kB inactive:92836kB present:15859708kB
pages_scanned
:0 all_unreclaimable? no
Jul 27 00:51:33 ipbbkptb04 kernel: protections[]: 0 0 0
Jul 27 00:51:33 ipbbkptb04 kernel: DMA: 4*4kB 4*8kB 4*16kB 3*32kB 3*64kB
1*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 2*4096kB = 12560kB
Jul 27 00:51:33 ipbbkptb04 kernel: Normal: 0*4kB 0*8kB 0*16kB 2*32kB 0*64kB
0*128kB 1*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 320kB
Jul 27 00:51:33 ipbbkptb04 kernel: HighMem: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB
1*128kB 0*256kB 538*512kB 425*1024kB 162*2048kB 2027*4096kB = 9345152kB
Jul 27 00:51:33 ipbbkptb04 kernel: Swap cache: add 0, delete 0, find 0/0,
race 0+0
Jul 27 00:51:33 ipbbkptb04 kernel: 0 bounce buffer pages
Jul 27 00:51:33 ipbbkptb04 kernel: Free swap: 15361176kB
Jul 27 00:51:33 ipbbkptb04 kernel: 4194303 pages of RAM
Jul 27 00:51:33 ipbbkptb04 kernel: 3702486 pages of HIGHMEM
Jul 27 00:51:33 ipbbkptb04 kernel: 296839 reserved pages
Jul 27 00:51:33 ipbbkptb04 kernel: 2419671 pages shared
Jul 27 00:51:33 ipbbkptb04 kernel: 0 pages swap cached
Jul 27 00:51:33 ipbbkptb04 kernel: Out of Memory: Killed process 29225
(bptm).



My question is: why is OOM killing my processes if there was a lot of free
pages?

TIA
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list



Relevant Pages

  • Re: OOM killer firing on 2.6.18 and later during LTP runs
    ... After that, there's free memory again. ... allowing other allocators to succeed instead of being killed. ... Martin appears to be hitting a genuine oom. ... postponed the killing a few times, it would give other tasks the opportunity ...
    (Linux-Kernel)
  • Re: hating the creator
    ... Greg Egan wrote: ... We do that by killing you. ... He gets a fresh snapshot taken every few months ...
    (rec.arts.sf.written)