Hi guys
I have am using FC11 64bit on Host and same OS on KVM based guest machine. I am using TAP based routing network inside host. I am using virtio network driver for my guest machine
When i transfer huge data via rsync from another live host my guest machine got halt with following errors in log. I need to restart network service to make guest VM back.
With 512M RAM for guest VM, it got halt for 5G data transffer via rsync With 1G RAM for guest VM, it got halt if i try to shift 15G data transffer via rsync
Aug 28 12:43:08 phili-p kernel: swapper: page allocation failure. order:0, mode:0x20 Aug 28 12:43:08 phili-p kernel: Pid: 0, comm: swapper Not tainted 2.6.29.6-217.2.8.fc11.x86_64 #1 Aug 28 12:43:08 phili-p kernel: Call Trace: Aug 28 12:43:08 phili-p kernel: <IRQ> [<ffffffff810a50c8>] __alloc_pages_internal+0x40d/0x429 Aug 28 12:43:08 phili-p kernel: [<ffffffff810c7311>] alloc_pages_current+0xb7/0xc0 Aug 28 12:43:08 phili-p kernel: [<ffffffffa0057913>] try_fill_recv+0xa8/0x18d [virtio_net] Aug 28 12:43:08 phili-p kernel: [<ffffffffa00584a7>] virtnet_poll+0x518/0x57d [virtio_net] Aug 28 12:43:08 phili-p kernel: [<ffffffff8130eccd>] net_rx_action+0xb7/0x1b1 Aug 28 12:43:08 phili-p kernel: [<ffffffff8104df7f>] __do_softirq+0x94/0x155 Aug 28 12:43:08 phili-p kernel: [<ffffffff8101274c>] call_softirq+0x1c/0x30 Aug 28 12:43:08 phili-p kernel: [<ffffffff810138ce>] do_softirq+0x52/0xb9 Aug 28 12:43:08 phili-p kernel: [<ffffffff8104dba2>] irq_exit+0x53/0x90 Aug 28 12:43:08 phili-p kernel: [<ffffffff81013bf7>] do_IRQ+0x12c/0x151 Aug 28 12:43:08 phili-p kernel: [<ffffffff81011e93>] ret_from_intr+0x0/0x2e Aug 28 12:43:08 phili-p kernel: <EOI> [<ffffffff8102942c>] ? native_safe_halt+0xb/0xd Aug 28 12:43:08 phili-p kernel: [<ffffffff81017d30>] ? default_idle+0x51/0x7c Aug 28 12:43:08 phili-p kernel: [<ffffffff813af519>] ? atomic_notifier_call_chain+0x13/0x15 Aug 28 12:43:08 phili-p kernel: [<ffffffff81010237>] ? enter_idle+0x27/0x29 Aug 28 12:43:08 phili-p kernel: [<ffffffff810102a1>] ? cpu_idle+0x68/0xb3 Aug 28 12:43:08 phili-p kernel: [<ffffffff81398367>] ? rest_init+0x6b/0x6d Aug 28 12:43:08 phili-p kernel: Mem-Info: Aug 28 12:43:08 phili-p kernel: Node 0 DMA per-cpu: Aug 28 12:43:08 phili-p kernel: CPU 0: hi: 0, btch: 1 usd: 0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA32 per-cpu: Aug 28 12:43:08 phili-p kernel: CPU 0: hi: 186, btch: 31 usd: 191 Aug 28 12:43:08 phili-p kernel: Active_anon:5593 active_file:26509 inactive_anon:7932 Aug 28 12:43:08 phili-p kernel: inactive_file:177229 unevictable:0 dirty:16171 writeback:52 unstable:0 Aug 28 12:43:08 phili-p kernel: free:1334 slab:10907 mapped:3728 pagetables:1340 bounce:0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA free:3892kB min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB active_file:24kB inactive_file:4024kB unevictable:0kB present:6368kB pages_scanned:0 all_unreclaimable? no Aug 28 12:43:08 phili-p kernel: lowmem_reserve[]: 0 970 970 970 Aug 28 12:43:08 phili-p kernel: Node 0 DMA32 free:1444kB min:3972kB low:4964kB high:5956kB active_anon:22372kB inactive_anon:31728kB active_file:106012kB inactive_file:704892kB unevictable:0kB present:993776kB pages_scanned:0 all_unreclaimable? no Aug 28 12:43:08 phili-p kernel: lowmem_reserve[]: 0 0 0 0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA: 1*4kB 0*8kB 1*16kB 1*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3892kB Aug 28 12:43:08 phili-p kernel: Node 0 DMA32: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1428kB Aug 28 12:43:08 phili-p kernel: 203802 total pagecache pages Aug 28 12:43:08 phili-p kernel: 0 pages in swap cache Aug 28 12:43:08 phili-p kernel: Swap cache stats: add 0, delete 0, find 0/0 Aug 28 12:43:08 phili-p kernel: Free swap = 2096440kB Aug 28 12:43:08 phili-p kernel: Total swap = 2096440kB Aug 28 12:43:08 phili-p kernel: 255984 pages RAM Aug 28 12:43:08 phili-p kernel: 8458 pages reserved Aug 28 12:43:08 phili-p kernel: 214776 pages shared Aug 28 12:43:08 phili-p kernel: 43672 pages non-shared
Note: i want to use my VM for heavy rsync backups. Experts are request to have some solution for the problem
Regards, Mateen
_________________________________________________________________ Hotmail® is up to 70% faster. Now good news travels really fast. http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:W...
Mohammad Mateen Aslam on 2009-08-28 19:14 PM +0500, wrote :
Hi guys
I have am using FC11 64bit on Host and same OS on KVM based guest machine. I am using TAP based routing network inside host. I am using virtio network driver for my guest machine
When i transfer huge data via rsync from another live host my guest machine got halt with following errors in log. I need to restart network service to make guest VM back.
With 512M RAM for guest VM, it got halt for 5G data transffer via rsync With 1G RAM for guest VM, it got halt if i try to shift 15G data transffer via rsync
Aug 28 12:43:08 phili-p kernel: swapper: page allocation failure. order:0, mode:0x20 Aug 28 12:43:08 phili-p kernel: Pid: 0, comm: swapper Not tainted 2.6.29.6-217.2.8.fc11.x86_64 #1 Aug 28 12:43:08 phili-p kernel: Call Trace: Aug 28 12:43:08 phili-p kernel: <IRQ> [<ffffffff810a50c8>] __alloc_pages_internal+0x40d/0x429 Aug 28 12:43:08 phili-p kernel: [<ffffffff810c7311>] alloc_pages_current+0xb7/0xc0 Aug 28 12:43:08 phili-p kernel: [<ffffffffa0057913>] try_fill_recv+0xa8/0x18d [virtio_net] Aug 28 12:43:08 phili-p kernel: [<ffffffffa00584a7>] virtnet_poll+0x518/0x57d [virtio_net] Aug 28 12:43:08 phili-p kernel: [<ffffffff8130eccd>] net_rx_action+0xb7/0x1b1 Aug 28 12:43:08 phili-p kernel: [<ffffffff8104df7f>] __do_softirq+0x94/0x155 Aug 28 12:43:08 phili-p kernel: [<ffffffff8101274c>] call_softirq+0x1c/0x30 Aug 28 12:43:08 phili-p kernel: [<ffffffff810138ce>] do_softirq+0x52/0xb9 Aug 28 12:43:08 phili-p kernel: [<ffffffff8104dba2>] irq_exit+0x53/0x90 Aug 28 12:43:08 phili-p kernel: [<ffffffff81013bf7>] do_IRQ+0x12c/0x151 Aug 28 12:43:08 phili-p kernel: [<ffffffff81011e93>] ret_from_intr+0x0/0x2e Aug 28 12:43:08 phili-p kernel: <EOI> [<ffffffff8102942c>] ? native_safe_halt+0xb/0xd Aug 28 12:43:08 phili-p kernel: [<ffffffff81017d30>] ? default_idle+0x51/0x7c Aug 28 12:43:08 phili-p kernel: [<ffffffff813af519>] ? atomic_notifier_call_chain+0x13/0x15 Aug 28 12:43:08 phili-p kernel: [<ffffffff81010237>] ? enter_idle+0x27/0x29 Aug 28 12:43:08 phili-p kernel: [<ffffffff810102a1>] ? cpu_idle+0x68/0xb3 Aug 28 12:43:08 phili-p kernel: [<ffffffff81398367>] ? rest_init+0x6b/0x6d Aug 28 12:43:08 phili-p kernel: Mem-Info: Aug 28 12:43:08 phili-p kernel: Node 0 DMA per-cpu: Aug 28 12:43:08 phili-p kernel: CPU 0: hi: 0, btch: 1 usd: 0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA32 per-cpu: Aug 28 12:43:08 phili-p kernel: CPU 0: hi: 186, btch: 31 usd: 191 Aug 28 12:43:08 phili-p kernel: Active_anon:5593 active_file:26509 inactive_anon:7932 Aug 28 12:43:08 phili-p kernel: inactive_file:177229 unevictable:0 dirty:16171 writeback:52 unstable:0 Aug 28 12:43:08 phili-p kernel: free:1334 slab:10907 mapped:3728 pagetables:1340 bounce:0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA free:3892kB min:24kB low:28kB high:36kB active_anon:0kB inactive_anon:0kB active_file:24kB inactive_file:4024kB unevictable:0kB present:6368kB pages_scanned:0 all_unreclaimable? no Aug 28 12:43:08 phili-p kernel: lowmem_reserve[]: 0 970 970 970 Aug 28 12:43:08 phili-p kernel: Node 0 DMA32 free:1444kB min:3972kB low:4964kB high:5956kB active_anon:22372kB inactive_anon:31728kB active_file:106012kB inactive_file:704892kB unevictable:0kB present:993776kB pages_scanned:0 all_unreclaimable? no Aug 28 12:43:08 phili-p kernel: lowmem_reserve[]: 0 0 0 0 Aug 28 12:43:08 phili-p kernel: Node 0 DMA: 1*4kB 0*8kB 1*16kB 1*32kB 0*64kB 0*128kB 1*256kB 1*512kB 1*1024kB 1*2048kB 0*4096kB = 3892kB Aug 28 12:43:08 phili-p kernel: Node 0 DMA32: 1*4kB 0*8kB 1*16kB 0*32kB 0*64kB 1*128kB 1*256kB 0*512kB 1*1024kB 0*2048kB 0*4096kB = 1428kB Aug 28 12:43:08 phili-p kernel: 203802 total pagecache pages Aug 28 12:43:08 phili-p kernel: 0 pages in swap cache Aug 28 12:43:08 phili-p kernel: Swap cache stats: add 0, delete 0, find 0/0 Aug 28 12:43:08 phili-p kernel: Free swap = 2096440kB Aug 28 12:43:08 phili-p kernel: Total swap = 2096440kB Aug 28 12:43:08 phili-p kernel: 255984 pages RAM Aug 28 12:43:08 phili-p kernel: 8458 pages reserved Aug 28 12:43:08 phili-p kernel: 214776 pages shared Aug 28 12:43:08 phili-p kernel: 43672 pages non-shared
Note: i want to use my VM for heavy rsync backups. Experts are request to have some solution for the problem
http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:en-US:W...
Any one facing same problem?..
On 09-08-31 15:40:08, Linux student wrote:
Mohammad Mateen Aslam on 2009-08-28 19:14 PM +0500, wrote :
Hi guys
I have am using FC11 64bit on Host and same OS on KVM based guest machine. I am using TAP based routing network inside host. I am using virtio network driver for my guest machine
When i transfer huge data via rsync from another live host my guest machine got halt with following errors in log. I need to restart network service to make guest VM back.
With 512M RAM for guest VM, it got halt for 5G data transffer via rsync With 1G RAM for guest VM, it got halt if i try to shift 15G data transffer via rsync
Aug 28 12:43:08 phili-p kernel: swapper: page allocation failure. order:0, mode:0x20
...
Note: i want to use my VM for heavy rsync backups. Experts are request to have some solution for the problem
...
Any one facing same problem?..
No, but I do use rsync. It appears that the VM is running out of memory. You don't give your rsync command, but I suspect that you are using an option that requires extra memory, such as "-H" (preserve hard links), or possibly not using "-r" (recursive) for the new incremental scan that doesn't need to load all the directory info into memory.
Rsync can use a lot of memory if some file being tranfered is huge. It will use less memory for the same amount of data in smaller files.
You don't say quite what you're doing, but if you are just copying the data (that is, there isn't a destination that is nearly the same), you might not need to use rsync at all, but some other file copy utility instead, such as scp (slow but secure and reliable). Umm, when I want to copy a few GiB from a VM to the host, I now shut down the VM and mount its root locally, and do a normal copy.