VirtualBox

Opened 11 years ago

Closed 11 years ago

#12555 closed defect (duplicate)

page allocation failure

Reported by: acesuares Owned by:
Component: other Version: VirtualBox 4.2.20
Keywords: memory allocation Cc:
Guest type: Linux Host type: Linux

Description

This problem has been discussed several times, like here https://www.virtualbox.org/ticket/11610 but I do not have more than 1 numa's or what ever the are... see this output:

# numactl --hardware
available: 1 nodes (0)
node 0 cpus: 0 1 2 3 4 5 6 7
node 0 size: 32705 MB
node 0 free: 231 MB
node distances:
node   0 
  0:  10 

and here https://www.virtualbox.org/ticket/11481

and here https://www.virtualbox.org/ticket/11171

But it seems these problems still occur, I have had two of these in 24 hours, I could not see any nagative effect on the guests, but I am not entirely sure this is an innocent bug. Please advice.

on the host:
Intel(R) Xeon(R) CPU E3-1270 v3 @ 3.50GHz
Linux 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
Virtualbox 4.2.20-90983~Ubuntu~precise

the guests (two of them) are
Linux 3.2.0-55-generic #85-Ubuntu SMP Wed Oct 2 12:29:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
VBoxGuestAdditions-4.2.10 REV='84104'

Linux 3.2.0-48-generic #74-Ubuntu SMP Thu Jun 6 19:43:26 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
VBoxGuestAdditions-4.2.20 REV='90983'

Here is the dmesg on the host:

