Cgroup: fork rejected by pids controller in /system.slice/openhab.service

  • Platform information:
    • Hardware: Raspberry Pi 4 Model B Rev 1.2
    • OS: openhabian “main”
    • Java Runtime Environment: 11.0.11 (Zulu11.48+21-CA)
    • openHAB version: openHAB 3.1.0.M4

While being away for a few days, openHAB got into troubles. The maximum threads for openHAB has been reached, while the memory was still sufficient…

grafik

grafik

Reading the log files, I assume that there is a problem within the gardena binding.
The messages seem to correspond to the number of active threads.
It started very slowly but than the frequency incresed a lot.

Maybe it is related to [Gardena] Suspected memory leak (especially) when api is down · Issue #10516 · openhab/openhab-addons · GitHub

From Gardena Binding:

2021-05-31 16:25:48.784 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-05-31 16:35:17.234 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 03:11:25.075 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 03:17:17.480 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 03:23:16.084 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 13:33:43.422 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): Broken pipe, restarting
2021-06-01 13:33:43.427 [WARN ] [ng.gardena.internal.GardenaSmartImpl] - Restarting GardenaSmart Webservice failed: java.nio.channels.AsynchronousCloseException, restarting binding
2021-06-01 13:59:21.515 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): Broken pipe, restarting
2021-06-01 13:59:21.520 [WARN ] [ng.gardena.internal.GardenaSmartImpl] - Restarting GardenaSmart Webservice failed: java.nio.channels.AsynchronousCloseException, restarting binding
2021-06-01 13:59:21.524 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): Broken pipe, restarting
2021-06-01 14:00:22.269 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 14:00:22.511 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 14:17:56.975 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 18:40:34.585 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 18:49:09.603 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 18:49:09.611 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:22:29.970 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:22:29.971 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:22:29.972 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:35:25.735 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:36:43.475 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:36:43.476 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:36:43.477 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:39:14.627 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:39:14.630 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:39:14.664 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:41:45.569 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:41:45.757 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:41:46.018 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:42:30.082 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:42:31.935 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:44:16.812 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:44:16.833 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:44:16.900 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:01.239 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:03.007 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:21.213 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:46:47.699 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:46:48.029 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:46:48.065 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:32.359 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:34.186 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:43.477 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:47:45.204 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:52.365 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:48:43.505 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:49:18.751 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:49:18.914 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:49:19.161 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:03.352 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:05.342 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:14.575 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:16.251 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:23.379 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:40.364 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:44.822 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:10.670 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:51:14.511 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:24.725 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:26.360 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:42.251 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:51:49.856 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:50.052 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:50.222 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:12.056 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:52:34.410 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:36.456 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:45.613 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:47.298 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:54.421 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:53:11.219 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:53:11.391 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:53:15.962 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:53:45.528 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:53:47.815 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:53:49.436 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:54:07.159 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:54:10.886 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:54:21.276 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:54:32.035 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:54:43.747 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:54:49.642 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:05.527 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:07.559 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:16.727 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:18.430 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:55:25.489 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:29.412 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:55:42.312 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:55:42.389 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:47.005 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:55:50.780 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150002/150000 ms, restarting
2021-06-01 21:55:58.059 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:55:59.660 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:56:01.262 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:56:10.779 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:56:16.532 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:56:18.989 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:56:20.501 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:56:22.853 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:56:25.261 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:41:46.018 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:42:30.082 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:42:31.935 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:44:16.812 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:44:16.833 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:44:16.900 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:01.239 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:03.007 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:45:21.213 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:46:47.699 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:46:48.029 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:46:48.065 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:32.359 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:34.186 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:43.477 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:47:45.204 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:47:52.365 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:48:43.505 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:49:18.751 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150001/150000 ms, restarting
2021-06-01 21:49:18.914 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:49:19.161 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:03.352 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:05.342 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:14.575 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:16.251 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:23.379 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:40.364 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:50:44.822 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:10.670 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:51:14.511 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:24.725 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:26.360 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:42.251 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:51:49.856 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:50.052 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:51:50.222 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:12.056 [WARN ] [ternal.handler.GardenaAccountHandler] - Error 400 Bad Request, {"error":"invalid_request","error_description":"Simultaneous logins detected for client[id=], user[id=, email=}]","error_code":"simultaneous.logins"}
2021-06-01 21:52:34.410 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting
2021-06-01 21:52:36.456 [WARN ] [rdena.internal.GardenaSmartWebSocket] - Gardena Webservice error (garden-My Garden): java.util.concurrent.TimeoutException: Idle timeout expired: 150000/150000 ms, restarting

