Hi there,
after I came back from a long trip, I managed to take a closer look at the problem I described before.
I was able to enable the debug logging and also found a way to split the logging output into separate files for a better overview :-).
The amount of logging information generated by the DEBUG level is overwhelming. However, looking at the combination of messages thrown by the log for jetty and the debug log for the shelly addon, I seem to have found the following relationship:
Whenever jetty reports “Stopped without executing or closing null”,
- there is a preceding message from shelly about “Disconnecting WebSocket” for a specific connection,
- and a subsequent message from shelly about “WebSocket connection closed”.
In general, this does not look wrong, right?
However, one thing I also found is:
- The assumption that this must be related to the WiFi connection instabilities of my Shelly devices is wrong.
- The reason is that some of the reported devices are connected via LAN cable.
I am continuing my testing to see if there is any specific relationship to when the heap size blows out, but thought to share this already. Any comments/advice would be greatly appreciated.
Thanks and best regards
Karsten
PS: There is much more logging info to share. Just need a hint where to look and what is meaningful to provide.
PPS: I removed / changed serial numbers and ip addresses on purpose.
2024-09-10 12:41:03.104 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:35656 -> /aaa.bbb.ccc.72:80)
2024-09-10 12:41:03.118 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 12:41:03.119 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 12:58:03.340 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef222222: Disconnecting WebSocket (/aaa.bbb.ccc.249:53486 -> /aaa.bbb.ccc.73:80)
2024-09-10 12:58:03.343 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 12:58:03.344 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef222222: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 13:50:02.839 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef222222: Disconnecting WebSocket (/aaa.bbb.ccc.249:48682 -> /aaa.bbb.ccc.73:80)
2024-09-10 13:50:02.843 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 13:50:02.843 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef222222: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 14:32:06.191 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef222222: Disconnecting WebSocket (/aaa.bbb.ccc.249:57270 -> /aaa.bbb.ccc.73:80)
2024-09-10 14:32:06.193 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 14:32:06.194 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef222222: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 14:41:14.803 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:57690 -> /aaa.bbb.ccc.72:80)
2024-09-10 14:41:14.811 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 14:41:14.811 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 14:43:14.803 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:36482 -> /aaa.bbb.ccc.72:80)
2024-09-10 14:43:14.805 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 14:43:14.806 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 16:50:16.933 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef333333: Disconnecting WebSocket (/aaa.bbb.ccc.249:51552 -> /aaa.bbb.ccc.71:80)
2024-09-10 16:50:16.936 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 16:50:16.936 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef333333: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 16:55:16.738 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:44250 -> /aaa.bbb.ccc.72:80)
2024-09-10 16:55:16.740 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 16:55:16.740 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 17:00:20.233 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef222222: Disconnecting WebSocket (/aaa.bbb.ccc.249:51886 -> /aaa.bbb.ccc.73:80)
2024-09-10 17:00:20.237 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 17:00:20.239 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef222222: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 17:10:20.897 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:38710 -> /aaa.bbb.ccc.72:80)
2024-09-10 17:10:20.909 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 17:10:20.909 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 17:30:27.114 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef333333: Disconnecting WebSocket (/aaa.bbb.ccc.249:45442 -> /aaa.bbb.ccc.71:80)
2024-09-10 17:30:27.116 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 17:30:27.116 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef333333: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 17:43:23.550 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:60944 -> /aaa.bbb.ccc.72:80)
2024-09-10 17:43:23.555 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 17:43:23.557 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 18:04:11.470 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:54218 -> /aaa.bbb.ccc.72:80)
2024-09-10 18:04:11.472 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 18:04:11.473 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 18:35:28.158 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef222222: Disconnecting WebSocket (/aaa.bbb.ccc.249:40842 -> /aaa.bbb.ccc.73:80)
2024-09-10 18:35:28.162 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 18:35:28.163 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef222222: WebSocket connection closed, status = 1006/Disconnected
2024-09-10 18:44:28.602 [DEBUG] [helly.internal.api2.Shelly2RpcSocket] - shellypro3em-abcdef111111: Disconnecting WebSocket (/aaa.bbb.ccc.249:34792 -> /aaa.bbb.ccc.72:80)
2024-09-10 18:44:28.604 [WARN ] [e.jetty.util.thread.QueuedThreadPool] - Stopped without executing or closing null
2024-09-10 18:44:28.605 [DEBUG] [g.shelly.internal.api2.Shelly2ApiRpc] - shellypro3em-abcdef111111: WebSocket connection closed, status = 1006/Disconnected