Trying to figure out how to increase the SMZ size for Frigate app running it ZimaOS+.
I have tried from Frigate forum instructions but can’t find where to do in ZimaOS.
In your docker yaml for frigate. I have it setup as follows:
name: frigate
services:
frigate:
cpu_shares: 90
command:
container_name: frigate
deploy:
resources:
limits:
memory: 8197627904
reservations:
devices:
devices:
- /dev/bus/usb:/dev/bus/usb
- /dev/apex_0:/dev/apex_0
- /dev/dri/renderD128:/dev/dri/renderD128
environment:
- FRIGATE_RTSP_PASSWORD=
image: ghcr.io/blakeblackshear/frigate:stable
labels:
ports:
- target: 8554
published: “8554”
protocol: tcp
- target: 8555
published: “8555”
protocol: tcp
- target: 8555
published: “8555”
protocol: udp
- target: 8971
published: “8971”
protocol: tcp
privileged: true
restart: unless-stopped
shm_size: “268435456”
stop_grace_period: 30s
volumes:
- type: bind
source: /etc/localtime
target: /etc/localtime
- type: bind
source: /DATA/AppData/frigate/config
target: /config
- type: bind
source: /media/storage1/frigate
target: /media/frigate
- type: tmpfs
target: /tmp/cache
tmpfs:
size: “1000000000”
cap_add:
network_mode: bridge
x-casaos:
author: self
category: self
hostname: “”
index: /
is_uncontrolled: false
port_map: “8971”
scheme: https
store_app_id: frigate
title:
custom: “”
en_us: frigate
Sorry for the messed up layout, I’m pasting this from my phone. Note the shm_size tag. Put that in your own yaml and configure to your needs.