Symptom
High CPU is seen on Nexus 9000 due to nxpython3 process.
show system internal process cpu 1 (or "top" from bash) shows below
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13834 root 20 0 406612 57924 42228 R 100.0 0.2 0:00.45 nxpython3
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13862 root 20 0 416732 66004 44820 R 100.0 0.3 0:00.53 nxpython3
13871 root 20 0 123608 23284 19156 R 75.0 0.1 0:00.12 nxpython3
78 root 25 5 0 0 0 S 6.2 0.0 461:10.37 ksmd
13867 admin 20 0 3704 2728 1992 R 6.2 0.0 0:00.01 top
show logging log prints below
F340.05.22-N9K-C93180YC-FX-3EC# sh logg las 2
2023 Sep 13 19:34:10 F340.05.22-N9K-C93180YC-FX-3EC %LLDP-2-DETECT_MULTIPLE_PEERS: Multiple peers detected on Eth1/9
2023 Sep 13 19:34:41 F340.05.22-N9K-C93180YC-FX-3EC %LLDP-2-DETECT_MULTIPLE_PEERS: Multiple peers detected on Eth1/9 (message repeated 31 times)
bash-4.4$ ps -ef | grep eem_autocollect
root 9646 9642 58 14:53 ? 00:00:00 /isan/bin/nxpython3 /isan/bin/cli-scripts/eem_autocollect.py -p 677733472 -d /bootflash -y default-autocollect -r 300 -P 720 -hardlimit 1 -s LLDP-2-DETECT_MULTIPLE_PEERS:Multiple peers detected on Eth1/9
root 9647 9643 58 14:53 ? 00:00:00 /isan/bin/nxpython3 /isan/bin/cli-scripts/eem_autocollect.py -p 594842489 -d /bootflash -y default-autocollect -r 300 -P 720 -hardlimit 1 -s LLDP-2-DETECT_MULTIPLE_PEERS:Multiple peers detected on Eth1/9
Conditions
Nexus 9000 with multiple LLDP neighbors on a single interface
Workaround
Configure "logging level lldp 0" or "logging level lldp 1"
Configuring lldp multi-neighbor will allow the device to accept multiple neighbors, maximum of 3 per interface, preventing the syslog from being printed.
Further Problem Description
Persistent High CPU may be noted depending upon the number of interfaces with multiple LLDP neighbors.
Platforms running software on 9.3.x release train are not impacted by this issue.