2009-12-03 15:28:32 |
Michael Frey |
bug |
|
|
added bug |
2009-12-03 15:29:45 |
Michael Frey |
description |
When ureadahead tries to profile on a system with 512MB of memory. The kernel gets an OOM error.
Below is the kernel stack dump.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
[ 2.912175] Freeing unused kernel memory: 336k freed
[ 2.912713] Write protecting the kernel text: 4536k
[ 2.913052] Write protecting the kernel read-only data: 2004k
[ 4.335798] ureadahead invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
[ 4.335820] Pid: 64, comm: ureadahead Not tainted 2.6.31-15-generic #50fastboot9-Ubuntu
[ 4.335832] Call Trace:
[ 4.335859] [<c1077c61>] T.393+0x61/0x1be
[ 4.335879] [<c1077ded>] __out_of_memory+0x2f/0x113
[ 4.335896] [<c1077f2f>] out_of_memory+0x5e/0x86
[ 4.335914] [<c107a20f>] __alloc_pages_nodemask+0x36a/0x42f
[ 4.335933] [<c107a309>] __get_free_pages+0xf/0x21
[ 4.335951] [<c106227b>] ring_buffer_resize+0x139/0x238
[ 4.335970] [<c1062c03>] tracing_resize_ring_buffer+0x2f/0x70
[ 4.335987] [<c1065ba2>] tracing_entries_write+0xb2/0x136
[ 4.336005] [<c10651d3>] ? trace_nowake_buffer_unlock_commit+0x3f/0x46
[ 4.336051] [<c10982a6>] ? ftrace_raw_event_do_sys_open+0x85/0x8d
[ 4.336069] [<c109a599>] vfs_write+0x8a/0x112
[ 4.336086] [<c1065af0>] ? tracing_entries_write+0x0/0x136
[ 4.336103] [<c109a6b8>] sys_write+0x3b/0x60
[ 4.336121] [<c1002af4>] sysenter_do_call+0x12/0x26
[ 4.336132] Mem-Info:
[ 4.336140] DMA per-cpu:
[ 4.336150] CPU 0: hi: 0, btch: 1 usd: 0
[ 4.336161] CPU 1: hi: 0, btch: 1 usd: 0
[ 4.336170] Normal per-cpu:
[ 4.336181] CPU 0: hi: 186, btch: 31 usd: 156
[ 4.336192] CPU 1: hi: 186, btch: 31 usd: 161
[ 4.336212] Active_anon:326 active_file:13 inactive_anon:352
[ 4.336218] inactive_file:4 unevictable:0 dirty:6 writeback:0 unstable:0
[ 4.336224] free:1176 slab:3013 mapped:0 pagetables:3 bounce:0
[ 4.336245] DMA free:2000kB min:88kB low:108kB high:132kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB present:15836kB pages_scanned:0 all_unreclaimable? yes
[ 4.336270] lowmem_reserve[]: 0 482 482 482
[ 4.336312] Normal free:2704kB min:2760kB low:3448kB high:4140kB active_anon:1304kB inactive_anon:1408kB active_file:52kB inactive_file:16kB unevictable:0kB present:493624kB pages_scanned:0 all_unreclaimable? no
[ 4.336338] lowmem_reserve[]: 0 0 0 0
[ 4.336362] DMA: 0*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2000kB
[ 4.336414] Normal: 0*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2704kB
[ 4.336464] 644 total pagecache pages
[ 4.336473] 0 pages in swap cache
[ 4.336482] Swap cache stats: add 0, delete 0, find 0/0
[ 4.336491] Free swap = 0kB
[ 4.336499] Total swap = 0kB
[ 4.344121] 128720 pages RAM
[ 4.344132] 0 pages HighMem
[ 4.344140] 3428 pages reserved
[ 4.344148] 630 pages shared
[ 4.344155] 122976 pages non-shared
[ 4.344169] Out of memory: kill process 64 (ureadahead) score 33 or a child
[ 4.344199] Killed process 64 (ureadahead)
[ 4.344353] ureadahead: page allocation failure. order:0, mode:0xd0
[ 4.344372] Pid: 64, comm: ureadahead Not tainted 2.6.31-15-generic #50fastboot9-Ubuntu
[ 4.344382] Call Trace:
[ 4.344407] [<c146ac77>] ? printk+0xf/0x11
[ 4.344429] [<c107a292>] __alloc_pages_nodemask+0x3ed/0x42f
[ 4.344449] [<c107a309>] __get_free_pages+0xf/0x21
[ 4.344468] [<c106227b>] ring_buffer_resize+0x139/0x238
[ 4.344486] [<c1062c03>] tracing_resize_ring_buffer+0x2f/0x70
[ 4.344503] [<c1065ba2>] tracing_entries_write+0xb2/0x136
[ 4.344521] [<c10651d3>] ? trace_nowake_buffer_unlock_commit+0x3f/0x46
[ 4.344541] [<c10982a6>] ? ftrace_raw_event_do_sys_open+0x85/0x8d
[ 4.344559] [<c109a599>] vfs_write+0x8a/0x112
[ 4.344575] [<c1065af0>] ? tracing_entries_write+0x0/0x136
[ 4.344592] [<c109a6b8>] sys_write+0x3b/0x60
[ 4.344610] [<c1002af4>] sysenter_do_call+0x12/0x26
[ 4.344621] Mem-Info:
[ 4.344629] DMA per-cpu:
[ 4.344638] CPU 0: hi: 0, btch: 1 usd: 0
[ 4.344649] CPU 1: hi: 0, btch: 1 usd: 0
[ 4.344658] Normal per-cpu:
[ 4.344669] CPU 0: hi: 186, btch: 31 usd: 156
[ 4.344689] CPU 1: hi: 186, btch: 31 usd: 161
[ 4.344700] Active_anon:326 active_file:13 inactive_anon:352
[ 4.344703] inactive_file:4 unevictable:0 dirty:6 writeback:0 unstable:0
[ 4.344706] free:1176 slab:3013 mapped:0 pagetables:3 bounce:0
[ 4.344717] DMA free:2000kB min:88kB low:108kB high:132kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB present:15836kB pages_scanned:0 all_unreclaimable? yes
[ 4.344725] lowmem_reserve[]: 0 482 482 482
[ 4.344740] Normal free:2704kB min:2760kB low:3448kB high:4140kB active_anon:1304kB inactive_anon:1408kB active_file:52kB inactive_file:16kB unevictable:0kB present:493624kB pages_scanned:0 all_unreclaimable? no
[ 4.344748] lowmem_reserve[]: 0 0 0 0
[ 4.344758] DMA: 0*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2000kB
[ 4.344783] Normal: 0*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2704kB
[ 4.344808] 644 total pagecache pages
[ 4.344813] 0 pages in swap cache
[ 4.344818] Swap cache stats: add 0, delete 0, find 0/0
[ 4.344822] Free swap = 0kB
[ 4.344826] Total swap = 0kB
[ 4.348583] 128720 pages RAM
[ 4.348588] 0 pages HighMem
[ 4.348592] 3428 pages reserved
[ 4.348596] 630 pages shared
[ 4.348600] 122976 pages non-shared
[ 4.982732] wl: module license 'MIXED/Proprietary' taints kernel.
[ 4.982744] Disabling lock debugging due to kernel taint
[ 4.990532] wl 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 4.990555] wl 0000:03:00.0: setting latency timer to 64
[ 5.427550] ACPI: Battery Slot [BAT1] (battery present)
[ 5.617895] compal-laptop: Identified laptop model 'Dell Mini 10v'.
[ 5.618487] compal-laptop: driver 0.2.6 successfully loaded.
[ 5.629208] lib80211_crypt: registered algorithm 'TKIP' |
When ureadahead tries to profile on a system with 512MB of memory. The kernel gets an OOM error.
Below is the kernel stack dump.
[ 2.912175] Freeing unused kernel memory: 336k freed
[ 2.912713] Write protecting the kernel text: 4536k
[ 2.913052] Write protecting the kernel read-only data: 2004k
[ 4.335798] ureadahead invoked oom-killer: gfp_mask=0xd0, order=0, oomkilladj=0
[ 4.335820] Pid: 64, comm: ureadahead Not tainted 2.6.31-15-generic #50fastboot9-Ubuntu
[ 4.335832] Call Trace:
[ 4.335859] [<c1077c61>] T.393+0x61/0x1be
[ 4.335879] [<c1077ded>] __out_of_memory+0x2f/0x113
[ 4.335896] [<c1077f2f>] out_of_memory+0x5e/0x86
[ 4.335914] [<c107a20f>] __alloc_pages_nodemask+0x36a/0x42f
[ 4.335933] [<c107a309>] __get_free_pages+0xf/0x21
[ 4.335951] [<c106227b>] ring_buffer_resize+0x139/0x238
[ 4.335970] [<c1062c03>] tracing_resize_ring_buffer+0x2f/0x70
[ 4.335987] [<c1065ba2>] tracing_entries_write+0xb2/0x136
[ 4.336005] [<c10651d3>] ? trace_nowake_buffer_unlock_commit+0x3f/0x46
[ 4.336051] [<c10982a6>] ? ftrace_raw_event_do_sys_open+0x85/0x8d
[ 4.336069] [<c109a599>] vfs_write+0x8a/0x112
[ 4.336086] [<c1065af0>] ? tracing_entries_write+0x0/0x136
[ 4.336103] [<c109a6b8>] sys_write+0x3b/0x60
[ 4.336121] [<c1002af4>] sysenter_do_call+0x12/0x26
[ 4.336132] Mem-Info:
[ 4.336140] DMA per-cpu:
[ 4.336150] CPU 0: hi: 0, btch: 1 usd: 0
[ 4.336161] CPU 1: hi: 0, btch: 1 usd: 0
[ 4.336170] Normal per-cpu:
[ 4.336181] CPU 0: hi: 186, btch: 31 usd: 156
[ 4.336192] CPU 1: hi: 186, btch: 31 usd: 161
[ 4.336212] Active_anon:326 active_file:13 inactive_anon:352
[ 4.336218] inactive_file:4 unevictable:0 dirty:6 writeback:0 unstable:0
[ 4.336224] free:1176 slab:3013 mapped:0 pagetables:3 bounce:0
[ 4.336245] DMA free:2000kB min:88kB low:108kB high:132kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB present:15836kB pages_scanned:0 all_unreclaimable? yes
[ 4.336270] lowmem_reserve[]: 0 482 482 482
[ 4.336312] Normal free:2704kB min:2760kB low:3448kB high:4140kB active_anon:1304kB inactive_anon:1408kB active_file:52kB inactive_file:16kB unevictable:0kB present:493624kB pages_scanned:0 all_unreclaimable? no
[ 4.336338] lowmem_reserve[]: 0 0 0 0
[ 4.336362] DMA: 0*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2000kB
[ 4.336414] Normal: 0*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2704kB
[ 4.336464] 644 total pagecache pages
[ 4.336473] 0 pages in swap cache
[ 4.336482] Swap cache stats: add 0, delete 0, find 0/0
[ 4.336491] Free swap = 0kB
[ 4.336499] Total swap = 0kB
[ 4.344121] 128720 pages RAM
[ 4.344132] 0 pages HighMem
[ 4.344140] 3428 pages reserved
[ 4.344148] 630 pages shared
[ 4.344155] 122976 pages non-shared
[ 4.344169] Out of memory: kill process 64 (ureadahead) score 33 or a child
[ 4.344199] Killed process 64 (ureadahead)
[ 4.344353] ureadahead: page allocation failure. order:0, mode:0xd0
[ 4.344372] Pid: 64, comm: ureadahead Not tainted 2.6.31-15-generic #50fastboot9-Ubuntu
[ 4.344382] Call Trace:
[ 4.344407] [<c146ac77>] ? printk+0xf/0x11
[ 4.344429] [<c107a292>] __alloc_pages_nodemask+0x3ed/0x42f
[ 4.344449] [<c107a309>] __get_free_pages+0xf/0x21
[ 4.344468] [<c106227b>] ring_buffer_resize+0x139/0x238
[ 4.344486] [<c1062c03>] tracing_resize_ring_buffer+0x2f/0x70
[ 4.344503] [<c1065ba2>] tracing_entries_write+0xb2/0x136
[ 4.344521] [<c10651d3>] ? trace_nowake_buffer_unlock_commit+0x3f/0x46
[ 4.344541] [<c10982a6>] ? ftrace_raw_event_do_sys_open+0x85/0x8d
[ 4.344559] [<c109a599>] vfs_write+0x8a/0x112
[ 4.344575] [<c1065af0>] ? tracing_entries_write+0x0/0x136
[ 4.344592] [<c109a6b8>] sys_write+0x3b/0x60
[ 4.344610] [<c1002af4>] sysenter_do_call+0x12/0x26
[ 4.344621] Mem-Info:
[ 4.344629] DMA per-cpu:
[ 4.344638] CPU 0: hi: 0, btch: 1 usd: 0
[ 4.344649] CPU 1: hi: 0, btch: 1 usd: 0
[ 4.344658] Normal per-cpu:
[ 4.344669] CPU 0: hi: 186, btch: 31 usd: 156
[ 4.344689] CPU 1: hi: 186, btch: 31 usd: 161
[ 4.344700] Active_anon:326 active_file:13 inactive_anon:352
[ 4.344703] inactive_file:4 unevictable:0 dirty:6 writeback:0 unstable:0
[ 4.344706] free:1176 slab:3013 mapped:0 pagetables:3 bounce:0
[ 4.344717] DMA free:2000kB min:88kB low:108kB high:132kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB present:15836kB pages_scanned:0 all_unreclaimable? yes
[ 4.344725] lowmem_reserve[]: 0 482 482 482
[ 4.344740] Normal free:2704kB min:2760kB low:3448kB high:4140kB active_anon:1304kB inactive_anon:1408kB active_file:52kB inactive_file:16kB unevictable:0kB present:493624kB pages_scanned:0 all_unreclaimable? no
[ 4.344748] lowmem_reserve[]: 0 0 0 0
[ 4.344758] DMA: 0*4kB 0*8kB 1*16kB 0*32kB 1*64kB 1*128kB 1*256kB 1*512kB 1*1024kB 0*2048kB 0*4096kB = 2000kB
[ 4.344783] Normal: 0*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 0*256kB 1*512kB 0*1024kB 1*2048kB 0*4096kB = 2704kB
[ 4.344808] 644 total pagecache pages
[ 4.344813] 0 pages in swap cache
[ 4.344818] Swap cache stats: add 0, delete 0, find 0/0
[ 4.344822] Free swap = 0kB
[ 4.344826] Total swap = 0kB
[ 4.348583] 128720 pages RAM
[ 4.348588] 0 pages HighMem
[ 4.348592] 3428 pages reserved
[ 4.348596] 630 pages shared
[ 4.348600] 122976 pages non-shared
[ 4.982732] wl: module license 'MIXED/Proprietary' taints kernel.
[ 4.982744] Disabling lock debugging due to kernel taint
[ 4.990532] wl 0000:03:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 4.990555] wl 0000:03:00.0: setting latency timer to 64
[ 5.427550] ACPI: Battery Slot [BAT1] (battery present)
[ 5.617895] compal-laptop: Identified laptop model 'Dell Mini 10v'.
[ 5.618487] compal-laptop: driver 0.2.6 successfully loaded.
[ 5.629208] lib80211_crypt: registered algorithm 'TKIP'
|
|
2009-12-03 15:31:00 |
Scott James Remnant (Canonical) |
ureadahead: status |
New |
Confirmed |
|
2009-12-03 15:31:05 |
Scott James Remnant (Canonical) |
ureadahead: importance |
Undecided |
High |
|
2010-04-07 16:58:34 |
Scott James Remnant (Canonical) |
bug task added |
|
ureadahead (Ubuntu) |
|
2010-04-07 16:59:35 |
Scott James Remnant (Canonical) |
ureadahead (Ubuntu): status |
New |
Confirmed |
|
2010-04-07 16:59:37 |
Scott James Remnant (Canonical) |
ureadahead (Ubuntu): importance |
Undecided |
High |
|
2010-04-07 16:59:40 |
Scott James Remnant (Canonical) |
ureadahead: status |
Confirmed |
Invalid |
|
2010-04-08 14:35:13 |
Scott James Remnant (Canonical) |
summary |
When trying to profile on a system with 512MB -- get a kernel OOM |
Kernel trace buffer should be set to less unrealistic value |
|
2010-04-08 14:35:36 |
Scott James Remnant (Canonical) |
ureadahead (Ubuntu): status |
Confirmed |
Triaged |
|
2010-04-08 22:18:19 |
Fabio Bossi |
nominated for series |
|
Ubuntu Lucid |
|
2010-06-06 08:52:54 |
dino99 |
attachment added |
|
syslog http://launchpadlibrarian.net/49759331/syslog |
|
2010-06-16 21:51:09 |
Daniel Powell |
removed subscriber Daniel Powell |
|
|
|
2010-07-16 22:00:42 |
Mikko |
bug |
|
|
added subscriber Mikko Peiponen |
2010-08-13 16:46:38 |
Bob Blanchard |
bug |
|
|
added subscriber blabj |
2010-08-13 17:07:25 |
Tim Gardner |
ureadahead (Ubuntu): status |
Triaged |
In Progress |
|
2010-08-13 17:07:25 |
Tim Gardner |
ureadahead (Ubuntu): assignee |
|
Tim Gardner (timg-tpi) |
|
2010-08-16 16:45:05 |
Chris Van Hoof |
bug task added |
|
hwe-somerville |
|
2010-08-16 16:45:27 |
Chris Van Hoof |
hwe-somerville: assignee |
|
Bryan Wu (cooloney) |
|
2010-08-16 16:45:34 |
Chris Van Hoof |
hwe-somerville: importance |
Undecided |
High |
|
2010-08-16 16:45:43 |
Chris Van Hoof |
hwe-somerville: status |
New |
In Progress |
|
2010-08-17 18:46:12 |
Tim Gardner |
attachment added |
|
Divide trace buffer size by number of CPUs https://bugs.edge.launchpad.net/ureadahead/+bug/491943/+attachment/1495969/+files/0001-Count-the-number-of-CPUs.patch |
|
2010-08-17 22:55:59 |
Brian Murray |
bug |
|
|
added subscriber Ubuntu Review Team |
2010-08-17 22:56:03 |
Brian Murray |
tags |
|
patch |
|
2010-08-20 17:47:48 |
Tim Gardner |
attachment added |
|
Patch for ureadahead_0.100.0-4.1.3 https://bugs.edge.launchpad.net/ureadahead/+bug/491943/+attachment/1505068/+files/ureadahead.diff |
|
2010-08-20 17:48:19 |
Tim Gardner |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2010-08-20 17:48:34 |
Tim Gardner |
bug task added |
|
ureadahead (Ubuntu Lucid) |
|
2010-08-20 17:49:20 |
Tim Gardner |
ureadahead (Ubuntu Lucid): importance |
Undecided |
High |
|
2010-08-20 17:49:20 |
Tim Gardner |
ureadahead (Ubuntu Lucid): status |
New |
In Progress |
|
2010-08-20 17:49:20 |
Tim Gardner |
ureadahead (Ubuntu Lucid): milestone |
|
ubuntu-10.04.2 |
|
2010-08-20 17:49:20 |
Tim Gardner |
ureadahead (Ubuntu Lucid): assignee |
|
Tim Gardner (timg-tpi) |
|
2010-08-20 18:45:10 |
Launchpad Janitor |
ureadahead (Ubuntu): status |
In Progress |
Fix Released |
|
2010-08-20 19:13:26 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/ureadahead |
|
2010-08-24 19:55:20 |
Chris Van Hoof |
affects |
hwe-somerville |
null |
|
2010-08-24 19:56:13 |
Chris Van Hoof |
null: status |
In Progress |
Invalid |
|
2010-08-24 19:56:54 |
Chris Van Hoof |
null: assignee |
Bryan Wu (cooloney) |
Chris Van Hoof (vanhoof) |
|
2010-08-25 14:23:24 |
Martin Pitt |
ureadahead (Ubuntu Lucid): status |
In Progress |
Fix Committed |
|
2010-08-25 14:23:27 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2010-08-25 14:23:35 |
Martin Pitt |
tags |
patch |
patch verification-needed |
|
2010-08-27 01:32:24 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/lucid-proposed/ureadahead |
|
2010-08-30 21:12:34 |
Barry Carroll |
bug |
|
|
added subscriber Barry Carroll |
2010-09-16 08:35:05 |
Martin Pitt |
tags |
patch verification-needed |
patch verification-done |
|
2010-09-16 16:31:33 |
Launchpad Janitor |
ureadahead (Ubuntu Lucid): status |
Fix Committed |
Fix Released |
|
2011-11-11 21:19:15 |
Curtis Hovey |
bug task deleted |
null |
|
|
2011-11-11 23:02:58 |
TimArbuckle |
removed subscriber TimArbuckle |
|
|
|