Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After OSPF is configured with frrouting in docker, the ping between nodes is not reached #15571

Open
zhangmazi123321 opened this issue Mar 18, 2024 · 2 comments

Comments

@zhangmazi123321
Copy link

I made an image with frrouting and created 500 nodes running the OSPF protocol. When it is first configured, nodes can still ping with each other. But after a few minutes, the Zebra process suddenly filled up with memory, causing my server to have 0 free memory. After that the nodes are no longer ping, but when I use the top command to look, ospfd is still running. The server memory is 512GB, I would like to know what the problem is?

image image
@zhangmazi123321
Copy link
Author

The following describes how to configure OSPF:

non_loopback_ips=$(ip -o addr show scope global | awk '{split($4, a, "/"); print a[1]}' | grep -v '^127.0.0.1$')
touch /etc/frr/vtysh.conf
sed -i "s/zebra=no/zebra=yes/" /etc/frr/daemons
sed -i "s/ospfd=no/ospfd=yes/" /etc/frr/daemons

systemctl start frr
#/etc/init.d/frr start

for ip in $non_loopback_ips; do
vtysh <<-EOF
conf t
router ospf
network $ip/24 area 0
timers lsa-generation-interval 100000
do write file
exit
exit
exit
EOF
done

systemctl start frr

@ton31337
Copy link
Member

What does it mean 500 nodes? Could you get the logs, configs, and topology to understand what's going on here? Also, would be possible to get the Flamegraph of zebra processes?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants