I'm running frigate on my Ubuntu LXC on Proxmox for a while now with almost no issues. Lately however, I've noticed that I'd get really bad memory leaks that would come from the ffmpeg stream from my camera. To the point where it would crash all other docker containers on the LXC and I'd have to reboot the entire thing. Not sure if my configuration is bad or there's an issue with the camera. Here is my config:
ffmpeg:
hwaccel_args: preset-vaapi
cameras:
front:
objects:
track:
- person
- cat
enabled: true
ffmpeg:
#hwaccel_args: preset-vaapi
output_args:
record: preset-record-generic-audio-aac
inputs:
- path: rtsp://127.0.0.1:8554/front_main
input_args: preset-rtsp-restream
# hwaccel_args: preset-vaapi
roles:
- record
- path: rtsp://127.0.0.1:8554/front_main
#hwaccel_args: preset-intel-qsv-h265
input_args: preset-rtsp-restream
roles:
- detect
detect:
enabled: true
width: 1296
height: 972
live:
stream_name: front_sub
record:
expire_interval: 60
retain:
days: 0
mode: all
events:
pre_capture: 5
post_capture: 5
objects:
- person
- cat
retain:
default: 7
mode: motion
go2rtc:
streams:
front_main:
- rtsp://admin:redacted!@192.168.1.3:554/cam/realmonitor?channel=1&subtype=0
- ffmpeg:front_main#audio=opus
front_sub:
- rtsp://admin:redacted!@192.168.1.3:554/cam/realmonitor?channel=1&subtype=1
- ffmpeg:front_sub#audio=opus
webrtc:
candidates:
- 192.168.1.2:8555