Re: Small System Paging Problem - OOM-killer goes nuts

From: Josh Goldsmith
Date: Mon Nov 26 2007 - 22:51:24 EST


When you untar, which filesystem do you untar too?
I've untarred it to Ext3, Ext2, and Reiser filesystems. I've been fighting
with this for a while.

I did manage to get it to happen again doing a recursive chmod after
untarring the kernel (I stopped the untar a few times to let the system
catch up).

Interesting output below.

-J

top - 17:58:03 up 3:08, 1 user, load average: 3.54, 4.09, 4.08
Tasks: 53 total, 2 running, 51 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.1%us, 11.4%sy, 0.6%ni, 0.0%id, 81.4%wa, 2.7%hi, 1.8%si,
0.0%st
Mem: 30352k total, 28252k used, 2100k free, 19448k buffers
Swap: 465876k total, 15736k used, 450140k free, 1072k cached

PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1357 root 30 15 1568 168 88 R 8.1 0.6 0:07.87 chmod
168 root 10 -5 0 0 0 S 3.1 0.0 6:39.25 usb-storage
1353 root 15 0 2408 540 400 R 2.2 1.8 0:14.29 top
989 root 15 0 3600 292 192 S 1.2 1.0 0:37.81 sshd
2 root 34 19 0 0 0 S 0.6 0.0 2:14.65 ksoftirqd/0
56 root 15 0 0 0 0 S 0.3 0.0 0:23.85 pdflush
58 root 10 -5 0 0 0 S 0.3 0.0 0:54.70 kswapd0
950 root 15 0 3128 108 64 S 0.3 0.4 0:13.88 ntpd
1 root 16 0 1440 0 0 S 0.0 0.0 0:10.40 init
3 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 events/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 khelper
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
38 root 10 -5 0 0 0 S 0.0 0.0 0:00.04 kblockd/0
41 root 10 -5 0 0 0 S 0.0 0.0 0:00.02 khubd
57 root 15 0 0 0 0 D 0.0 0.0 0:20.29 pdflush


And the first of the oom-killer syslog messages:

ntpd invoked oom-killer: gfp_mask=0x200d2, order=0, oomkilladj=0
Mem-info:
DMA per-cpu:
CPU 0: Hot: hi: 0, btch: 1 usd: 0 Cold: hi: 0, btch: 1 usd:
0
sshd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Active:2816 inactive:2778 dirty:0 writeback:0 unstable:0
free:179 slab:858 mapped:1 pagetables:93 bounce:0

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/