环境描述
i2版本:6.1.X
操作系统:centos、 RHEL

i2版本:7.1.X
操作系统:centos、 RHEL




问题描述
复制规则界面显示停止成功,但是实际看到没有停下来。在源端通过命令行停止,也无法停止成功,报错 Errorcode:-1024。





排查情况
查看源端i2node日志,有报错“fail to turns rule status MIRROR --> STOP”。



查看系统message信息,发现sdatad申请内存失败,sdatad: page allocation failure: order:4, mode:0x104020。


检查系统内存,发现系统剩余内存很多,但是i2node申请内存失败。




Aug 30 14:20:01 localhost kernel: sdatad: page allocation failure: order:4, mode:0x104020
Aug 30 14:20:01 localhost kernel: CPU: 3 PID: 1866 Comm: sdatad Tainted: G           OE  ------------   3.10.0-514.el7.x86_64 #1
Aug 30 14:20:01 localhost kernel: Hardware name: Information2 i2Box/0WCJNT, BIOS 2.8.0 005/17/2018
Aug 30 14:20:01 localhost kernel: 0000000000104020 00000000b402a2fd ffff880451a07b10 ffffffff81685fac
Aug 30 14:20:01 localhost kernel: ffff880451a07ba0 ffffffff811869a0 ffff88047fffc4e8 ffff880451a07b60
Aug 30 14:20:01 localhost kernel: fffffffffffffff0 0010402000000000 ffff88047ffd8008 00000000b402a2fd
Aug 30 14:20:01 localhost kernel: Call Trace:
Aug 30 14:20:01 localhost kernel: [<ffffffff81685fac>] dump_stack+0x19/0x1b
Aug 30 14:20:01 localhost kernel: [<ffffffff811869a0>] warn_alloc_failed+0x110/0x180
Aug 30 14:20:01 localhost kernel: [<ffffffff81681b40>] __alloc_pages_slowpath+0x6b7/0x725
Aug 30 14:20:01 localhost kernel: [<ffffffff8118af55>] __alloc_pages_nodemask+0x405/0x420
Aug 30 14:20:01 localhost kernel: [<ffffffff811cf10a>] alloc_pages_current+0xaa/0x170
Aug 30 14:20:01 localhost kernel: [<ffffffff8118587e>] __get_free_pages+0xe/0x50
Aug 30 14:20:01 localhost kernel: [<ffffffff811da9ae>] kmalloc_order_trace+0x2e/0xa0
Aug 30 14:20:01 localhost kernel: [<ffffffff811dd181>] __kmalloc+0x221/0x240
Aug 30 14:20:01 localhost kernel: [<ffffffff811ddf75>] ? kmem_cache_alloc+0x35/0x1e0
Aug 30 14:20:01 localhost kernel: [<ffffffffa049c54c>] _malloc_+0x1c/0x40 [sfs]
Aug 30 14:20:01 localhost kernel: [<ffffffffa049ac78>] do_del+0x38/0xe0 [sfs]
Aug 30 14:20:01 localhost kernel: [<ffffffffa04a108a>] do_sd_set_ctl+0x4a/0xb0 [sfs]
Aug 30 14:20:01 localhost kernel: [<ffffffff815a7a15>] nf_setsockopt+0x65/0x90
Aug 30 14:20:01 localhost kernel: [<ffffffff815b940f>] ip_setsockopt+0x7f/0xa0
Aug 30 14:20:01 localhost kernel: [<ffffffff815dc9e6>] raw_setsockopt+0x16/0x60
Aug 30 14:20:01 localhost kernel: [<ffffffff81556e24>] sock_common_setsockopt+0x14/0x20
Aug 30 14:20:01 localhost kernel: [<ffffffff81555ff0>] SyS_setsockopt+0x80/0xf0
Aug 30 14:20:01 localhost kernel: [<ffffffff816965c9>] system_call_fastpath+0x16/0x1b
Aug 30 14:20:01 localhost kernel: Mem-Info: