From 7c0507b6db7ae80aedf7aeec6350432051c96bfd Mon Sep 17 00:00:00 2001 From: Lawrence Lee Date: Wed, 3 Nov 2021 11:03:01 -0700 Subject: [PATCH] [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 --- dockers/docker-orchagent/ndppd.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dockers/docker-orchagent/ndppd.conf b/dockers/docker-orchagent/ndppd.conf index 1e97bf97e3..b9dbc293ed 100644 --- a/dockers/docker-orchagent/ndppd.conf +++ b/dockers/docker-orchagent/ndppd.conf @@ -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 \ No newline at end of file +dependent_startup_wait_for=vlanmgrd:running