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

lldpad crashes due to piling up of transient veth interfaces in lldpad.conf #3

Open
SrijitNair opened this issue Dec 9, 2021 · 1 comment

Comments

@SrijitNair
Copy link

Hi All,

On my system, lldp keeps crashing with the following error :
kernel: [1590523.105977] lldpad[17922]: segfault at c68 ip 000055f3a7de9c6a sp 00007ffc816b37c0 error 6 in lldpad[55f3a7dad000+60000]

lldpad.service: main process exited, code=killed, status=11/SEGV
Unit lldpad.service entered failed state.

Version : lldpad-1.0.1-5.1.git036e314.el7.centos.x86_64

We create lots of veth pairs and delete them at certain intervals. I see all these transient interfaces in lldpad.conf, but they are not removed.
lldpad adds all interfaces to lldpad.conf, but they are not cleaned when the interfaces are deleted. If the interfaces are virtual ethernets that are transient, the interfaces are not removed. This causes the lldpad.conf to keep growing.
lldp scan this list for changes to all the listed interfaces. This is causing the lldp to crash. Has there been a fix for this in latest releases ?

Thanks,
Srijit

@SrijitNair SrijitNair changed the title lldpad adds veth pairs to lldpad.conf but doesn't delete lldpad crashes due to piling up of transient veth interfaces in lldpad.conf Dec 9, 2021
@SrijitNair
Copy link
Author

how do I enable debug mode for logs ?

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

1 participant