[swss]: Start ndppd after vlanmgrd (#9155)

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 <lawlee@microsoft.com>
This commit is contained in:
Lawrence Lee 2021-11-03 11:03:01 -07:00 committed by GitHub
parent 689c101095
commit 7c0507b6db
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,9 +1,9 @@
[program:ndppd] [program:ndppd]
command=bash -c "/usr/sbin/ndppd | /usr/bin/logger" command=/usr/sbin/ndppd
priority=7 priority=7
autostart=false autostart=false
autorestart=unexpected autorestart=unexpected
stdout_logfile=syslog stdout_logfile=syslog
stderr_logfile=syslog stderr_logfile=syslog
dependent_startup=true dependent_startup=true
dependent_startup_wait_for=swssconfig:exited dependent_startup_wait_for=vlanmgrd:running