Skip to contentSkip to conversation

Kernel messages

DISCUSSION Iwan Sanders 3 participants 3 messages Apr 14, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Can someone explain to me what just happend? I would really like to know
:-)
I think that the machine ran out of memory and the OOM killer shot some processes, this is what I found in my logfiles:

1 Time(s): Active:48588 inactive:152 dirty:0 writeback:7 unstable:0 free:502 slab:13664 mapped:48620 pagetables:325 1 Time(s): DMA free:1008kB min:28kB low:56kB high:84kB active:7364kB inactive:0kB present:16384kB 1 Time(s): DMA per-cpu:
1 Time(s): DMA: 0*4kB 0*8kB 1*16kB 7*32kB 4*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB
1 Time(s): Free pages: 2008kB (0kB HighMem)
1 Time(s): HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
1 Time(s): HighMem per-cpu: empty
1 Time(s): HighMem: empty
1 Time(s): Normal free:1000kB min:476kB low:952kB high:1428kB active:186988kB inactive:608kB present:245120kB 1 Time(s): Normal per-cpu:
1 Time(s): Normal: 14*4kB 2*8kB 0*16kB 1*32kB 2*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1000kB 1 Time(s): Swap cache: add 0, delete 0, find 0/0, race 0+0
1 Time(s): cpu 0 cold: low 0, high 2, batch 1
1 Time(s): cpu 0 cold: low 0, high 28, batch 14
1 Time(s): cpu 0 hot: low 2, high 6, batch 1
1 Time(s): cpu 0 hot: low 28, high 84, batch 14
1 Time(s): oom-killer: gfp_mask=0x1d2
1 Time(s): protections[]: 0 0 0
1 Time(s): protections[]: 0 238 238
1 Time(s): protections[]: 14 252 252

Cheers,

Iwan Sanders

#1 lore raw
Quoted 27 lines · Iwan Sanders

Can someone explain to me what just happend? I would really like to know
:-)
I think that the machine ran out of memory and the OOM killer shot some processes, this is what I found
in my logfiles:

1 Time(s): Active:48588 inactive:152 dirty:0 writeback:7 unstable:0 free:502 slab:13664 mapped:48620 pagetables:325 1 Time(s): DMA free:1008kB min:28kB low:56kB high:84kB active:7364kB inactive:0kB present:16384kB 1 Time(s): DMA per-cpu:
1 Time(s): DMA: 0*4kB 0*8kB 1*16kB 7*32kB 4*64kB 0*128kB 0*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1008kB
1 Time(s): Free pages: 2008kB (0kB HighMem)
1 Time(s): HighMem free:0kB min:128kB low:256kB high:384kB active:0kB inactive:0kB present:0kB
1 Time(s): HighMem per-cpu: empty
1 Time(s): HighMem: empty
1 Time(s): Normal free:1000kB min:476kB low:952kB high:1428kB active:186988kB inactive:608kB present:245120kB 1 Time(s): Normal per-cpu:
1 Time(s): Normal: 14*4kB 2*8kB 0*16kB 1*32kB 2*64kB 0*128kB 1*256kB 1*512kB 0*1024kB 0*2048kB 0*4096kB = 1000kB 1 Time(s): Swap cache: add 0, delete 0, find 0/0, race 0+0
1 Time(s): cpu 0 cold: low 0, high 2, batch 1
1 Time(s): cpu 0 cold: low 0, high 28, batch 14
1 Time(s): cpu 0 hot: low 2, high 6, batch 1
1 Time(s): cpu 0 hot: low 28, high 84, batch 14
1 Time(s): oom-killer: gfp_mask=0x1d2
1 Time(s): protections[]: 0 0 0
1 Time(s): protections[]: 0 238 238
1 Time(s): protections[]: 14 252 252

Quoted 4 lines

Cheers,

Iwan Sanders

Yes, oom, and your kernel is a bit old.

Signature · 2 lines
Coywolf Qi Hunt
http://sosdg.org/~coywolf/
#2 lore raw
In reply to Iwan Sanders
Quoted 5 lines · Iwan Sanders

Can someone explain to me what just happend? I would really like to know
:-)
I think that the machine ran out of memory and the OOM killer shot some processes, this is what I found
in my logfiles:

This is exactly the kind of reports that I wanted to avoid with this small cosmetic change:

mm/oom_kill.c renamed from mm/oom_kill.c.orig +2 -1
@@ -189,7 +189,8 @@
 		return;
 	}
 	task_unlock(p);
-	printk(KERN_ERR "Out of Memory: Killed process %d (%s).\n", p->pid, p->comm);
+	printk(KERN_ERR "The system has run Out Of Memory (RAM + swap), a process will be killed to free some memory\n");
+	printk(KERN_ERR "OOM: Killed process %d (%s).\n", p->pid, p->comm);
 
 	/*
 	 * We give our sacrificial lamb high priority and access to