#Sure
1 messages · Page 1 of 1 (latest)
@haughty shadow Found out that it appears to be my 24/7 record streams that are doing this. I can send my config if that helps, maybe I'm doing something wrong.
what do you mean it is your 24/7 record streams?
nevermind it loaded the convo now
what makes you think that is the case?
top command inside the container showed this:
1604 root 20 0 5.4g 0.2g 0.0g S 2.0 0.1 11:18.93 frigate.capture:front_ne_24_7_record
1614 root 20 0 5.4g 0.2g 0.0g S 1.3 0.1 10:55.39 frigate.capture:garage_24_7_record
1630 root 20 0 5.4g 0.2g 0.0g S 2.0 0.1 10:48.33 frigate.capture:back_porch_24_7_record
They're not doing it now, but I did change a config, and when I reboot frigate, it will drop ram utilization for a tiny bit. They were showing 6-7g RES memory each, and 7-8% of overall host mem utilization each.
I'll see if it happens again and send an update.
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1614 root 20 0 13.6g 8.4g 0.0g S 1.7 6.7 20:33.73 frigate.capture:garage_24_7_record
1630 root 20 0 13.3g 8.1g 0.0g S 1.7 6.4 20:28.26 frigate.capture:back_porch_24_7_record
1604 root 20 0 10.7g 5.5g 0.0g S 2.0 4.3 18:54.61 frigate.capture:front_ne_24_7_record
Yup, doing it again.
###################
# Global NVIDIA decoding Settings (H264)
###################
ffmpeg:
hwaccel_args: -c:v h264_cuvid
input_args:
- -avoid_negative_ts
- make_zero
go2rtc:
streams:
front_ne:
- http://10.0.4.2/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
- ffmpeg:front_ne#audio=opus
front_ne_sub:
- http://10.0.4.2/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
garage:
- http://10.0.4.3/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
- ffmpeg:garage#audio=opus
garage_sub:
- http://10.0.4.3/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
back_porch:
- http://10.0.4.4/flv?port=1935&app=bcs&stream=channel0_main.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
- ffmpeg:garage#audio=opus
back_porch_sub:
- http://10.0.4.4/flv?port=1935&app=bcs&stream=channel0_ext.bcs&user=viewer&password={FRIGATE_RTSP_PASSWORD}
####################################
# Front NE Camera - 24/7 Recording
####################################
front_ne_24_7_record:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/front_ne_sub?video=copy
input_args: preset-rtsp-restream
roles:
- record
record:
enabled: true
retain: # 24/7 Recording
days: 20
mode: all
detect:
enabled: false
snapshots:
enabled: false
#################################
# Garage Camera - 24/7 Recording
#################################
garage_24_7_record:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/garage_sub?video=copy
input_args: preset-rtsp-restream
roles:
- record
record:
enabled: true
retain: # 24/7 Recording
days: 20
mode: all
detect:
enabled: false
snapshots:
enabled: false
####################################
# Back Porch Camera - 24/7 Recording
####################################
back_porch_24_7_record:
ffmpeg:
inputs:
- path: rtsp://127.0.0.1:8554/back_porch_sub?video=copy
input_args: preset-rtsp-restream
roles:
- record
record:
enabled: true
retain: # 24/7 Recording
days: 20
mode: all
detect:
enabled: false
snapshots:
enabled: false
I see some issues here, definitely recommend using the Nvidia preset instead of manual hwaccel args and also https://docs.frigate.video/configuration/camera_specific#reolink-cameras should be used for reolink cameras.