Hi,
I’m using VyOS version 1.2.0-rolling+201809210337 and there is a memory leak that consumes all memory in less than 10 days (±6GB from 8GB total). BGP v4 ad v6, OSPF and some firewall rules.
This should be reported to FRR maintainers. I’ll check the recent changelogs to see if there were any related fixes and make an updated package for you to test if I find anything.
Meanwhile, could you post the output of vtysh -c ‘sh run’ somewhere so that a bug report can be created?
Hi,
I can’t attack TXT file with more/all information requested. Put all into comment is to big too. Please allow me attack files to give more informations.
show system memory
Total: 7982
Free: 2704
Used: 5278
show ip route summary
Route Source Routes FIB (vrf Default-IP-Routing-Table)
connected 10 10
static 7 0
ospf 206 200
ebgp 717286 717286
ibgp 2925 2925
------
Totals 720434 720421
After reboot, appeared this error below from charon. BGP sessions who haven’t MD5 password doesn’t got UP. I stopped this process and restart the server again, and then the BGP sessions started normally.
Could ipsec/charon be the problem for memory leak?
Now:
show system memory
Total: 7982
Free: 5930
Used: 2052
Oct 16 05:41:37 ROUTER-BGP vyatta-router[1915]: Starting VyOS router: migrate rl-system firewall configure.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Reloading.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Started VyOS Router.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting Getty on tty1...
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Started Getty on tty1.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting Login Prompts.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Reached target Login Prompts.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting LSB: AWS EC2 instance init script to fetch and load ssh public key...
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Started LSB: AWS EC2 instance init script to fetch and load ssh public key.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting Multi-User System.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Reached target Multi-User System.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting Graphical Interface.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Reached target Graphical Interface.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Starting Update UTMP about System Runlevel Changes...
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Started Update UTMP about System Runlevel Changes.
Oct 16 05:41:38 ROUTER-BGP systemd[1]: Startup finished in 18.836s (kernel) + 2min 36.775s (userspace) = 2min 55.611s.
Oct 16 05:41:38 ROUTER-BGP kernel: [ 176.082887] nf_conntrack: default automatic helper assignment has been turned off for security reasons and CT-based firewall rule not found. Use the iptables CT target to attach helpers instead.
Oct 16 05:41:38 ROUTER-BGP charon: 04[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:46 ROUTER-BGP charon: 11[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:48 ROUTER-BGP charon: 04[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:50 ROUTER-BGP charon: 10[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:50 ROUTER-BGP rsyslogd0: action 'action 3' resumed (module 'builtin:omfwd') [try http://www.rsyslog.com/e/0 ]
Oct 16 05:41:50 ROUTER-BGP rsyslogd-2359: action 'action 3' resumed (module 'builtin:omfwd') [try http://www.rsyslog.com/e/2359 ]
Oct 16 05:41:51 ROUTER-BGP charon: 04[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:52 ROUTER-BGP charon: 06[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:54 ROUTER-BGP charon: 10[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:55 ROUTER-BGP charon: 07[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:56 ROUTER-BGP charon: 03[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:57 ROUTER-BGP charon: 09[KNL] unable to receive from RT event socket No buffer space available (105)
Oct 16 05:41:58 ROUTER-BGP charon: 09[KNL] unable to receive from RT event socket No buffer space available (105)