Skip to content

[swss]: Start ndppd after vlanmgrd#9155

Merged
lguohan merged 1 commit intosonic-net:masterfrom
theasianpianist:ndppd-start
Nov 3, 2021
Merged

[swss]: Start ndppd after vlanmgrd#9155
lguohan merged 1 commit intosonic-net:masterfrom
theasianpianist:ndppd-start

Conversation

@theasianpianist
Copy link
Contributor

Signed-off-by: Lawrence Lee [email protected]

Why I did it

During swss container startup, if ndppd starts up before/with vlanmgrd, ndppd will be pinned at nearly 100% CPU usage.

How I did it

Only start ndppd after vlanmgrd is running. Also, call ndppd directly instead of through bash for improved logging and to prevent orphaned processes.

How to verify it

Which release branch to backport (provide reason below if selected)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

@lguohan lguohan merged commit 7c0507b into sonic-net:master Nov 3, 2021
qiluo-msft pushed a commit that referenced this pull request Nov 5, 2021
Why I did it
During swss container startup, if ndppd starts up before/with vlanmgrd, ndppd will be pinned at nearly 100% CPU usage.

How I did it
Only start ndppd after vlanmgrd is running. Also, call ndppd directly instead of through bash for improved logging and to prevent orphaned processes.

Signed-off-by: Lawrence Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants