cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
403
Views
0
Helpful
6
Replies

Cisco Catalyst 9600/9400/9300 - Restart netconf-yang

LAN team
Level 1
Level 1

Hello,

We're facing issue with pubd process memory leak, we have to upgrade our switch to a fixed version.

The workaround until upgrade is to restart netconf-yang time to time to restart pubd process, it works fine on C9200 serie switches but not on other C9K switches 9300, 9400, 9500, 9600.  

Then si there an other way to stop, restart  pubd process ?

Thank you,

 

6 Replies 6

Leo Laohoo
Hall of Fame
Hall of Fame

Disable telemetry and NMSPD.

How can I disable NMSPD ?

conf t
 NO nmsp enable
end

nmsp is not enabled :
SWITCH#sh nmsp status
The process for the command is not responding or is otherwise unavailable

Neither telemetry :
SWITCH#sh telemetry internal connection
SWITCH#sh telemetry ietf subscription all
SWITCH#
But pubd process still in progress :
SWITCH#show processes memory platform sorted | i pubd
1672 82 1551532 136 1369456 1551532 pubd

CSCwb15629, CSCwd28734, CSCwe09745, CSCwf60151

You can also disable call-home: 

 

conf t
 NO service call-home
end

 

Check the config for "gRPC".  If there is, remove it.  

Remove netconf-yang.

 

switch#sh call-home | i feature
call home feature : disable

no more grpc setting, all telemetry configuration removed

But pubd process still running.

switch#sh processes memory platform sorted
System memory: 7757616K total, 5893600K used, 1864016K free,
Lowest: 1557840K
Pid Text Data Stack Dynamic RSS Name
----------------------------------------------------------------------
31262 82 3138436 136 2955880 3138436 pubd
16182 241596 950344 136 400 950344 linux_iosd-imag

 

I guess there's no workaround on C9300/C9400/C9500/C9600 switch model until upgrade.