[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 Qi Luo
parent d8dd68d2f4
commit 8ada006302

View File

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