Hi,
After update to 21.1 list_arp.py process cpu usage is very high.
Quote17704 root 95 0 33M 24M CPU3 3 0:14 75.68% /usr/local/bin/python3 /usr/local/opnsense/scripts/interfaces/list_arp.py json (python3.7)
11 root 155 ki31 0 64K CPU1 1 8:37 64.60% [idle{idle: cpu1}]
89573 root 77 0 29M 20M CPU0 0 0:02 18.26% /usr/local/bin/python3 /usr/local/opnsense/scripts/interfaces/list_arp.py json (python3.7)
It looks like it's kind a process restarting loop because PID number is increasing every few seconds.
I'm seeing the same issue. The list_arp.py script is being called several times a minute. If I run it manually from a shell it maxes out a single processor core for 2 to 3 seconds. I found that disabling System Configuration Daemon (configd) stops the issue happening but obviously disables some features of the web UI.
I've taken a look in the list_arp.py file and found the following area being the cause of the high cpu usage:
try:
record['manufacturer'] = manufacturer_mac.oui.registration().org
except netaddr.NotRegisteredError:
pass
Specifically the call to .registration()
What I don't know is why this is now appearing as a problem or how it should be solved. I've commented those lines out for the time being and it prevents the periodic high CPU usage.
I do have the same problem on 21.1.1