HA dies for while and then comes alive


My installation has been working flawlessly for years, from a stability perspective.
But the last couple of days it have started to die on me for just a few seconds. The logs doesn’t give me much, just timeouts to different API’s. But today I saw something that might mean something to someone in the console (I’m running HA Supervised in a VMware Player on Windows):
Out of memory: Killed process 4867 (node) total-vm:4201992kB, anon-rss… and so on.
But the machine is not out of memory, 1127048K was free. Disk is not full and guest OS is also feeling fine.

What can I look for?

This is what the log says at the time of the crash (17:22)

2024-04-04 17:22:48.421 WARNING (MainThread) [hass_nabucasa.iot] Connection closed: Cannot write to closing transport

2024-04-04 17:22:48.438 ERROR (MainThread) [tibber.realtime] Watchdog: Connection is down, 2024-04-04 17:22:58.438413

2024-04-04 17:22:48.666 WARNING (MainThread) [hass_nabucasa.google_report_state] Connection closed: Cannot write to closing transport

2024-04-04 17:22:48.700 ERROR (MainThread) [tibber.websocker_transport] No data received from Tibber for 90 seconds

2024-04-04 17:22:48.711 WARNING (MainThread) [aioesphomeapi.connection] poolnode @ Connection error occurred: poolnode @ EOF received

2024-04-04 17:22:48.712 WARNING (MainThread) [aioesphomeapi.connection] garagedoor @ Connection error occurred: garagedoor @ EOF received

2024-04-04 17:22:49.139 WARNING (MainThread) [homeassistant.helpers.frame] Detected that custom integration 'eufy_security' accesses hass.components.persistent_notification. This is deprecated and will stop working in Home Assistant 2024.9, it should be updated to import functions used from persistent_notification directly at custom_components/eufy_security/coordinator.py, line 105: self.hass.components.persistent_notification.create(f"Connection to Eufy Security add-on is broken, retrying in background!", title="Eufy Security - Error", notification_id="eufy_security_addon_connection_error"), please create a bug report at https://github.com/fuatakgun/eufy_security/issues

2024-04-04 17:22:49.189 ERROR (MainThread) [homeassistant.components.xbox] Error requesting xbox data: [Errno 104] Connection reset by peer

2024-04-04 17:22:49.232 WARNING (MainThread) [gql.transport.websockets] Ignoring exception in _clean_close: ConnectionClosedError(None, None, None)

2024-04-04 17:22:49.312 ERROR (MainThread) [tibber.home] Error in rt_subscribe

Traceback (most recent call last):

File "/usr/local/lib/python3.12/site-packages/tibber/home.py", line 439, in _start

async for data in self._tibber_control.realtime.sub_manager.session.subscribe(

File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1475, in subscribe

async for result in inner_generator:

File "/usr/local/lib/python3.12/site-packages/gql/client.py", line 1372, in _subscribe

async for result in inner_generator:

File "/usr/local/lib/python3.12/site-packages/gql/transport/websockets_base.py", line 388, in subscribe

answer_type, execution_result = await listener.get()


File "/usr/local/lib/python3.12/site-packages/gql/transport/websockets_base.py", line 56, in get

raise item

gql.transport.exceptions.TransportClosed: Tibber websocket closed by HomeAssistant/2024.4.0 aiohttp/3.9.3 Python/3.12 pyTibber/0.28.2

2024-04-04 17:22:50.725 ERROR (DbWorker_0) [homeassistant] Error doing job: Task exception was never retrieved

Traceback (most recent call last):

File "/usr/local/lib/python3.12/site-packages/aiohttp/web_protocol.py", line 524, in start

request = self._request_factory(message, payload, self, writer, handler)


File "/usr/local/lib/python3.12/site-packages/aiohttp/web_app.py", line 485, in _make_request

return _cls(


File "/usr/local/lib/python3.12/site-packages/aiohttp/web_request.py", line 825, in __init__

super().__init__(*args, **kwargs)

File "/usr/local/lib/python3.12/site-packages/aiohttp/web_request.py", line 195, in __init__

assert transport is not None


2024-04-04 17:23:28.441 WARNING (MainThread) [pysignalr.transport] Connection closed: sent 1011 (internal error) keepalive ping timeout; no close frame received

2024-04-04 17:23:28.443 WARNING (MainThread) [py.warnings] /usr/local/lib/python3.12/site-packages/pyeasee/easee.py:247: RuntimeWarning: coroutine 'Easee._sr_connect' was never awaited


2024-04-04 17:24:18.687 ERROR (MainThread) [snitun.multiplexer.core] Ping fails, no response from peer

Hi, I have been struggling for some days as well with similar behavior. Currently, it looks like disabling Z-Wave JS integration helps to keep down CPU and RAM usage.