In openhab.log:

2021-06-01 14:17:56.981 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist OFFLINE
2021-06-01 14:17:58.480 [WARN ] [org.eclipse.jetty.io.ManagedSelector] - java.nio.channels.ClosedSelectorException
2021-06-01 14:19:02.548 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist ONLINE

2021-06-01 18:40:34.594 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist OFFLINE
2021-06-01 18:40:36.092 [WARN ] [org.eclipse.jetty.io.ManagedSelector] - java.nio.channels.ClosedSelectorException
2021-06-01 18:41:41.393 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist ONLINE

2021-06-01 18:49:09.625 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist OFFLINE
2021-06-01 18:49:09.645 [WARN ] [ty.websocket.common.WebSocketSession] - Exception while notifying onError
java.util.ConcurrentModificationException: null
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:1043) ~[?:?]
	at java.util.ArrayList$Itr.next(ArrayList.java:997) ~[?:?]
	at org.openhab.binding.gardena.internal.GardenaSmartImpl.stopWebsockets(GardenaSmartImpl.java:156) ~[?:?]
	at org.openhab.binding.gardena.internal.GardenaSmartImpl.dispose(GardenaSmartImpl.java:296) ~[?:?]
	at org.openhab.binding.gardena.internal.handler.GardenaAccountHandler.disposeGardena(GardenaAccountHandler.java:134) ~[?:?]
	at org.openhab.binding.gardena.internal.handler.GardenaAccountHandler.onError(GardenaAccountHandler.java:192) ~[?:?]
	at org.openhab.binding.gardena.internal.GardenaSmartImpl.onWebSocketError(GardenaSmartImpl.java:358) ~[?:?]
	at org.openhab.binding.gardena.internal.GardenaSmartWebSocket.onError(GardenaSmartWebSocket.java:153) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]
	at org.eclipse.jetty.websocket.common.events.annotated.CallableMethod.call(CallableMethod.java:70) ~[?:?]
	at org.eclipse.jetty.websocket.common.events.annotated.OptionalSessionCallableMethod.call(OptionalSessionCallableMethod.java:72) ~[?:?]
	at org.eclipse.jetty.websocket.common.events.JettyAnnotatedEventDriver.onError(JettyAnnotatedEventDriver.java:192) ~[?:?]
	at org.eclipse.jetty.websocket.common.WebSocketSession.callApplicationOnError(WebSocketSession.java:416) ~[?:?]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.close(AbstractWebSocketConnection.java:209) ~[?:?]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onReadTimeout(AbstractWebSocketConnection.java:564) ~[?:?]
	at org.eclipse.jetty.io.AbstractConnection.onFillInterestedFailed(AbstractConnection.java:172) ~[?:?]
	at org.eclipse.jetty.websocket.common.io.AbstractWebSocketConnection.onFillInterestedFailed(AbstractWebSocketConnection.java:539) ~[?:?]
	at org.eclipse.jetty.io.AbstractConnection$ReadCallback.failed(AbstractConnection.java:317) ~[?:?]
	at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:140) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillableFail(SslConnection.java:576) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection.onFillInterestedFailed(SslConnection.java:404) ~[?:?]
	at org.eclipse.jetty.io.ssl.SslConnection$2.failed(SslConnection.java:167) ~[?:?]
	at org.eclipse.jetty.io.FillInterest.onFail(FillInterest.java:140) ~[?:?]
	at org.eclipse.jetty.io.AbstractEndPoint.onIdleExpired(AbstractEndPoint.java:407) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.checkIdleTimeout(IdleTimeout.java:171) ~[?:?]
	at org.eclipse.jetty.io.IdleTimeout.idleCheck(IdleTimeout.java:113) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) [?:?]
	at java.util.concurrent.FutureTask.run(FutureTask.java:264) [?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304) [?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2021-06-01 18:50:14.461 [INFO ] [cript.LanMower: MaehrlinOfflineCheck] - Mährlin ist ONLINE


2021-06-01 22:06:53.543 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
	at java.lang.Thread.start0(Native Method) ~[?:?]
	at java.lang.Thread.start(Thread.java:798) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1343) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.performPresenceDetection(PresenceDetection.java:352) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.lambda$10(PresenceDetection.java:605) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2021-06-01 22:06:53.552 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
	at java.lang.Thread.start0(Native Method) ~[?:?]
	at java.lang.Thread.start(Thread.java:798) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1343) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.performPresenceDetection(PresenceDetection.java:352) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.lambda$10(PresenceDetection.java:605) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]
