zfsonlinux/zfs — Issue #465: page allocation failure
Author: jeremysanders
Created: 2011-11-26 09:16:51+00:00
State: open

I got this on Fedora 16 (kernel 3.1.1 on x86_64). It didn't do it on Fedora 14. Is it just using too much memory and needs an ARC limit? The system has 4GB of RAM.

[128413.783954] z_rd_int/2: page allocation failure: order:0, mode:0x20
[128413.784001] Pid: 1132, comm: z_rd_int/2 Tainted: P 3.1.1-2.fc16.x86_64 #1
[128413.784001] Call Trace:
[128413.784001] [] warn_alloc_failed+0x111/0x13d
[128413.784001] [] __alloc_pages_nodemask+0x6b1/0x71d
[128413.784001] [] ? __cmpxchg_double_slab+0x2c/0x9e
[128413.784001] [] ? __cmpxchg_double_slab+0x2c/0x9e
[128413.784001] [] alloc_pages_current+0xbe/0xd8
[128413.784001] [] alloc_slab_page+0x1c/0x4d
[128413.784001] [] new_slab+0x80/0x1cb
[128413.784001] [] __slab_alloc+0x292/0x3b4
[128413.784001] [] ? list_del+0xe/0x2d
[128413.784001] [] ? scsi_pool_alloc_command+0x29/0x68
[128413.784001] [] ? __cmpxchg_double_slab+0x2c/0x9e
[128413.784001] [] ? scsi_pool_alloc_command+0x29/0x68
[128413.784001] [] kmem_cache_alloc+0x5b/0xf8
[128413.784001] [] scsi_pool_alloc_command+0x29/0x68
[128413.784001] [] scsi_host_alloc_command+0x1f/0x6b
[128413.784001] [] __scsi_get_command+0x1b/0x96
[128413.784001] [] scsi_get_command+0x3d/0xa5
[128413.784001] [] scsi_get_cmd_from_req+0x25/0x58
[128413.784001] [] scsi_setup_fs_cmnd+0x5d/0x8c
[128413.784001] [] sd_prep_fn+0x2e3/0xbd5
[128413.784001] [] ? cfq_dispatch_requests+0x777/0x8e7
[128413.784001] [] blk_peek_request+0xd4/0x1d2
[128413.784001] [] scsi_request_fn+0x7d/0x409
[128413.784001] [] __blk_run_queue+0x1b/0x1d
[128413.784001] [] cfq_insert_request+0x4e5/0x517
[128413.784001] [] __elv_add_request+0x194/0x1df
[128413.784001] [] __make_request+0x26e/0x2ab
[128413.784001] [] generic_make_request+0x27d/0x312
[128413.784001] [] ? bvec_alloc_bs+0xae/0xcc
[128413.784001] [] submit_bio+0xde/0xfd
[128413.784001] [] __vdev_disk_physio+0x265/0x2cb [zfs]
[128413.784001] [] vdev_disk_io_start+0xbd/0xd5 [zfs]
[128413.784001] [] zio_vdev_io_start+0x218/0x22a [zfs]
[128413.784001] [] zio_execute+0xb6/0xde [zfs]
[128413.784001] [] vdev_queue_io_done+0x8a/0xb0 [zfs]
[128413.784001] [] zio_vdev_io_done+0x6f/0x15b [zfs]
[128413.784001] [] zio_execute+0xb6/0xde [zfs]
[128413.784001] [] taskq_thread+0x286/0x2b7 [spl]
[128413.784001] [] ? try_to_wake_up+0x1c8/0x1c8
[128413.784001] [] ? __taskq_create+0x32a/0x32a [spl]
[128413.784001] [] kthread+0x84/0x8c
[128413.784001] [] kernel_thread_helper+0x4/0x10
[128413.784001] [] ? kthread_worker_fn+0x148/0x148
[128413.784001] [] ? gs_change+0x13/0x13
[128413.784001] Mem-Info:
[128413.784001] Node 0 DMA per-cpu:
[128413.784001] CPU 0: hi: 0, btch: 1 usd: 0
[128413.784001] CPU 1: hi: 0, btch: 1 usd: 0
[128413.784001] CPU 2: hi: 0, btch: 1 usd: 0
[128413.784001] Node 0 DMA32 per-cpu:
[128413.784001] CPU 0: hi: 186, btch: 31 usd: 55
[128413.784001] CPU 1: hi: 186, btch: 31 usd: 0
[128413.784001] CPU 2: hi: 186, btch: 31 usd: 0
[128413.784001] Node 0 Normal per-cpu:
[128413.784001] CPU 0: hi: 186, btch: 31 usd: 0
[128413.784001] CPU 1: hi: 186, btch: 31 usd: 0
[128413.784001] CPU 2: hi: 186, btch: 31 usd: 0
[128413.784001] active_anon:1940 inactive_anon:5943 isolated_anon:0
[128413.784001] active_file:11258 inactive_file:11204 isolated_file:0
[128413.784001] unevictable:11435 dirty:13 writeback:0 unstable:0
[128413.784001] free:3307 slab_reclaimable:16837 slab_unreclaimable:71224
[128413.784001] mapped:2610 shmem:2 pagetables:930 bounce:0
[128413.784001] Node 0 DMA free:13072kB min:60kB low:72kB high:88kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15644kB 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 writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes
[128413.784001] lowmem_reserve[]: 0 3471 3975 3975
[128413.784001] Node 0 DMA32 free:156kB min:14252kB low:17812kB high:21376kB active_anon:6004kB inactive_anon:21876kB active_file:44964kB inactive_file:44532kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3555136kB mlocked:0kB dirty:40kB writeback:0kB mapped:10420kB shmem:8kB slab_reclaimable:42340kB slab_unreclaimable:243380kB kernel_stack:784kB pagetables:752kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:58 all_unreclaimable? no
[128413.784001] lowmem_reserve[]: 0 0 504 504
[128413.784001] Node 0 Normal free:0kB min:2068kB low:2584kB high:3100kB active_anon:1756kB inactive_anon:1896kB active_file:68kB inactive_file:284kB unevictable:45740kB isolated(anon):0kB isolated(file):0kB present:516096kB mlocked:0kB dirty:12kB writeback:0kB mapped:20kB shmem:0kB slab_reclaimable:25008kB slab_unreclaimable:41516kB kernel_stack:2040kB pagetables:2968kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no