Multiple warnings "method XXX ran for (hundreds of seconds)" from RM rules

I've just noticed I've been getting long-running method warnings at least once a day for the last few days on multiple RM rules ( I don't see any similar warnings for anything not RM-related):

Any idea what might be causing this?

I've not observed any "clinical" symptoms, i.e. all the automations seem to be running fine, memory looks OK at 260 MB, CPU is hovering around 5%, etc. I had a cursory look at app and device stats, nothing caught my eye.

Is there anything I should investigate further before I reboot the hub ?

This is a C7 on 2.3.5.131.

1 Like

Can you PM me the hub id? I'll take a look at the engineering logs.
Feel free to reboot the hub whenever. The relevant information will be in those engineering logs, or not. I can't think of anything to try right now.

3 Likes

I am seeing the same thing on my C4 hub. I don't see anything similar on my C7 hub. These messages coincide with the UI becoming unresponsive and information not flowing (via Make API) to HA, and the device requiring a reboot (I have not tried waiting due to lack of patience). This pattern repeats every 2-3 days. C4 hub on 2.3.5.152. Devices are a mix of ZWave and Zigbee, all local devices. Example logs below:

dev:662023-07-18 11:10:08.778 AMwarnmethod pollPresence of device Garage FP1-South ran for 5,898,017ms
dev:672023-07-18 11:09:09.145 AMwarnmethod pollPresence of device Garage FP1-North ran for 4,736,184ms
dev:672023-07-18 08:00:22.793 AMwarnmethod pollPresence of device Garage FP1-North ran for 2,020,493ms
dev:662023-07-18 08:00:22.470 AMwarnmethod pollPresence of device Garage FP1-South ran for 2,002,249ms
dev:352023-07-18 06:40:38.847 AMwarnmethod parse of device Exterior Relay ran for 196,424ms
dev:352023-07-18 06:34:32.462 AMwarnmethod parse of device Exterior Relay ran for 161,892ms
dev:352023-07-18 06:28:36.379 AMwarnmethod parse of device Exterior Relay ran for 224,958ms
dev:352023-07-18 06:28:19.362 AMwarnmethod parse of device Exterior Relay ran for 213,346ms
dev:372023-07-18 06:28:11.647 AMwarnmethod parse of child device Parking Lights ran for 196,711ms
dev:352023-07-18 06:20:28.667 AMwarnmethod parse of device Exterior Relay ran for 134,351ms
dev:352023-07-18 06:17:27.493 AMwarnmethod parse of device Exterior Relay ran for 148,415ms
dev:352023-07-18 06:17:14.402 AMwarnmethod parse of device Exterior Relay ran for 143,209ms
dev:352023-07-18 06:14:13.025 AMwarnmethod parse of device Exterior Relay ran for 521,242ms
dev:362023-07-18 06:12:56.729 AMwarnmethod parse of child device Bridge Lights ran for 144,371ms
dev:352023-07-18 06:07:33.049 AMwarnmethod parse of device Exterior Relay ran for 123,134ms
dev:352023-07-18 06:05:28.837 AMwarnmethod parse of device Exterior Relay ran for 218,386ms
dev:352023-07-18 06:04:57.808 AMwarnmethod parse of device Exterior Relay ran for 174,556ms
dev:352023-07-18 06:01:18.325 AMwarnmethod parse of device Exterior Relay ran for 159,506ms
dev:352023-07-18 06:01:03.348 AMwarnmethod parse of device Exterior Relay ran for 144,086ms
dev:362023-07-18 06:01:03.347 AMwarnmethod parse of child device Bridge Lights ran for 141,778ms
app:672023-07-18 05:53:49.489 AMwarnmethod lightsOff of child app Welcome Lights ran for 1,058,115ms
dev:352023-07-18 05:50:16.623 AMwarnmethod parse of device Exterior Relay ran for 303,606ms
dev:672023-07-18 05:49:49.835 AMwarnmethod pollPresence of device Garage FP1-North ran for 733,316ms
dev:352023-07-18 05:49:42.251 AMwarnmethod parse of device Exterior Relay ran for 263,370ms
dev:662023-07-18 05:49:34.729 AMwarnmethod pollPresence of device Garage FP1-South ran for 737,444ms
dev:352023-07-18 05:44:47.194 AMwarnmethod parse of device Exterior Relay ran for 392,445ms
app:992023-07-18 05:44:41.157 AMwarnmethod eventHandler of app Maker API ran for 281,635ms
dev:362023-07-18 05:41:17.946 AMwarnmethod parse of child device Bridge Lights ran for 181,813ms

I also see these errors in the logs, possibly related?

java.lang.StringIndexOutOfBoundsException: String index out of range: -2 on line 53 (method parse)