Kernel Memory Leak on VyOS

Can you try also disable all offloads and check CPU load? But before, show please sudo ethtool -k eth2

Commands for disabling offloads:

set interfaces ethernet eth2 offload-options tcp-segmentation off
set interfaces ethernet eth2 offload-options generic-receive off
set interfaces ethernet eth2 offload-options generic-segmentation off
commit
sudo ethtool -K eth2 lro off

I was getting memory leaks with rolling release…

Switched to LTS 1.2.0 the server is now working properly

Hardware: Dell R240 with Intel X520

I disabled all offloads earlier:

show interfaces ethernet eth2 offload-options 
 generic-receive off
 generic-segmentation off
 tcp-segmentation off
 udp-fragmentation off


ethtool -k eth2
Features for eth2:
rx-checksumming: on
tx-checksumming: on
	tx-checksum-ipv4: off [fixed]
	tx-checksum-ip-generic: on
	tx-checksum-ipv6: off [fixed]
	tx-checksum-fcoe-crc: on [fixed]
	tx-checksum-sctp: on
scatter-gather: off
	tx-scatter-gather: off
	tx-scatter-gather-fraglist: off [fixed]
tcp-segmentation-offload: off
	tx-tcp-segmentation: off
	tx-tcp-ecn-segmentation: off [fixed]
	tx-tcp-mangleid-segmentation: off
	tx-tcp6-segmentation: off
udp-fragmentation-offload: off
generic-segmentation-offload: off
generic-receive-offload: off
large-receive-offload: off
rx-vlan-offload: on
tx-vlan-offload: on
ntuple-filters: off
receive-hashing: on
highdma: on [fixed]
rx-vlan-filter: on
vlan-challenged: off [fixed]
tx-lockless: off [fixed]
netns-local: off [fixed]
tx-gso-robust: off [fixed]
tx-fcoe-segmentation: on [fixed]
tx-gre-segmentation: on
tx-gre-csum-segmentation: on
tx-ipxip4-segmentation: on
tx-ipxip6-segmentation: on
tx-udp_tnl-segmentation: on
tx-udp_tnl-csum-segmentation: on
tx-gso-partial: on
tx-sctp-segmentation: off [fixed]
tx-esp-segmentation: off [fixed]
tx-udp-segmentation: off [fixed]
fcoe-mtu: off [fixed]
tx-nocache-copy: off
loopback: off [fixed]
rx-fcs: off [fixed]
rx-all: off
tx-vlan-stag-hw-insert: off [fixed]
rx-vlan-stag-hw-parse: off [fixed]
rx-vlan-stag-filter: off [fixed]
l2-fwd-offload: off [fixed]
hw-tc-offload: off
esp-hw-offload: off [fixed]
esp-tx-csum-hw-offload: off [fixed]
rx-udp_tunnel-port-offload: on
tls-hw-tx-offload: off [fixed]
tls-hw-rx-offload: off [fixed]
rx-gro-hw: off [fixed]
tls-hw-record: off [fixed]

I can not use the stable (LTS) version, since I use bfd.

@Harunaga Is critical CPU load for you? All works without issue, isn’t it? For detect this “high load” I think we need perf utils.
Current kernel contain some debug features for detecting memleak, may be it add some load percent

Hello @Harunaga , I propose update VyOS to rolling version 1.2-rolling-201910100117. I confirm better performance without kmemleak.

Hello!
After the execution of the command:

echo off > /sys/kernel/debug/kmemleak

CPU load returned to normal

Hello, can you confirm that cause of memory leak is solved with ixgbe 5.6.3?

Hello!
Yes, I confirm that the cause of the memory leak has been fixed.

Hello, I have the same, or similar problem …
However my memory overflows !!!
1GB average every 2 Days … Until it fills all 8GB and crashes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.