[Support]: Recent Beta Error - OSError: [Errno 24] Too many open files: #15704
-
Describe the problem you are havingThanks for the amazing work on Frigate! When I try to run 0.15.0 Beta 4 I get errors including: "OSError: [Errno 24] Too many open files:" and the container won't start. 0.15.0 Beta 1 works fine with no errors. Version0.15.0 Beta 4 What browser(s) are you using?No response Frigate config filemqtt:
host: 192.168.50.53
detectors:
coral_pci:
type: edgetpu
device: pci:0
# coral_usb:
# type: edgetpu
# device: usb
ffmpeg:
#hwaccel_args: preset-vaapi
hwaccel_args: preset-intel-qsv-h264
#go2rtc:
# streams:
# bldg1_cam1:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.225:554/cam/realmonitor?channel=1&subtype=2
# bldg1_cam2:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=4&subtype=1
# bldg1_cam3:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=7&subtype=2
# bldg1_cam4:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=10&subtype=1
# bldg1_cam5:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=9&subtype=1
# bldg1_cam6:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=8&subtype=2
# bldg1_cam7:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=6&subtype=2
# bldg1_cam8:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=5&subtype=2
# bldg1_cam9:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=3&subtype=1
# bldg1_cam10:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=2&subtype=1
# bldg2_cam1:
# - rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
# bldg3_cam1:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=12&subtype=1
# bldg3_cam2:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=8&subtype=1
# bldg3_cam3:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=5&subtype=1
# bldg3_cam4:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=13&subtype=1
# bldg3_cam5:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=14&subtype=1
# bldg3_cam5b:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=7&subtype=1
# bldg3_cam6:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=6&subtype=1
# bldg3_cam7:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=2&subtype=1
# bldg3_cam10:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=10&subtype=1
# bldg3_ptz:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.122:554/cam/realmonitor?channel=1&subtype=2
# bldg3_cam8:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=11&subtype=1
# bldg3_cam9:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=9&subtype=1
# bldg4_cam1:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=1&subtype=1
# bldg4_cam2:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=4&subtype=1
# bldg4_cam3:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=3&subtype=1
# bldg4_cam4:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=5&subtype=1
# bldg4_cam5:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=6&subtype=1
# bldg4_cam6:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=8&subtype=1
# bldg4_cam7:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=2&subtype=1
# bldg4_cam8:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=7&subtype=1
# bldg5_cam1:
# - rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.232:554/cam/realmonitor?channel=1&subtype=2
cameras:
bldg1_cam1:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.225:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.225:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 1920
height: 1080
fps: 5
motion:
mask: 0,0.322,0.191,0.222,0.422,0.181,0.62,0.27,0.691,0.273,1,0.523,1,0,0,0
threshold: 42
contour_area: 10
improve_contrast: 'true'
zones:
GateKeyPad:
coordinates: 0.524,0.096,0.499,0.283,0.743,0.269,0.748,0.164
loitering_time: 10
inertia: 3
objects:
mask: 0,0,0,0.202,0.592,0.103,1,0.283,1,0,0.591,0,0.272,0
bldg1_cam2:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=4&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=4&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask: 0,0.679,0.643,0.217,0.88,0.081,1,0.081,1,0,0,0
objects:
filters:
car:
mask: 0.001,0.004,0.002,0.685,0.693,0.187,0.997,-0.001
bldg1_cam3:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=7&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=7&subtype=0
roles:
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 1,0.082,1,0,0,0,0,0.753,0.805,0.096
- 0.877,0.098,0.833,1,1,1,0.997,0.083
bldg1_cam4:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=10&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=10&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 1,0.564,1,0,0,0,0.473,0.199
- 0,0,0,1,0.133,1,0.037,0.011
objects:
filters:
car:
mask: 0.003,0.001,0.999,-0.001,1,0.53,0.571,0.219
bldg1_cam5:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=9&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=9&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 1,0.446,1,0,0,0,0,0.183,0.274,0.159,0.315,0.078
- 0,0.769,0,1,0.064,0.994,0.025,0.853
threshold: 35
contour_area: 14
improve_contrast: 'true'
objects:
filters:
car:
mask: 0.003,0.006,0.999,0.001,0.999,0.436,0.315,0.078,0.005,0.179
bldg1_cam6:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=8&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=8&subtype=0
roles:
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 1,0.081,1,0,0,0,0,0.523,0.643,0.111
- 0.765,0.099,0.685,1,0.999,0.997,1,0.086
bldg1_cam7:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=6&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=6&subtype=0
roles:
- record
detect:
width: 1920
height: 1080
fps: 5
motion:
mask: 0,0,0.181,0.087,1,0.372,1,0.088,1,0
bldg1_cam8:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=5&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=5&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,0,0.599,0.505,0.256,0.984,0.09,1,0
- 0.961,0.094,0.799,0.997,0.997,0.997,1,0.012
bldg1_cam9:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=3&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=3&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.002,0,1,0,1,0.648,0.429,0.306,0,0.101
- 0,0.319,0.093,0.994,0.001,0.996
bldg1_cam10:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=2&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.141:554/cam/realmonitor?channel=2&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
0,0,0,0.603,0.247,0.381,0.207,0.064,0.29,0.048,0.548,0.054,0.759,0.061,1,0.094,1,0,0.261,0.006
bldg2_cam1:
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://admin:[email protected]:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 1280
height: 720
fps: 5
motion:
mask:
- 0.002,0.005,0.789,0,0.814,0.106,0.425,0.272,0,0.594
- 0.791,0,0.815,0.098,0.924,0.147,0.921,0
- 0.922,0,0.915,0.354,0.81,1,1,1,0.999,0.007
bldg3_ptz:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.122:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.122:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 1920
height: 1080
fps: 5
motion:
mask: 0,0.79,1,0.812,1,0,0,0
onvif:
host: 192.168.50.122
port: 80
user: alarm
password: '{FRIGATE_RTSP_PWD}'
ignore_time_mismatch: true
autotracking:
# Optional: enable/disable object autotracking. (default: shown below)
enabled: false
# Optional: calibrate the camera on startup (default: shown below)
# A calibration will move the PTZ in increments and measure the time it takes to move.
# The results are used to help estimate the position of tracked objects after a camera move.
# Frigate will update your config file automatically after a calibration with
# a "movement_weights" entry for the camera. You should then set calibrate_on_startup to False.
calibrate_on_startup: false
# Optional: the mode to use for zooming in/out on objects during autotracking. (default: shown below)
# Available options are: disabled, absolute, and relative
# disabled - don't zoom in/out on autotracked objects, use pan/tilt only
# absolute - use absolute zooming (supported by most PTZ capable cameras)
# relative - use relative zooming (not supported on all PTZs, but makes concurrent pan/tilt/zoom movements)
zooming: relative
# Optional: A value to change the behavior of zooming on autotracked objects. (default: shown below)
# A lower value will keep more of the scene in view around a tracked object.
# A higher value will zoom in more on a tracked object, but Frigate may lose tracking more quickly.
# The value should be between 0.1 and 0.75
zoom_factor: 0.35
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- car
- motorcycle
# Required: Begin automatically tracking an object when it enters any of the listed zones.
required_zones:
- zone_0
# Required: Name of ONVIF preset in camera's firmware to return to when tracking is over. (default: shown below)
return_preset: PortaPotty
# Optional: Seconds to delay before returning to preset. (default: shown below)
timeout: 90
# Optional: Values generated automatically by a camera calibration. Do not modify these manually. (default: shown below)
movement_weights: 0.03, 1.0, 1.1259276866912842, 1.3939672230560107, 0.11308844658451546
# ignore_time_mismatch: true
zones:
zone_0:
coordinates: 0,1080,1920,1080,1920,350,0,364
review:
alerts:
required_zones: zone_0
bldg3_cam1:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=12&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=12&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
0.897,0.532,1,0.56,1,0,0,0,0,0.646,0.242,0.548,0.695,0.335,0.859,0.304,0.805,0.343,0.802,0.41,0.825,0.49
bldg3_cam1b:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.121:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.121:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 1920
height: 1080
fps: 5
motion:
mask: 0,0,1,0,1,0.167,0.467,0.124,0.196,0.214,0,0.301
bldg3_cam2:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=8&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=8&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.748,0.194,1,0.344,1,0,0.672,0
- 0,0.194,0.389,0,0,0
bldg3_cam3:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=5&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=5&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 1,0.052,1,1,0.734,0.991,0.732,0.947,0.895,0.543,0.924,0.555
- 0,0,0,0.341,0.284,0.189,0.537,0.098,0.931,0.031,0.929,0
bldg3_cam4:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=13&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=13&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.003,0.006,0.002,0.996,0.174,0.996,0.066,0.003
- 1,0.41,1,0,0.364,0.003,0.781,0.237
bldg3_cam5:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=14&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=14&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.003,0.004,0.004,0.989,0.183,0.996,0.056,0.004
- 1,0,1,0.207,0.365,0
bldg3_cam5b:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=7&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=7&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.988,0.984,0.99,0.93,0.685,0.932,0.684,0.983
- 0.952,0,0.915,0.413,0.8,1,1,1,1,0.003
- 0,0,0,0.245,0.635,0
bldg5_cam1:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.232:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.232:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 1920
height: 1080
motion:
mask:
- 1,0,1,0.549,0.493,0.235,0.412,0.157,0.305,0.124,0.229,0.109,0,0.16,0,0
- 0.891,0.179,1,0.623,1,0.177
- 0.219,1,0.002,0.997,0.002,0.007,0.124,0.13,0.154,0.515
bldg3_cam6:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=6&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=6&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask: 1,0.113,1,0,0,0,0,0.209,1,0.389
bldg3_cam7:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=2&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=2&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 1,0.052,1,1,0.734,0.991,0.732,0.947,0.895,0.543,0.924,0.555
- 0,0,0,0.341,0.284,0.189,0.537,0.098,0.931,0.031,0.929,0
bldg3_cam8:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=11&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=11&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,0.771,0,0.506,0.116,0,0.365
- 0.99,0,0.99,0.115,0.899,1,1,0.997
objects:
filters:
person:
min_ratio: 0.2
max_ratio: 0.8
bldg3_cam9:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=9&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=9&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0.014,0,1,0,1,0.303,0.027,0.044
- 0,0,0.002,0.994,0.141,0.994,0.044,0.4,0.033,0
bldg3_cam10:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=10&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.230:554/cam/realmonitor?channel=10&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 475,71,487,0,704,0,704,193
- 0,480,107,480,0,0
bldg4_cam1:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=1&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,0.645,0,1,0,1,0.281
- 0,0.658,0.413,0.327,0.396,0,0,0
- 1,0.419,0.886,1,1,1
bldg4_cam2:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=4&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=4&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0.323,0,0,1,0,1,0.308,0.725,0.27
- 0.852,0.283,0.823,1,1,1,1,0.305
bldg4_cam3:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=3&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=3&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,1,0,1,0.356,0.42,0.316,0,0.346
- 0,1,0.234,1,0.21,0.455,0.264,0,0,0
bldg4_cam4:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=5&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=5&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,1,0,1,0.413,0.488,0.275,0,0.191
- 0,0,0,1,0.107,1,0.092,0.001
bldg4_cam5:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=6&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=6&subtype=0
roles:
- record
detect:
width: 704
height: 576
fps: 5
motion:
mask:
- 704,0,704,172,0,113,0,0
bldg4_cam7:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=2&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=2&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask: 0,0,1,0,1,1,0.785,1,0.838,0.331,0.794,0.287,0.496,0.425,0,0.656
objects:
filters:
person:
mask: 0.792,1,1,1,1,0,0.862,0
bldg4_cam6:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=8&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=8&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0.577,1,0.223,1,0,0,0
- 0.871,0,0.855,0.415,0.795,0.991,1,0.993,0.999,-0.001
objects:
filters:
person:
mask: 0.797,1,1,1,1,0,0.86,0,0.861,0.441
bldg4_cam8:
ffmpeg:
inputs:
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=7&subtype=1
roles:
- detect
- path: rtsp://alarm:{FRIGATE_RTSP_PWD}@192.168.50.68:554/cam/realmonitor?channel=7&subtype=0
roles:
- record
detect:
width: 704
height: 480
fps: 5
motion:
mask:
- 0,0,1,0,1,0.506,0.378,0.186,0.168,0.16
- 0,0.006,0.001,0.994,0.281,0.997,0.136,0.003
objects:
filters:
person:
mask: 0,1,0.283,1,0.134,0,0,0
objects:
# Optional: list of objects to track from labelmap.txt (default: shown below)
track:
- person
- car
- face
- motorcycle
- license_plate
- dog
filters:
dog:
min_score: .7
threshold: .9
face:
min_score: .7
license_plate:
min_score: .6
person:
min_score: .65
threshold: .85
car:
min_score: .65
threshold: .85
snapshots: # <----- Enable snapshots
enabled: true
record:
enabled: true
retain:
days: 10
mode: motion
alerts:
retain:
days: 90
detections:
retain:
days: 90
model:
# Optional: path to the model (default: automatic based on detector)
path: plus://aa9d3b37715854622bcbbc025f79574b
# Optional: Number of days to retain (default: shown below)
# retain_days: 0
# Optional: Event recording settings
# events:
# Optional: Enable event recording retention settings (default: shown below)
# enabled: True
# Optional: Maximum length of time to retain video during long events. (default: shown below)
# NOTE: If an object is being tracked for longer than this amount of time, the cache
# will begin to expire and the resulting clip will be the last x seconds of the event unless retain_days under record is > 0.
#max_seconds: 300
# Optional: Number of seconds before the event to include (default: shown below)
# pre_capture: 5
# # Optional: Number of seconds after the event to include (default: shown below)
# post_capture: 5
# # Optional: Objects to save recordings for. (default: all tracked objects)
# #objects:
# # Optional: Restrict recordings to objects that entered any of the listed zones (default: no required zones)
# required_zones: []
# # Optional: Retention settings for events
# retain:
# # Required: Default retention days (default: shown below)
# default: 10
# # Optional: Per object retention days
# objects:
# person: 10
semantic_search:
enabled: true
reindex: false
model_size: small
version: 0.15-0
logger:
logs:
frigate.record.maintainer: debug Relevant Frigate log outputs6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service s6rc-fdholder successfully started
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service log-prepare: starting
s6-rc: info: service log-prepare successfully started
s6-rc: info: service nginx-log: starting
s6-rc: info: service go2rtc-log: starting
s6-rc: info: service frigate-log: starting
s6-rc: info: service certsync-log: starting
s6-rc: info: service nginx-log successfully started
s6-rc: info: service go2rtc-log successfully started
s6-rc: info: service go2rtc: starting
s6-rc: info: service frigate-log successfully started
s6-rc: info: service certsync-log successfully started
s6-rc: info: service go2rtc successfully started
s6-rc: info: service go2rtc-healthcheck: starting
s6-rc: info: service frigate: starting
s6-rc: info: service go2rtc-healthcheck successfully started
s6-rc: info: service frigate successfully started
s6-rc: info: service nginx: starting
2024-12-27 11:18:38.635171026 [INFO] Preparing new go2rtc config...
2024-12-27 11:18:38.636093845 [INFO] Preparing Frigate...
2024-12-27 11:18:38.636907246 [INFO] Starting NGINX...
2024-12-27 11:18:38.643539801 [INFO] Starting Frigate...
2024-12-27 11:18:38.960433909 [INFO] Starting go2rtc...
2024-12-27 11:18:39.032792771 11:18:39.032 INF go2rtc platform=linux/amd64 revision=b2399f3 version=1.9.2
2024-12-27 11:18:39.032796847 11:18:39.032 INF config path=/dev/shm/go2rtc.yaml
2024-12-27 11:18:39.033005518 11:18:39.032 INF [rtsp] listen addr=:8554
2024-12-27 11:18:39.033061750 11:18:39.033 INF [webrtc] listen addr=:8555/tcp
2024-12-27 11:18:39.033134064 11:18:39.033 INF [api] listen addr=:1984
s6-rc: info: service nginx successfully started
s6-rc: info: service certsync: starting
s6-rc: info: service certsync successfully started
s6-rc: info: service legacy-services: starting
2024-12-27 11:18:39.848085538 [INFO] Starting certsync...
s6-rc: info: service legacy-services successfully started
2024-12-27 11:18:39.959042523 127.0.0.1 - - [27/Dec/2024:11:18:39 -0800] "" 400 0 "-" "-" "-"
2024-12-27 11:18:39.975348256 [2024-12-27 11:18:39] frigate.util.config INFO : Checking if frigate config needs migration...
2024-12-27 11:18:40.059109160 [2024-12-27 11:18:40] frigate.util.config INFO : frigate config does not need migration...
2024-12-27 11:18:40.160703308 [2024-12-27 11:18:40] frigate.app INFO : Starting Frigate (0.15.0-87e7b62)
2024-12-27 11:18:40.187059583 [2024-12-27 11:18:40] peewee_migrate.logs INFO : Starting migrations
2024-12-27 11:18:40.187068504 [2024-12-27 11:18:40] peewee_migrate.logs INFO : There is nothing to migrate
2024-12-27 11:18:40.375626815 2024/12/27 11:18:40 [error] 176#176: *2 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.50.53, server: , request: "GET /api/stats HTTP/1.1", subrequest: "/auth", upstream: "http://127.0.0.1:5001/auth", host: "frigate.olympicstorage.net:5000"
2024-12-27 11:18:40.375637604 2024/12/27 11:18:40 [error] 176#176: *2 auth request unexpected status: 502 while sending to client, client: 192.168.50.53, server: , request: "GET /api/stats HTTP/1.1", host: "frigate.olympicstorage.net:5000"
2024-12-27 11:18:40.393714149 [2024-12-27 11:18:40] frigate.app INFO : Recording process started: 362
2024-12-27 11:18:40.393757185 [2024-12-27 11:18:40] frigate.app INFO : Review process started: 366
2024-12-27 11:18:40.395272711 [2024-12-27 11:18:40] frigate.app INFO : go2rtc process pid: 98
2024-12-27 11:18:40.409664892 [2024-12-27 11:18:40] detector.coral_pci INFO : Starting detection process: 378
2024-12-27 11:18:40.419781660 [2024-12-27 11:18:40] frigate.app INFO : Embedding process started: 380
2024-12-27 11:18:40.419789927 [2024-12-27 11:18:40] frigate.detectors.plugins.edgetpu_tfl INFO : Attempting to load TPU as pci:0
2024-12-27 11:18:40.419804636 [2024-12-27 11:18:40] frigate.detectors.plugins.edgetpu_tfl INFO : TPU found
2024-12-27 11:18:40.427034132 [2024-12-27 11:18:40] frigate.app INFO : Output process started: 415
2024-12-27 11:18:40.527888920 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam1: 486
2024-12-27 11:18:40.538293019 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam2: 499
2024-12-27 11:18:40.547232825 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam3: 513
2024-12-27 11:18:40.555451009 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam4: 522
2024-12-27 11:18:40.565647641 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam5: 537
2024-12-27 11:18:40.577881834 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam6: 553
2024-12-27 11:18:40.590442167 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam7: 574
2024-12-27 11:18:40.603345373 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam8: 581
2024-12-27 11:18:40.616354510 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam9: 595
2024-12-27 11:18:40.628655014 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg1_cam10: 605
2024-12-27 11:18:40.638637380 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg2_cam1: 616
2024-12-27 11:18:40.652074227 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_ptz: 628
2024-12-27 11:18:40.662956020 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam1: 639
2024-12-27 11:18:40.676065387 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam1b: 652
2024-12-27 11:18:40.687261752 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam2: 662
2024-12-27 11:18:40.698637896 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam3: 673
2024-12-27 11:18:40.710615519 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam4: 690
2024-12-27 11:18:40.721605601 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam5: 702
2024-12-27 11:18:40.732994273 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam5b: 711
2024-12-27 11:18:40.744324892 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg5_cam1: 725
2024-12-27 11:18:40.755524591 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam6: 734
2024-12-27 11:18:40.767462817 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam7: 749
2024-12-27 11:18:40.776777823 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam8: 763
2024-12-27 11:18:40.785859177 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam9: 772
2024-12-27 11:18:40.794548974 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg3_cam10: 786
2024-12-27 11:18:40.803856023 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam1: 795
2024-12-27 11:18:40.813050838 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam2: 809
2024-12-27 11:18:40.821648628 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam3: 818
2024-12-27 11:18:40.830713783 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam4: 833
2024-12-27 11:18:40.839941366 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam5: 843
2024-12-27 11:18:40.870560536 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam7: 871
2024-12-27 11:18:40.879142752 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam6: 879
2024-12-27 11:18:40.890666456 [2024-12-27 11:18:40] frigate.app INFO : Camera processor started for bldg4_cam8: 895
2024-12-27 11:18:40.900810168 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam1: 909
2024-12-27 11:18:40.909924041 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam2: 913
2024-12-27 11:18:40.922765400 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam3: 924
2024-12-27 11:18:40.937394900 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam4: 936
2024-12-27 11:18:40.952025035 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam5: 947
2024-12-27 11:18:40.967318154 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam6: 969
2024-12-27 11:18:40.990505595 [2024-12-27 11:18:40] frigate.app INFO : Capture process started for bldg1_cam7: 998
2024-12-27 11:18:41.022506319 [2024-12-27 11:18:41] frigate.app INFO : Capture process started for bldg1_cam8: 1022
2024-12-27 11:18:41.022814048 [2024-12-27 11:18:41] frigate.app INFO : Capture process started for bldg1_cam9: 1053
2024-12-27 11:18:41.025421790 Traceback (most recent call last):
2024-12-27 11:18:41.025426951 File "/usr/lib/python3.9/runpy.py", line 197, in _run_module_as_main
2024-12-27 11:18:41.025427998 return _run_code(code, main_globals, None,
2024-12-27 11:18:41.025428829 File "/usr/lib/python3.9/runpy.py", line 87, in _run_code
2024-12-27 11:18:41.025440013 exec(code, run_globals)
2024-12-27 11:18:41.025441668 File "/opt/frigate/frigate/__main__.py", line 64, in <module>
2024-12-27 11:18:41.025483331 main()
2024-12-27 11:18:41.025484253 File "/opt/frigate/frigate/__main__.py", line 60, in main
2024-12-27 11:18:41.025485443 FrigateApp(config).start()
2024-12-27 11:18:41.025486218 File "/opt/frigate/frigate/app.py", line 610, in start
2024-12-27 11:18:41.025487066 self.start_camera_capture_processes()
2024-12-27 11:18:41.025487964 File "/opt/frigate/frigate/app.py", line 440, in start_camera_capture_processes
2024-12-27 11:18:41.025514870 self.frame_manager.create(f"{config.name}_frame{i}", frame_size)
2024-12-27 11:18:41.025515612 File "/opt/frigate/frigate/util/image.py", line 810, in create
2024-12-27 11:18:41.025517017 File "/opt/frigate/frigate/util/image.py", line 789, in __init__
2024-12-27 11:18:41.025517867 File "/usr/lib/python3.9/multiprocessing/shared_memory.py", line 114, in __init__
2024-12-27 11:18:41.025528705 OSError: [Errno 24] Too many open files
2024-12-27 11:18:41.062172307 Exception in thread Thread-7:
2024-12-27 11:18:41.062180946 Traceback (most recent call last):
2024-12-27 11:18:41.062182707 File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2024-12-27 11:18:41.062183655 self.run()
2024-12-27 11:18:41.062184669 File "/opt/frigate/frigate/video.py", line 195, in run
2024-12-27 11:18:41.062185673 "process": start_or_restart_ffmpeg(c["cmd"], self.logger, logpipe),
2024-12-27 11:18:41.062186679 File "/opt/frigate/frigate/video.py", line 74, in start_or_restart_ffmpeg
2024-12-27 11:18:41.062187537 process = sp.Popen(
2024-12-27 11:18:41.062188555 File "/usr/lib/python3.9/subprocess.py", line 951, in __init__
2024-12-27 11:18:41.062189680 self._execute_child(args, executable, preexec_fn, close_fds,
2024-12-27 11:18:41.062191331 File "/usr/lib/python3.9/subprocess.py", line 1722, in _execute_child
2024-12-27 11:18:41.062192548 errpipe_read, errpipe_write = os.pipe()
2024-12-27 11:18:41.062193354 OSError: [Errno 24] Too many open files
2024-12-27 11:18:41.278476942 Too many open files (src/ipc_listener.cpp:299)
2024-12-27 11:18:41.278497891 Fatal Python error: Aborted
2024-12-27 11:18:41.278498704
2024-12-27 11:18:41.278499591 Thread 0x0000748a0d6006c0 (most recent call first):
2024-12-27 11:18:41.278502565 File "/usr/lib/python3.9/selectors.py", line 416 in select
2024-12-27 11:18:41.278520795 File "/usr/lib/python3.9/multiprocessing/connection.py", line 931 in wait
2024-12-27 11:18:41.278537764 File "/usr/lib/python3.9/multiprocessing/connection.py", line 424 in _poll
2024-12-27 11:18:41.278553078 File "/usr/lib/python3.9/multiprocessing/connection.py", line 257 in poll
2024-12-27 11:18:41.278572286 File "/usr/lib/python3.9/multiprocessing/queues.py", line 113 in get
2024-12-27 11:18:41.278591652 File "/opt/frigate/frigate/object_processing.py", line 792 in run
2024-12-27 11:18:41.278610985 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.278621122 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.278621895
2024-12-27 11:18:41.278625137 Thread 0x0000748a1b4006c0 (most recent call first):
2024-12-27 11:18:41.278643959 File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 261 in wait
2024-12-27 11:18:41.278655959 File "/usr/lib/python3.9/multiprocessing/synchronize.py", line 349 in wait
2024-12-27 11:18:41.278667831 File "/opt/frigate/frigate/ptz/autotrack.py", line 165 in run
2024-12-27 11:18:41.278680827 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.278692812 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.278693423
2024-12-27 11:18:41.278699377 Thread 0x0000748a256006c0 (most recent call first):
2024-12-27 11:18:41.278712329 File "/usr/local/lib/python3.9/dist-packages/zmq/sugar/poll.py", line 156 in select
2024-12-27 11:18:41.278730234 File "/opt/frigate/frigate/comms/inter_process.py", line 34 in read
2024-12-27 11:18:41.278741037 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.278755682 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.278765555 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.278766093
2024-12-27 11:18:41.278768635 Thread 0x0000748a260006c0 (most recent call first):
2024-12-27 11:18:41.278779401 File "/usr/lib/python3.9/selectors.py", line 416 in select
2024-12-27 11:18:41.278797371 File "/usr/lib/python3.9/socketserver.py", line 232 in serve_forever
2024-12-27 11:18:41.278810965 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.278825990 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.278840971 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.278841804
2024-12-27 11:18:41.278846649 Thread 0x0000748a26a006c0 (most recent call first):
2024-12-27 11:18:41.278861890 File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 141 in poll
2024-12-27 11:18:41.278882032 File "/usr/local/lib/python3.9/dist-packages/ws4py/manager.py", line 312 in run
2024-12-27 11:18:41.278894062 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.278914966 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.278917724
2024-12-27 11:18:41.278918421 Thread 0x0000748a274006c0 (most recent call first):
2024-12-27 11:18:41.278933813 File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 1663 in _loop
2024-12-27 11:18:41.278953698 File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 2297 in loop_forever
2024-12-27 11:18:41.278979016 File "/usr/local/lib/python3.9/dist-packages/paho/mqtt/client.py", line 4523 in _thread_main
2024-12-27 11:18:41.278990733 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.279001815 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.279014531 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.279015393
2024-12-27 11:18:41.279019908 Thread 0x0000748a2dc006c0 (most recent call first):
2024-12-27 11:18:41.279028943 File "/opt/frigate/frigate/comms/zmq_proxy.py", line 29 in run
2024-12-27 11:18:41.279040872 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.279054363 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.279055104
2024-12-27 11:18:41.279059688 Thread 0x0000748a3d4006c0 (most recent call first):
2024-12-27 11:18:41.279067436 File "/usr/lib/python3.9/threading.py", line 312 in wait
2024-12-27 11:18:41.279083592 File "/usr/lib/python3.9/queue.py", line 171 in get
2024-12-27 11:18:41.279103933 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 162 in loop
2024-12-27 11:18:41.279125222 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 137 in run
2024-12-27 11:18:41.279145976 File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 272 in run
2024-12-27 11:18:41.279154797 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.279167034 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.279177489 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.279178029
2024-12-27 11:18:41.279180846 Thread 0x0000748a34e006c0 (most recent call first):
2024-12-27 11:18:41.279186827 File "/usr/lib/python3.9/threading.py", line 312 in wait
2024-12-27 11:18:41.279199612 File "/usr/lib/python3.9/multiprocessing/queues.py", line 233 in _feed
2024-12-27 11:18:41.279209277 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.279226025 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.279235524 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.279236067
2024-12-27 11:18:41.279239034 Thread 0x0000748a358006c0 (most recent call first):
2024-12-27 11:18:41.279249703 File "/usr/lib/python3.9/multiprocessing/connection.py", line 379 in _recv
2024-12-27 11:18:41.279265699 File "/usr/lib/python3.9/multiprocessing/connection.py", line 414 in _recv_bytes
2024-12-27 11:18:41.279283485 File "/usr/lib/python3.9/multiprocessing/connection.py", line 216 in recv_bytes
2024-12-27 11:18:41.279298773 File "/usr/lib/python3.9/multiprocessing/queues.py", line 103 in get
2024-12-27 11:18:41.279312281 File "/usr/lib/python3.9/logging/handlers.py", line 1461 in dequeue
2024-12-27 11:18:41.279327689 File "/usr/lib/python3.9/logging/handlers.py", line 1512 in _monitor
2024-12-27 11:18:41.279341546 File "/usr/lib/python3.9/threading.py", line 892 in run
2024-12-27 11:18:41.279357829 File "/usr/lib/python3.9/threading.py", line 954 in _bootstrap_inner
2024-12-27 11:18:41.279372961 File "/usr/lib/python3.9/threading.py", line 912 in _bootstrap
2024-12-27 11:18:41.279373499
2024-12-27 11:18:41.279376219 Thread 0x0000748a8d07c740 (most recent call first):
2024-12-27 11:18:41.279387292 File "/usr/lib/python3.9/threading.py", line 1428 in _shutdown
2024-12-27 11:18:41.364743825 [INFO] Service Frigate exited with code 256 (by signal 6)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service go2rtc-healthcheck: stopping
s6-rc: info: service certsync: stopping
2024-12-27 11:18:41.369197951 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
2024-12-27 11:18:41.369724356 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service certsync successfully stopped
s6-rc: info: service nginx: stopping
s6-rc: info: service certsync-log: stopping
s6-rc: info: service certsync-log successfully stopped
2024-12-27 11:18:41.421040881 [INFO] Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service nginx-log: stopping
s6-rc: info: service frigate: stopping
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
s6-rc: info: service nginx-log successfully stopped
2024-12-27 11:18:41.425724102 exit with signal: terminated
s6-rc: info: service frigate-log successfully stopped
2024-12-27 11:18:41.432578896 [INFO] The go2rtc service exited with code 0 (by signal 0)
s6-rc: info: service go2rtc successfully stopped
s6-rc: info: service go2rtc-log: stopping
s6-rc: info: service go2rtc-log successfully stopped
s6-rc: info: service log-prepare: stopping
s6-rc: info: service s6rc-fdholder: stopping
s6-rc: info: service log-prepare successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service s6rc-fdholder successfully stopped
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped Relevant go2rtc log outputI think they are included in the above output? FFprobe output from your cameraI have 30 plus cameras. Let me know if this is needed and which cameras you'd like. Frigate statsNo response Install methodDocker Compose docker-compose file or Docker CLI commandversion: '3.9'
services:
frigate:
container_name: frigate
restart: unless-stopped
privileged: true
image: ghcr.io/blakeblackshear/frigate:0.15.0-beta1
shm_size: "2048mb"
volumes:
- /dev/bus/usb:/dev/bus/usb
- /dev/apex_0:/dev/apex_0
- /etc/localtime:/etc/localtime:ro
- /home/matt/frigate/config:/config
- nvr-video:/media/frigate
- type: tmpfs # Optional: 1GB of memory, reduces SSD/SD Card wear
target: /tmp/cache
tmpfs:
size: 1000000000
secrets:
- FRIGATE_RTSP_PWD
- PLUS_API_KEY
ports:
- '5000:5000'
- '8554:8554'
- '8555:8555/tcp' # WebRTC over tcp
- '8555:8555/udp' # WebRTC over udp
- '1984:1984' #go2rtc
volumes:
nvr-video:
driver_opts:
type: nfs4
o: addr=192.168.50.138,nfsvers=4
device: ":/volume1/frigate"
secrets:
FRIGATE_RTSP_PWD:
file: /home/matt/frigate/rtsp_pass
PLUS_API_KEY:
file: /home/matt/frigate/api_key Object DetectorCoral Network connectionWired Camera make and modelVarious Dahua Clones (EmpireTech) Screenshots of the Frigate UI's System metrics pagesNo response Any other information that may be helpfulI am using a Synology NAS for media storage. Prior versions run fine with CPU at 25%, GPU at 10% and Coral Inference at 6ms. Let me know what other information would be helpful. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is a result of the SHM refactor for 0.15. You have a fairly large number of cameras, so you'll need to increase your file limits in your Docker compose file:
Alternatively, you can lower the number of frames in SHM per camera with an environment variable You can get a shell in the Frigate container and run
to get an idea on how many open files you have. |
Beta Was this translation helpful? Give feedback.
This is a result of the SHM refactor for 0.15. You have a fairly large number of cameras, so you'll need to increase your file limits in your Docker compose file:
Alternatively, you can lower the number of frames in SHM per camera with an environment variable
SHM_MAX_FRAMES
. The default value is 50. Depending on your system speed, you may want to increase the max files with Docker rather than decrease the max frames with the env var.You can get a shell in the Frigate container and run
lsof | grep shm | wc -l
to get an idea on how many open files you have.