From 6e9362ba722ef83d52a46cbef36f4ba324c81ccf Mon Sep 17 00:00:00 2001 From: Felipe Santos Date: Mon, 16 Jan 2023 22:46:36 -0300 Subject: [PATCH] Add note about default shm size for add-ons --- docs/docs/frigate/installation.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/docs/frigate/installation.md b/docs/docs/frigate/installation.md index 90859fea7..df481e7c8 100644 --- a/docs/docs/frigate/installation.md +++ b/docs/docs/frigate/installation.md @@ -95,7 +95,8 @@ $ python -c 'print("{:.2f}MB".format(((1280 * 720 * 1.5 * 9 + 270480) / 1048576) 126.99MB ``` -The shm size cannot be set per container for Home Assistant Addons. You must set `default-shm-size` in `/etc/docker/daemon.json` to increase the default shm size. This will increase the shm size for all of your docker containers. This may or may not cause issues with your setup. https://docs.docker.com/engine/reference/commandline/dockerd/#daemon-configuration-file +The shm size cannot be set per container for Home Assistant add-ons. However, this is probably not required since by default Home Assistant Supervisor shares the host `/dev/shm` with all add-ons. Usuallly the host `/dev/shm` has half the size of your total memory, so if your machine has 8GB of memory, chances are that Frigate will have access to up to 4GB there without any additional configuration. + ### Raspberry Pi 3/4