Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73625 - gentoo-dev-sources 2.6.9-r1/6/9 oom kill before oom?
Summary: gentoo-dev-sources 2.6.9-r1/6/9 oom kill before oom?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Daniel Drake (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-12-06 22:28 UTC by basic
Modified: 2004-12-15 15:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description basic 2004-12-06 22:28:48 UTC
with gentoo-dev-sources 2.6.9-r1/6/9 oom killer kills my mozilla debug compile at linking the layout lib (biggest lib).
 I have 128MB RAM with 392MB of swap.
 I'm using -Xlinker --no-keep-memory, -Xlinker --reduce-memory-overhead in my LDFLAGS.
 This has never happened in 2.6.8-r10, I'm about to emerge the latest 2.6.8 to test it. According to htop/top there's still free swap space available when this happens. Below is the tail from my /var/log/messages

Reproducible: Always
Steps to Reproduce:

Actual Results:  
oom-killer: gfp_mask=0xd2
DMA per-cpu:
cpu 0 hot: low 2, high 6, batch 1
cpu 0 cold: low 0, high 2, batch 1
Normal per-cpu:
cpu 0 hot: low 12, high 36, batch 6
cpu 0 cold: low 0, high 12, batch 6
HighMem per-cpu: empty

Free pages:         356kB (0kB HighMem)
Active:27235 inactive:1107 dirty:0 writeback:0 unstable:0 free:89 slab:2285
mapped:27246 pagetables:124
DMA free:44kB min:44kB low:88kB high:132kB active:12636kB inactive:0kB
present:16384kB
protections[]: 0 0 0
Normal free:312kB min:312kB low:624kB high:936kB active:96304kB inactive:4428kB
present:114624kB
protections[]: 0 0 0
HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
protections[]: 0 0 0
DMA: 1*4kB 1*8kB 0*16kB 1*32kB 0*64kB 0*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB
0*4096kB = 44kB
Normal: 0*4kB 1*8kB 1*16kB 1*32kB 0*64kB 0*128kB 1*256kB 0*512kB 0*1024kB
0*2048kB 0*4096kB = 312kB
HighMem: empty
Swap cache: add 41897, delete 32333, find 8370/11490, race 0+0
Out of Memory: Killed process 11319 (ld).
Comment 1 basic 2004-12-07 01:36:02 UTC
forgot to mention that this is on a x86 (athlon). And just found out that -r10 is the latest 2.6.8 for x86 (though it seems to be not listed on packages.gentoo.org)
Comment 2 Daniel Drake (RETIRED) gentoo-dev 2004-12-07 04:47:57 UTC
Can you please try with development-sources-2.6.10-rc3? I think it should be fixed there
Comment 3 basic 2004-12-07 16:30:13 UTC
tested with development-sources-2.6.10-rc3, problem seems to be fixed there.
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-12-14 01:12:25 UTC
Ok, could you please apply this patch against 2.6.9 and let us know if it fixes the problem?

http://linux.bkbits.net:8080/linux-2.6/gnupatch@419e799emOm6PkSl70LCfk2UqdySNw
Comment 5 basic 2004-12-14 06:26:32 UTC
> Ok, could you please apply this patch against 2.6.9 and let us know if it fixes the problem?
> 
> http://linux.bkbits.net:8080/linux-2.6/gnupatch@419e799emOm6PkSl70LCfk2UqdySNw
Tried it against gentoo-dev-sources-2.6.9-r9, it fixes it.
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2004-12-15 15:15:13 UTC
Fixed in 2.6.9-r10