Доброго дня!
На двух практически одинаковых роутерах поднят WireGuard Client, на обоих периодически возникают ошибки по памяти, один справляется (подвисает и ребутит CdcEthernet), второй уходит в оффлайн, не поднимая CdcEthernet.
1
МодельKeenetic 4G III
Сервисный код 709-547-979-073-XXX
Версия ОС 2.16.D.12.0-5
2
МодельKeenetic 4G III
Сервисный код 712-938-255-487-XXX
Версия ОС 2.16.D.12.0-4
Ошибка:
[I] Apr 8 20:49:12 ndhcpc: CdcEthernet1: recieved NAK.
[W] Apr 8 20:49:12 ndm: Dhcp::Client: unable to configure interface "CdcEthernet1".
[W] Apr 8 20:49:13 kernel: warn_alloc_failed: 5 callbacks suppressed
[W] Apr 8 20:49:13 kernel: kworker/0:2: page allocation failure: order:9, mode:0x20
[W] Apr 8 20:49:13 kernel: Call Trace:
[W] Apr 8 20:49:13 kernel: [<80283278>] dump_stack+0x8/0x34
[W] Apr 8 20:49:22 kernel: [<8006a8e0>] warn_alloc_failed+0xfc/0x138
[W] Apr 8 20:49:23 kernel: [<8006ce28>] __alloc_pages_nodemask+0x374/0x6f0
[W] Apr 8 20:49:23 kernel: [<80095d70>] cache_alloc_refill+0x30c/0x64c
[W] Apr 8 20:49:23 kernel: [<800961b0>] __kmalloc+0x100/0x110
[W] Apr 8 20:49:23 kernel: [<80177318>] pskb_expand_head+0xc0/0x2dc
[W] Apr 8 20:49:23 kernel: [<83184870>] wg_packet_queue_free+0x39c/0x52c [wireguard]
[W] Apr 8 20:49:23 kernel: [<801a621c>] nf_iterate+0xf8/0x114
[W] Apr 8 20:49:23 kernel: [<801a62c8>] nf_hook_slow+0x90/0x1c8
[W] Apr 8 20:49:23 kernel: [<801d8c1c>] ip_finish_output+0x1cc/0x3c0
[W] Apr 8 20:49:23 kernel: [<8319bfe8>] udp_tunnel_xmit_skb+0x234/0x4c8 [wireguard]
[W] Apr 8 20:49:23 kernel: [<83187874>] wg_packet_receive+0x768/0xd6c [wireguard]
[W] Apr 8 20:49:23 kernel:
[W] Apr 8 20:49:23 kernel: Mem-Info:
[W] Apr 8 20:49:23 kernel: Normal per-cpu:
[W] Apr 8 20:49:23 kernel: CPU 0: hi: 18, btch: 3 usd: 10
[W] Apr 8 20:49:23 kernel: active_anon:3051 inactive_anon:31 isolated_anon:0
[W] Apr 8 20:49:23 kernel: active_file:1195 inactive_file:3072 isolated_file:0
[W] Apr 8 20:49:23 kernel: unevictable:0 dirty:0 writeback:0 unstable:0
[W] Apr 8 20:49:23 kernel: free:2156 slab_reclaimable:178 slab_unreclaimable:4129
[W] Apr 8 20:49:23 kernel: mapped:1390 shmem:55 pagetables:95 bounce:es in swap cache
[W] Apr 8 20:49:23 kernel: Swap cache stats: add 0, delete 0, find 0/0
[W] Apr 8 20:49:23 kernel: Free swap = 0kB
[W] Apr 8 20:49:23 kernel: Total swap = 0kB
[W] Apr 8 20:49:23 kernel: SLAB: Unable to allocate memory on node 0 (gfp=0x20)
[W] Apr 8 20:49:23 kernel: cache: size-262144, object size: 262144, order: 6
[W] Apr 8 20:49:23 kernel: node 0: slabs: 1/1, objs: 1/1, free: 0
[W] Apr 8 20:49:23 kernel: kworker/0:3: page allocation failure: order:6, mode:0x20
[W] Apr 8 20:49:23 kernel: Call Trace:
[W] Apr 8 20:49:23 kernel: [<80283278>] dump_stack+0x8/0x34
[W] Apr 8 20:49:23 kernel: [<8006a8e0>] warn_alloc_failed+0xfc/0x138
[W] Apr 8 20:49:23 kernel: [<8006ce28>] __alloc_pages_nodemask+0x374/0x6f0
[W] Apr 8 20:49:23 kernel: [<80095d70>] cache_alloc_refill+0x30c/0x64c
[W] Apr 8 20:49:23 kernel: [<800961b0>] __kmalloc+0x100/0x110
[W] Apr 8 20:49:23 kernel: [<80177318>] pskb_expand_head+0xc0/0x2dc
[W] Apr 8 20:49:23 kernel: [<83184870>] wg_packet_queue_free+0x39c/0x52c [wireguard]
[W] Apr 8 20:49:23 kernel:
<...>
[W] Apr 8 20:50:50 kernel: Mem-Info:
[W] Apr 8 20:50:50 kernel: Normal per-cpu:
[W] Apr 8 20:50:50 kernel: CPU 0: hi: 18, btch: 3 usd: 0
[W] Apr 8 20:50:50 kernel: active_anon:3003 inactive_anon:29 isolated_anon:0
[W] Apr 8 20:50:50 kernel: active_file:1120 inactive_file:2182 isolated_file:22
[W] Apr 8 20:50:50 kernel: unevictable:0 dirty:0 writeback:0 unstable:0
[W] Apr 8 20:50:50 kernel: free:1101 slab_reclaimable:169 slab_unreclaimable:6174
[W] Apr 8 20:50:50 kernel: mapped:530 shmem:54 pagetables:91 bounce:0
[W] Apr 8 20:50:50 kernel: Normal free:4404kB min:4096kB low:5120kB high:6144kB active_anon:12012kB inactive_anon:116kB active_file:4480kB inactive_file:8728kB unevictable:0kB isolated(anon):0kB isolated(file):88kB present:65024kB mlocked:0kB dirty:0kB writeback:0kB mapped:2120kB shmem:216kB slab_reclaimable:676kB slab_unreclaimable:24696kB kernel_stack:648kB pagetables:364kB unstable:0kB bounce:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no
[W] Apr 8 20:50:50 kernel: lowmem_reserve[]: 0 0
[W] Apr 8 20:50:50 kernel: Normal: 265*4kB 358*8kB 18*16kB 0*32kB 1*64kB 1*128kB 0*256kB 0*512kB 0*1024kB 0*2048kB 0*4096kB = 4404kB
[W] Apr 8 20:50:50 kernel: 3385 total pagecache pages
[W] Apr 8 20:50:50 kernel: 0 pages in swap cache
[W] Apr 8 20:50:50 kernel: Swap cache stats: add 0, delete 0, find 0/0
[W] Apr 8 20:50:50 kernel: Free swap = 0kB
[W] Apr 8 20:50:50 kernel: Total swap = 0kB
[W] Apr 8 20:50:50 kernel: SLAB: Unable to allocate memory on node 0 (gfp=0x20)
[W] Apr 8 20:50:50 kernel: cache: size-32768, object size: 32768, order: 3
[W] Apr 8 20:50:50 kernel: node 0: slabs: 51/51, objs: 51/51, free: 0
[I] Apr 8 20:51:15 ndm: Network::NeighbourListener: retrying to enable wilddumping mode.
[I] Apr 8 20:51:27 ndm: Network::Interface::WebCaller::Zte: "CdcEthernet1": connection established.
Большая просьба, если это возможно, исправить данную ошибку, очевидно, что это некорректная работа с памятью, возможно переполнение.
И ещё просьба, портировать в прошивку ОС 2.16 команду ping-check restart , чтоб хотя бы работал ребут при потере связи. На данный момент в этой прошивке ситуация такая:
(config)> interface Wireguard0 ping-check restart CdcEthernet1Command::Base error[7405600]: no such command: restart.
Заранее благодарю!