sirhc wrote:mayheart wrote:My graphs show the CPU has been at 100% since the switch rebooted from the upgrade.
But if you Disable Discovery it settles down?
And we are talking about the Discovery Tab being enabled which causes the CPU spike or the enabling of UDP/CDP/LLDP?
Please detail your environment:Is this a large flat segment?
How many devices?
Explain your setup please.
Explain what the CPU does if you disable it, maybe post the device Status screen with and without it enabled.
Also maybe post a screen grab of the Linux screen showing CPU usage when it is 100%
These are the types of investigation and results that will help Eric fix it.
Still seeing this here as well on r16:
- Code: Select all
BusyBox v1.19.4 (2016-04-28 19:18:26 EDT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
top - 17:02:37 up 33 min, 0 users, load average: 1.16, 1.20, 1.03
Tasks: 62 total, 3 running, 59 sleeping, 0 stopped, 0 zombie
Cpu(s): 88.8%us, 10.5%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.3%hi, 0.3%si, 0.0%st
Mem: 126348k total, 52224k used, 74124k free, 4360k buffers
Swap: 0k total, 0k used, 0k free, 16440k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
750 bwayadmi 20 0 6976 5052 556 R 77.3 4.0 28:23.49 discovery probe
741 bwayadmi 20 0 6976 5052 556 R 4.5 4.0 1:06.18 switch
752 bwayadmi RT 0 6976 5052 556 S 1.9 4.0 0:36.06 i2c thread
739 bwayadmi 20 0 2120 636 452 R 1.9 0.5 0:00.17 top
734 nobody 20 0 2280 672 576 S 1.3 0.5 0:00.55 shellinaboxd
718 bwayadmi 20 0 7016 1960 1052 S 1.0 1.6 0:04.49 lighttpd
717 bwayadmi 20 0 7012 1972 1052 S 0.6 1.6 0:05.59 lighttpd
-It stays like this, it does not eventually settle down
-On this L3 segment I have 6 devices visible; two local ubnt devices, two remote ubnt devices, one remote netonix and one remote cisco switch
-The other switch only sees 3 devices, same result
-Both the "Ubiquiti" discovery checkbox and the general "Discovery" checkbox below it are checked
-Unchecking "Ubiquiti" and saving does not stop the process from using all cpu
-Unchecking the general "Discovery" checkbox does not stop the process from using all cpu
-Manually killing the process from the shell takes care of it of course... :)
-Rebooting with both discovery boxes unchecked results in normal CPU usage
-Manually enabling just the "Ubiquiti" checkbox results in normal CPU usage (but no devices are discovered)
-Manaully enabling the "Discovery" checkbox results in the CPU spiking (still no devices discovered)
Anything else? Totally repeatable on at least two switches I'm paying attention to...