[10875.942006] EMT-3: page allocation failure: order:9, mode:0x344d2
[10875.942009] Pid: 14399, comm: EMT-3 Tainted: GF          O 3.8.0-34-generic #49~precise1-Ubuntu
[10875.942010] Call Trace:
[10875.942016]  [<ffffffff8113a716>] warn_alloc_failed+0xf6/0x150
[10875.942019]  [<ffffffff810bcb07>] ? on_each_cpu_mask+0x37/0x70
[10875.942021]  [<ffffffff8113e440>] __alloc_pages_nodemask+0x860/0x990
[10875.942031]  [<ffffffff8117ad2a>] alloc_pages_current+0xba/0x170
[10875.942038]  [<ffffffffa02adf54>] rtR0MemObjLinuxAllocPages+0x144/0x250 [vboxdrv]
[10875.942044]  [<ffffffffa02ae098>] rtR0MemObjLinuxAllocPhysSub2+0x38/0xd0 [vboxdrv]
[10875.942047]  [<ffffffff81045cd9>] ? default_spin_lock_flags+0x9/0x10
[10875.942052]  [<ffffffffa02ae1fa>] rtR0MemObjLinuxAllocPhysSub+0xca/0xd0 [vboxdrv]
[10875.942057]  [<ffffffffa02ae5c9>] rtR0MemObjNativeAllocPhys+0x19/0x20 [vboxdrv]
[10875.942062]  [<ffffffffa02ac3b4>] VBoxHost_RTR0MemObjAllocPhysExTag+0x64/0xc0 [vboxdrv]
[10875.942071]  [<ffffffffa02ad999>] ? rtR0MemAllocEx+0x179/0x230 [vboxdrv]
[10875.942075]  [<ffffffffa02a4d24>] ? supdrvIOCtl+0x1594/0x2a40 [vboxdrv]
[10875.942080]  [<ffffffffa02ad999>] ? rtR0MemAllocEx+0x179/0x230 [vboxdrv]
[10875.942084]  [<ffffffffa029f477>] ? VBoxDrvLinuxIOCtl_4_2_20+0x137/0x200 [vboxdrv]
[10875.942087]  [<ffffffff810135ed>] ? __switch_to+0x16d/0x4a0
[10875.942089]  [<ffffffff811ad72a>] ? do_vfs_ioctl+0x8a/0x340
[10875.942091]  [<ffffffff816f2e3b>] ? __schedule+0x3bb/0x6b0
[10875.942092]  [<ffffffff811ada71>] ? sys_ioctl+0x91/0xb0
[10875.942095]  [<ffffffff816fd1dd>] ? system_call_fastpath+0x1a/0x1f
[10875.942096] Mem-Info:
[10875.942097] Node 0 DMA per-cpu:
[10875.942098] CPU    0: hi:    0, btch:   1 usd:   0
[10875.942099] CPU    1: hi:    0, btch:   1 usd:   0
[10875.942099] CPU    2: hi:    0, btch:   1 usd:   0
[10875.942100] CPU    3: hi:    0, btch:   1 usd:   0
[10875.942101] CPU    4: hi:    0, btch:   1 usd:   0
[10875.942102] CPU    5: hi:    0, btch:   1 usd:   0
[10875.942102] CPU    6: hi:    0, btch:   1 usd:   0
[10875.942103] CPU    7: hi:    0, btch:   1 usd:   0
[10875.942104] Node 0 DMA32 per-cpu:
[10875.942105] CPU    0: hi:  186, btch:  31 usd:   0
[10875.942105] CPU    1: hi:  186, btch:  31 usd:   0
[10875.942106] CPU    2: hi:  186, btch:  31 usd:   0
[10875.942107] CPU    3: hi:  186, btch:  31 usd:   0
[10875.942107] CPU    4: hi:  186, btch:  31 usd:   0
[10875.942108] CPU    5: hi:  186, btch:  31 usd:   0
[10875.942109] CPU    6: hi:  186, btch:  31 usd:   0
[10875.942110] CPU    7: hi:  186, btch:  31 usd:   0
[10875.942110] Node 0 Normal per-cpu:
[10875.942111] CPU    0: hi:  186, btch:  31 usd:   0
[10875.942112] CPU    1: hi:  186, btch:  31 usd:   0
[10875.942112] CPU    2: hi:  186, btch:  31 usd:   0
[10875.942113] CPU    3: hi:  186, btch:  31 usd:   0
[10875.942114] CPU    4: hi:  186, btch:  31 usd:   0
[10875.942114] CPU    5: hi:  186, btch:  31 usd:   0
[10875.942115] CPU    6: hi:  186, btch:  31 usd:   0
[10875.942116] CPU    7: hi:  186, btch:  31 usd:   0
[10875.942118] active_anon:25806 inactive_anon:25941 isolated_anon:0
[10875.942118]  active_file:488677 inactive_file:5897884 isolated_file:0
[10875.942118]  unevictable:0 dirty:5578 writeback:40 unstable:0
[10875.942118]  free:82053 slab_reclaimable:237703 slab_unreclaimable:19341
[10875.942118]  mapped:27276 shmem:89 pagetables:4037 bounce:0
[10875.942118]  free_cma:0
[10875.942119] Node 0 DMA free:15892kB min:32kB low:40kB high:48kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15636kB managed:15892kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[10875.942122] lowmem_reserve[]: 0 2947 32179 32179
[10875.942124] Node 0 DMA32 free:135152kB min:6184kB low:7728kB high:9276kB active_anon:5164kB inactive_anon:5424kB active_file:66536kB inactive_file:2329356kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3017780kB managed:2967716kB mlocked:0kB dirty:48kB writeback:0kB mapped:1692kB shmem:0kB slab_reclaimable:129240kB slab_unreclaimable:940kB kernel_stack:0kB pagetables:112kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[10875.942126] lowmem_reserve[]: 0 0 29232 29232
[10875.942128] Node 0 Normal free:177168kB min:61364kB low:76704kB high:92044kB active_anon:98060kB inactive_anon:98340kB active_file:1888172kB inactive_file:21262180kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:29933568kB managed:29881856kB mlocked:0kB dirty:22264kB writeback:160kB mapped:107412kB shmem:356kB slab_reclaimable:821572kB slab_unreclaimable:76424kB kernel_stack:2288kB pagetables:16036kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[10875.942130] lowmem_reserve[]: 0 0 0 0
[10875.942132] Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15892kB
[10875.942138] Node 0 DMA32: 1188*4kB (UEM) 767*8kB (UEM) 529*16kB (UEM) 440*32kB (UEM) 255*64kB (UEM) 192*128kB (UEM) 114*256kB (UEM) 37*512kB (UEM) 11*1024kB (EM) 1*2048kB (R) 0*4096kB = 135768kB
[10875.942144] Node 0 Normal: 1289*4kB (UEM) 752*8kB (UEM) 1217*16kB (UEM) 1647*32kB (UEM) 243*64kB (UEM) 70*128kB (UEM) 47*256kB (UEM) 56*512kB (UM) 27*1024kB (M) 1*2048kB (M) 0*4096kB = 178260kB
[10875.942151] 6386656 total pagecache pages
[10875.942151] 0 pages in swap cache
[10875.942152] Swap cache stats: add 0, delete 0, find 0/0
[10875.942153] Free swap  = 16768892kB
[10875.942153] Total swap = 16768892kB
[10875.979287] 8388592 pages RAM
[10875.979288] 1552786 pages reserved
[10875.979289] 8274330 pages shared
[10875.979290] 585220 pages non-shared
[73236.411357] EMT-0: page allocation failure: order:9, mode:0x344d2
[73236.411361] Pid: 5181, comm: EMT-0 Tainted: GF          O 3.8.0-34-generic #49~precise1-Ubuntu
[73236.411362] Call Trace:
[73236.411367]  [<ffffffff8113a716>] warn_alloc_failed+0xf6/0x150
[73236.411370]  [<ffffffff810bcb20>] ? on_each_cpu_mask+0x50/0x70
[73236.411372]  [<ffffffff8113e440>] __alloc_pages_nodemask+0x860/0x990
[73236.411375]  [<ffffffff8117ad2a>] alloc_pages_current+0xba/0x170
[73236.411383]  [<ffffffffa02adf54>] rtR0MemObjLinuxAllocPages+0x144/0x250 [vboxdrv]
[73236.411387]  [<ffffffffa02ae098>] rtR0MemObjLinuxAllocPhysSub2+0x38/0xd0 [vboxdrv]
[73236.411390]  [<ffffffff81045cd9>] ? default_spin_lock_flags+0x9/0x10
[73236.411394]  [<ffffffffa02ae1fa>] rtR0MemObjLinuxAllocPhysSub+0xca/0xd0 [vboxdrv]
[73236.411398]  [<ffffffffa02ae5c9>] rtR0MemObjNativeAllocPhys+0x19/0x20 [vboxdrv]
[73236.411402]  [<ffffffffa02ac3b4>] VBoxHost_RTR0MemObjAllocPhysExTag+0x64/0xc0 [vboxdrv]
[73236.411413]  [<ffffffffa02ad999>] ? rtR0MemAllocEx+0x179/0x230 [vboxdrv]
[73236.411417]  [<ffffffffa02a4d24>] ? supdrvIOCtl+0x1594/0x2a40 [vboxdrv]
[73236.411420]  [<ffffffffa02ad999>] ? rtR0MemAllocEx+0x179/0x230 [vboxdrv]
[73236.411424]  [<ffffffffa029f477>] ? VBoxDrvLinuxIOCtl_4_2_20+0x137/0x200 [vboxdrv]
[73236.411427]  [<ffffffff810135ed>] ? __switch_to+0x16d/0x4a0
[73236.411429]  [<ffffffff811ad72a>] ? do_vfs_ioctl+0x8a/0x340
[73236.411431]  [<ffffffff816f2e3b>] ? __schedule+0x3bb/0x6b0
[73236.411432]  [<ffffffff810bb407>] ? sys_futex+0x147/0x1a0
[73236.411433]  [<ffffffff811ada71>] ? sys_ioctl+0x91/0xb0
[73236.411435]  [<ffffffff816fd1dd>] ? system_call_fastpath+0x1a/0x1f
[73236.411436] Mem-Info:
[73236.411437] Node 0 DMA per-cpu:
[73236.411438] CPU    0: hi:    0, btch:   1 usd:   0
[73236.411439] CPU    1: hi:    0, btch:   1 usd:   0
[73236.411439] CPU    2: hi:    0, btch:   1 usd:   0
[73236.411441] CPU    3: hi:    0, btch:   1 usd:   0
[73236.411441] CPU    4: hi:    0, btch:   1 usd:   0
[73236.411442] CPU    5: hi:    0, btch:   1 usd:   0
[73236.411442] CPU    6: hi:    0, btch:   1 usd:   0
[73236.411443] CPU    7: hi:    0, btch:   1 usd:   0
[73236.411443] Node 0 DMA32 per-cpu:
[73236.411444] CPU    0: hi:  186, btch:  31 usd:   0
[73236.411445] CPU    1: hi:  186, btch:  31 usd:   0
[73236.411446] CPU    2: hi:  186, btch:  31 usd:   0
[73236.411446] CPU    3: hi:  186, btch:  31 usd: 157
[73236.411447] CPU    4: hi:  186, btch:  31 usd:   0
[73236.411447] CPU    5: hi:  186, btch:  31 usd:   0
[73236.411448] CPU    6: hi:  186, btch:  31 usd:   0
[73236.411449] CPU    7: hi:  186, btch:  31 usd:   0
[73236.411449] Node 0 Normal per-cpu:
[73236.411450] CPU    0: hi:  186, btch:  31 usd:   0
[73236.411451] CPU    1: hi:  186, btch:  31 usd:   0
[73236.411451] CPU    2: hi:  186, btch:  31 usd:   0
[73236.411452] CPU    3: hi:  186, btch:  31 usd: 164
[73236.411452] CPU    4: hi:  186, btch:  31 usd:   0
[73236.411453] CPU    5: hi:  186, btch:  31 usd:   0
[73236.411454] CPU    6: hi:  186, btch:  31 usd:   0
[73236.411454] CPU    7: hi:  186, btch:  31 usd:   0
[73236.411456] active_anon:752 inactive_anon:25750 isolated_anon:0
[73236.411456]  active_file:1151158 inactive_file:4934002 isolated_file:0
[73236.411456]  unevictable:0 dirty:345 writeback:0 unstable:0
[73236.411456]  free:68559 slab_reclaimable:244033 slab_unreclaimable:22671
[73236.411456]  mapped:356089 shmem:87 pagetables:4130 bounce:0
[73236.411456]  free_cma:0
[73236.411458] Node 0 DMA free:15892kB min:32kB low:40kB high:48kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15636kB managed:15892kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[73236.411461] lowmem_reserve[]: 0 2947 32179 32179
[73236.411463] Node 0 DMA32 free:139740kB min:6184kB low:7728kB high:9276kB active_anon:580kB inactive_anon:1648kB active_file:329704kB inactive_file:1856432kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3017780kB managed:2967716kB mlocked:0kB dirty:20kB writeback:0kB mapped:138648kB shmem:0kB slab_reclaimable:199460kB slab_unreclaimable:4212kB kernel_stack:8kB pagetables:432kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[73236.411465] lowmem_reserve[]: 0 0 29232 29232
[73236.411467] Node 0 Normal free:118604kB min:61364kB low:76704kB high:92044kB active_anon:2428kB inactive_anon:101352kB active_file:4274928kB inactive_file:17879576kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:29933568kB managed:29881856kB mlocked:0kB dirty:1360kB writeback:0kB mapped:1285708kB shmem:348kB slab_reclaimable:776672kB slab_unreclaimable:86472kB kernel_stack:2320kB pagetables:16088kB unstable:0kB bounce:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:32 all_unreclaimable? no
[73236.411469] lowmem_reserve[]: 0 0 0 0
[73236.411471] Node 0 DMA: 1*4kB (U) 0*8kB 1*16kB (U) 0*32kB 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (R) 3*4096kB (M) = 15892kB
[73236.411476] Node 0 DMA32: 1567*4kB (UEM) 1808*8kB (UEM) 1653*16kB (UEM) 1197*32kB (UEM) 194*64kB (EM) 213*128kB (EM) 53*256kB (M) 0*512kB 0*1024kB 1*2048kB (R) 0*4096kB = 140780kB
[73236.411482] Node 0 Normal: 2276*4kB (UEM) 1740*8kB (UEM) 1071*16kB (UEM) 1146*32kB (UEM) 528*64kB (UEM) 73*128kB (UEM) 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 119968kB
[73236.411487] 6085441 total pagecache pages
[73236.411488] 0 pages in swap cache
[73236.411488] Swap cache stats: add 0, delete 0, find 0/0
[73236.411489] Free swap  = 16768892kB
[73236.411489] Total swap = 16768892kB
[73236.450362] 8388592 pages RAM
[73236.450365] 1882194 pages reserved
[73236.450368] 7831001 pages shared
[73236.450370] 699072 pages non-shared

Change History (2)

comment:1 by Frank Mehnert, 11 years ago

Please attach a VBox.log file of an active VM session when this error is triggered.

comment:2 by Frank Mehnert, 11 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #11171. See the explanation and the fix there.

Note: See TracTickets for help on using tickets.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette