[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:
parent
689c101095
commit
7c0507b6db
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user