2006-01-14 21:58:54

by caszonyi

[permalink] [raw]
Subject: kswapd0: page allocation failure with kernel 2.6.15

Hello

I was doing some downloads on the local network and on the same time moved
some GB of data from one partition to another when i noticed something
strange in logs:

kswapd0: page allocation failure. order:1, mode:0x20
[<c0134fa6>] __alloc_pages+0x1e6/0x2b0
[<c0134d67>] get_page_from_freelist+0x57/0xb0
[<c0137eb0>] kmem_getpages+0x30/0xa0
[<c0138bfc>] cache_grow+0xac/0x160
[<c0138df7>] cache_alloc_refill+0x147/0x200
[<c013914f>] __kmalloc+0x4f/0x60
[<c0347dc0>] __alloc_skb+0x40/0x130
[<c0375a4e>] tcp_collapse+0xde/0x340
[<c0375dae>] tcp_prune_queue+0x7e/0x190
[<c03752d8>] tcp_data_queue+0x388/0xa20
[<c03742d2>] tcp_ack+0x232/0x2f0
[<c0376544>] tcp_rcv_established+0x224/0x790
[<c037e266>] tcp_v4_do_rcv+0xd6/0xe0
[<c037e865>] tcp_v4_rcv+0x5f5/0x7f0
[<c035cab7>] nf_hook_slow+0x67/0x110
[<c0364a3f>] ip_local_deliver+0xcf/0x1d0
[<c0365000>] ip_local_deliver_finish+0x0/0x140
[<c0364d8c>] ip_rcv+0x24c/0x4c0
[<c0365140>] ip_rcv_finish+0x0/0x280
[<c0134155>] bad_range+0x25/0x40
[<c034d767>] netif_receive_skb+0x147/0x1d0
[<c02cccf0>] rtl8139_rx+0x190/0x310
[<c013513c>] __pagevec_free+0x1c/0x30
[<c02cd054>] rtl8139_poll+0x54/0xf0
[<c034d941>] net_rx_action+0x61/0xe0
[<c0118779>] __do_softirq+0x79/0x90
[<c01187b6>] do_softirq+0x26/0x30
[<c0118885>] irq_exit+0x35/0x40
[<c010473e>] do_IRQ+0x1e/0x30
[<c0102e4e>] common_interrupt+0x1a/0x20
[<c013baff>] refill_inactive_zone+0x7f/0x400
[<c03c941c>] schedule_timeout+0x5c/0xb0
[<c013bf0d>] shrink_zone+0x8d/0xd0
[<c013c3d9>] balance_pgdat+0x279/0x370
[<c013c5bd>] kswapd+0xed/0x110
[<c01270f0>] autoremove_wake_function+0x0/0x50
[<c0102b5e>] ret_from_fork+0x6/0x14
[<c01270f0>] autoremove_wake_function+0x0/0x50
[<c013c4d0>] kswapd+0x0/0x110
[<c0100fc5>] kernel_thread_helper+0x5/0x10
Mem-info:
DMA per-cpu:
cpu 0 hot: low 0, high 0, batch 1 used:0
cpu 0 cold: low 0, high 0, batch 1 used:0
DMA32 per-cpu: empty
Normal per-cpu:
cpu 0 hot: low 0, high 90, batch 15 used:7
cpu 0 cold: low 0, high 30, batch 7 used:25
HighMem per-cpu: empty
Free pages: 4744kB (0kB HighMem)
Active:49530 inactive:5827 dirty:2323 writeback:956 unstable:0 free:1186
slab:3915 mapped:49254 pagetables:242
DMA free:1008kB min:124kB low:152kB high:184kB active:9588kB inactive:12kB
present:16384kB pages_scanned:290 all_unreclaimable? no
lowmem_reserve[]: 0 0 239 239
DMA32 free:0kB min:0kB low:0kB high:0kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 239 239
Normal free:3736kB min:1916kB low:2392kB high:2872kB active:188532kB
inactive:23296kB present:245696kB pages_scanned:353 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
HighMem free:0kB min:128kB low:128kB high:128kB active:0kB inactive:0kB
present:0kB pages_scanned:0 all_unreclaimable? no
lowmem_reserve[]: 0 0 0 0
DMA: 4*4kB 0*8kB 0*16kB 1*32kB 1*64kB 1*128kB 1*256kB 1*512kB 0*1024kB
0*2048kB 0*4096kB = 1008kB
DMA32: empty
Normal: 844*4kB 1*8kB 0*16kB 1*32kB 1*64kB 0*128kB 1*256kB 0*512kB
0*1024kB 0*2048kB 0*4096kB =3736kB
HighMem: empty
Swap cache: add 9787, delete 7998, find 707/1819, race 0+0
Free swap = 2092184kB
Total swap = 2104504kB
Free swap: 2092184kB
65520 pages of RAM
0 pages of HIGHMEM
1953 reserved pages
26587 pages shared
1789 pages swap cached
2323 pages dirty
956 pages writeback
49254 pages mapped
3915 pages slab
242 pages pagetables

Config, dmesg, program versions and lspci -v attached

$ cat /proc/sys/vm/swappiness
60


This is the first time when this message appeared. It never happened
before.
kswapd is in D state:
161 ? D 0:22 [kswapd0]



Bye
Calin
--


Attachments:
config-2.6.15 (8.89 kB)
progs-2.6.15 (866.00 B)
dmesg-2.6.15 (13.10 kB)
lspci (2.59 kB)
Download all attachments