contrib-ARP node spiking groov EPIC CPU %

Currently running a flow on an Opto22 groov EPIC PR1 to check the status of iPads on a network being used as HMIs in a manufacturing facility. Specifically using the node node-red-contrib-ARP with a function to pass the dynamic MAC address of specific iPads. If the device is offline, an rbe node lets the flow write to a groov data store and trigger a visual indicator to go check on device.

Hwoever, once the flow was deployed, I noticed the CPU % on the groov would spike to 85~95% every time the inject node triggered the ARP read. Does anyone know why this would be happening or has experienced anything similar?

Running: Node-RED ver: 1.1.3; Node.js: v10.16.3

Flow below:

[{"id":"b1c5de6a.0d374","type":"debug","z":"45501f54.6dd2","name":"ARP Dbug","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","statusVal":"","statusType":"auto","x":950,"y":780,"wires":[]},{"id":"9be9dcc3.9aa","type":"inject","z":"45501f54.6dd2","name":"","props":[{"p":"payload.macs","v":"","vt":"str"}],"repeat":"30","crontab":"","once":true,"onceDelay":0.1,"topic":"","x":110,"y":780,"wires":[["54c470fe.7c0a5"]]},{"id":"54c470fe.7c0a5","type":"function","z":"45501f54.6dd2","name":"29 MAC","func":"msg.payload.macs = \"10:8E:E0:3B:9E:20\";\nmsg.machnum = 29;\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":240,"y":780,"wires":[["714b097d.5c3a78"]]},{"id":"714b097d.5c3a78","type":"arp","z":"45501f54.6dd2","name":"ARP","macs":"","x":370,"y":780,"wires":[["4f9278bf.f5cfd8"]]},{"id":"9351396e.295328","type":"groov-write-ds","z":"45501f54.6dd2","dataStore":"ae94c92b.e6ca48","tagName":"NETS_All","tableStartIndex":"26","value":"flag","valueType":"msg","name":"","x":780,"y":780,"wires":[["b1c5de6a.0d374"]]},{"id":"8361f8c3.7411f8","type":"rbe","z":"45501f54.6dd2","name":"","func":"rbe","gap":"","start":"","inout":"out","property":"flag","x":630,"y":780,"wires":[["9351396e.295328"]]},{"id":"4f9278bf.f5cfd8","type":"function","z":"45501f54.6dd2","name":"Chk Arr","func":"if (msg.payload.length === 0) {\n    msg.flag = false;\n} else {\n    msg.flag = true;\n}\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","x":500,"y":780,"wires":[["8361f8c3.7411f8"]]},{"id":"ae94c92b.e6ca48","type":"groov-data-store","z":"","project":"c1cfaf89.40389","dsName":"Lights"},{"id":"c1cfaf89.40389","type":"groov-project","z":"","address":"localhost"}]

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.