2021-06-01 22:06:53.555 [WARN ] [mmon.WrappedScheduledExecutorService] - Scheduled runnable ended with an exception: 
java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
	at java.lang.Thread.start0(Native Method) ~[?:?]
	at java.lang.Thread.start(Thread.java:798) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:1343) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.performPresenceDetection(PresenceDetection.java:352) ~[?:?]
	at org.openhab.binding.network.internal.PresenceDetection.lambda$10(PresenceDetection.java:605) ~[?:?]
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) ~[?:?]
	at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:305) ~[?:?]
	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:305) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) [?:?]
	at java.lang.Thread.run(Thread.java:829) [?:?]

And in the system journal:

Jun 01 22:06:51 kopf kernel: cgroup: fork rejected by pids controller in /system.slice/openhab.service
Jun 01 22:06:52 kopf karaf[31852]: [1390343,197s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 2048k, guardsize: 0k, detached.
Jun 01 22:06:52 kopf karaf[31852]: [1390343,303s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 2048k, guardsize: 0k, detached.
Jun 01 22:06:53 kopf karaf[31852]: [1390344,772s][warning][os,thread] Failed to start thread - pthread_create failed (EAGAIN) for attributes: stacksize: 2048k, guardsize: 0k, detached.


Jun 01 22:17:10 kopf karaf[31852]: Exception in thread "OH-common-72604" java.lang.OutOfMemoryError: unable to create native thread: possibly out of memory or process/resource limits reached
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.lang.Thread.start0(Native Method)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.lang.Thread.start(Thread.java:798)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.util.concurrent.ThreadPoolExecutor.addWorker(ThreadPoolExecutor.java:937)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.util.concurrent.ThreadPoolExecutor.processWorkerExit(ThreadPoolExecutor.java:1005)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
Jun 01 22:17:10 kopf karaf[31852]:         at java.base/java.lang.Thread.run(Thread.java:829)

Due to the lack of threads several parts stopped working (e.g. zwave binding, exec things) while others remained working.

Hi @usambara, how did you get the info for that chart? Which binding did you use? I had a similar issue (but don’t have gardena) but don’t have a place to see threads over time. Thanks

Hi,

it’s from the systeminfo binding:
Number num_Server_CPU_Threads "Number of Threads [%d]" {channel="systeminfo:computer:kopf:cpu#threads"}

I’ve got that binding but for some reason that channel is not there, doesn’t exist. I haven’t done file configs, have been using the UI. In theory it should be possible to configure all through the UI, but it seems reality is different.

I think you need to enable "show advanced on the top right of the channels.