[solved by installling 2022.4.2] 2022.4(.1) upgrade: from superstable to not so

My system has been rock solid until this new release: it crashes multiple times daily, no difference between the .0 & .1 version.

I have cleaned up some stuff from my yaml files after the first fail but to no avail.
Restarting the home assistant service ‘solves’ it until the next crash.
Here is what I have in the log + some output from the status of the service:

2022-04-08 14:23:35 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-08 14:23:35 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-04-08 14:23:35 WARNING (Recorder) [homeassistant.components.recorder.util] The system could not validate that the sqlite3 database at //home/homeassistant/.homeassistant/home-assistant_v2.db was shutdown cleanly
2022-04-08 14:23:35 WARNING (Recorder) [homeassistant.components.recorder.util] Ended unfinished session (id=74 from 2022-04-08 07:53:25.997193)
2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Automatic' for knx integration not ready yet: No Gateways found; Retrying in background
2022-04-08 14:23:41 ERROR (MainThread) [homeassistant.components.camera.img_util] Error loading libturbojpeg; Cameras may impact HomeKit performance
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.9/site-packages/homeassistant/components/camera/img_util.py", line 96, in __init__
TurboJPEGSingleton.__instance = TurboJPEG()
File "/srv/homeassistant/lib/python3.9/site-packages/turbojpeg.py", line 298, in __init__
self.__find_turbojpeg() if lib_path is None else lib_path)
File "/srv/homeassistant/lib/python3.9/site-packages/turbojpeg.py", line 907, in __find_turbojpeg
raise RuntimeError(
RuntimeError: Unable to locate turbojpeg library automatically. You may specify the turbojpeg library path manually.
e.g. jpeg = TurboJPEG(lib_path)
2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template '{{ (states('sensor.sagem_internet_gateway_device_b_received') | int / 1000) | round(1) }}' but no default was specified. Currently 'int' will return '0', however this template will fail to render in Home Assistant core 2022.1
2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template '{{ (states('sensor.sagem_internet_gateway_device_b_received') | int / 1000) | round(1) }}' but no default was specified. Currently 'int' will return '0', however this template will fail to render in Home Assistant core 2022.1
2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template '{{ (states('sensor.sagem_internet_gateway_device_b_sent') | int / 1000) | round(1) }}' but no default was specified. Currently 'int' will return '0', however this template will fail to render in Home Assistant core 2022.1
2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template '{{ (states('sensor.sagem_internet_gateway_device_b_sent') | int / 1000) | round(1) }}' but no default was specified. Currently 'int' will return '0', however this template will fail to render in Home Assistant core 2022.1
2022-04-08 14:23:48 WARNING (MainThread) [homeassistant.components.automation.mediaplayers_wake_up] Livingroom: Mediaplayers Wake-up: Already running
2022-04-08 14:23:48 WARNING (MainThread) [homeassistant.components.automation.mediaplayers_wake_up] Livingroom: Mediaplayers Wake-up: Already running
sudo systemctl status homeassistant.service
* homeassistant.service - Home Assistant
     Loaded: loaded (/etc/systemd/system/homeassistant.service; enabled; vendor preset: enabled)
     Active: failed (Result: signal) since Fri 2022-04-08 03:44:59 UTC; 3h 31min ago
    Process: 8539 ExecStart=/srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant (code=killed, signal=KILL)
   Main PID: 8539 (code=killed, signal=KILL)
        CPU: 26min 2.779s

Apr 07 21:54:28 hass hass[8539]: 2022-04-07 21:54:28 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Bedroom: Controller - IK>
Apr 07 21:54:28 hass hass[8539]: 2022-04-07 21:54:28 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Error while executing au>
Apr 07 23:24:16 hass hass[8539]: 2022-04-07 23:24:16 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Bedroom: Controller - IK>
Apr 07 23:24:16 hass hass[8539]: 2022-04-07 23:24:16 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Bedroom: Controller - IK>
Apr 07 23:24:16 hass hass[8539]: 2022-04-07 23:24:16 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Bedroom: Controller - IK>
Apr 07 23:24:16 hass hass[8539]: 2022-04-07 23:24:16 ERROR (MainThread) [homeassistant.components.automation.controller_ikea_e1744_symfonisk_rotary_remote_slk] Error while executing au>
Apr 08 03:44:59 hass systemd[1]: homeassistant.service: Main process exited, code=killed, status=9/KILL
Apr 08 03:44:59 hass systemd[1]: homeassistant.service: Killing process 8565 (rtsp2webrtc_v5_) with signal SIGKILL.
Apr 08 03:44:59 hass systemd[1]: homeassistant.service: Failed with result 'signal'.
Apr 08 03:44:59 hass systemd[1]: homeassistant.service: Consumed 26min 2.779s CPU time.
sudo systemctl status homeassistant.service
* homeassistant.service - Home Assistant
     Loaded: loaded (/etc/systemd/system/homeassistant.service; enabled; vendor preset: enabled)
     Active: active (running) since Fri 2022-04-08 14:23:34 UTC; 26s ago
   Main PID: 33918 (hass)
      Tasks: 32 (limit: 18992)
     Memory: 184.5M
        CPU: 8.773s
     CGroup: /system.slice/homeassistant.service
             |-33918 /srv/homeassistant/bin/python3 /srv/homeassistant/bin/hass -c /home/homeassistant/.homeassistant
             `-33937 /home/homeassistant/.homeassistant/rtsp2webrtc_v5_amd64 {"server":{"http_port":"localhost:8083","ice_servers":["stun:stun.l.google.com:19302"]},"streams":{}}

Apr 08 14:23:41 hass hass[33918]:   File "/srv/homeassistant/lib/python3.9/site-packages/turbojpeg.py", line 907, in __find_turbojpeg
Apr 08 14:23:41 hass hass[33918]:     raise RuntimeError(
Apr 08 14:23:41 hass hass[33918]: RuntimeError: Unable to locate turbojpeg library automatically. You may specify the turbojpeg library path manually.
Apr 08 14:23:41 hass hass[33918]: e.g. jpeg = TurboJPEG(lib_path)
Apr 08 14:23:41 hass hass[33918]: 2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template >
Apr 08 14:23:41 hass hass[33918]: 2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template >
Apr 08 14:23:41 hass hass[33918]: 2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template >
Apr 08 14:23:41 hass hass[33918]: 2022-04-08 14:23:41 WARNING (MainThread) [homeassistant.helpers.template] Template warning: 'int' got invalid input 'unknown' when rendering template >
Apr 08 14:23:48 hass hass[33918]: 2022-04-08 14:23:48 WARNING (MainThread) [homeassistant.components.automation.mediaplayers_wake_up] Livingroom: Mediaplayers Wake-up: Already running
Apr 08 14:23:48 hass hass[33918]: 2022-04-08 14:23:48 WARNING (MainThread) [homeassistant.components.automation.mediaplayers_wake_up] Livingroom: Mediaplayers Wake-up: Already running

Hi :wave:!
I think with that RuntimeError you should raise an issue on GitHub at the camera integration in homeassistant/core (if there is not already one).
You may use the link provided here: Open your Home Assistant instance and show your Home Assistant version information.

Hi Matthias, thank you very much for helping!
I didn’t have a clue on how to proceed with this but now I reported it.

Have a nice day/weekend!

As a tip: If you strive for maximum stability never jump on a .0 or .1 version!
Better wait for the most nagging bugs to be fixed. I usually wait for version .3 or .4 of any new monthly release…

Hi Andreas, thank you for that tip and you’re right that on a new release is always a risk.
Until now, I never had any stability issues since starting with HA about 2y ago.

I could revert back to 2022.3 and depending on how much it takes to solve this, I might do that.

EDIT: reason for this was a memory leak.
Solved by installing 2022.4.2