frigate: [Config Support]: Every few seconds - Unable to keep up with recording segments in cache for . Keeping the 5 most recent segments out of 6 and discarding the rest
Describe the problem you are having
Hi,
I have been using the new version (0.12.0-DA3E197) for a short while and noticed for the last few weeks recordings not working and looked in the logs today and every few seconds I get “Unable to keep up with recording segments in cache for <camera>. Keeping the 5 most recent segments out of 6 and discarding the rest”. Below is a log of the last 10mins the full log is huge.
Version
0.12.0-DA3E197
Frigate config file
mqtt:
host: 192.168.x.x
port: 1883
topic_prefix: frigate
client_id: frigate
user: xxx
password: xxx
stats_interval: 60
logger:
logs:
frigate.event: debug
detectors:
coral:
type: edgetpu
device: usb
# cpu1:
# type: cpu
cameras:
Front_Cam:
ffmpeg:
# hwaccel_args: -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format yuv420p
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
# rtmp: -c:v copy -c:a aac -f flv
inputs:
- path: rtsp://xxx:xxx@192.168.x.x:554/Streaming/Channels/1
roles:
- record
- path: rtsp://xxx:xxx@192.168.x.x:554/Streaming/Channels/2
roles:
- detect
- rtmp
detect:
height: 536
width: 1920
fps: 20
stationary:
interval: 0
threshold: 30
objects:
track:
- car
- person
- bicycle
- motorcycle
filters:
person:
threshold: 0.69
car:
mask:
- 1204,0,1220,203,604,205,596,0
- 1452,68,1504,137,1419,118,1374,46
- 185,143,235,112,256,143,216,168
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: True
height: 500
retain:
default: 3
record:
enabled: True
retain:
days: 0
events:
retain:
default: 20
mode: motion
pre_capture: 30
post_capture: 30
motion:
mask:
- 620,207,624,183,612,157,592,134,592,96,565,69,533,75,508,85,511,118,545,134,545,173,555,209
- 769,187,767,153,761,122,751,102,738,79,720,61,706,41,687,59,675,83,685,106,698,130,689,157,716,191
- 911,191,934,159,932,128,930,98,929,77,919,49,909,26,881,0,862,33,850,71,826,100,852,134,856,165,873,195
- 1078,193,1100,183,1106,163,1108,140,1094,112,1104,79,1096,51,1070,28,1054,57,1029,83,1007,108,1017,138,1029,161,1029,187
- 1239,203,1267,183,1271,155,1279,89,1271,67,1243,67,1220,106,1198,155,1198,199
- 1369,214,1389,203,1403,187,1418,155,1418,128,1409,106,1391,79,1359,98,1344,126,1328,161,1324,201
- 0,536,110,536,222,453,168,321,0,384
- 0,0,230,0,212,63,140,122,151,161,0,238
- 1898,0,1898,39,1330,39,1344,0
- 1326,43,1530,51,1578,142,1920,309,1920,90,1920,0,1334,0
- 1891,388,1821,536,1920,536,1920,346
# zones:
# zone_0:
# coordinates: 108,536,0,321,439,0,1315,0,1874,409,1829,536
Plate_Cam:
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
inputs:
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- rtmp
detect:
height: 720
width: 1280
fps: 18
stationary:
interval: 0
threshold: 30
objects:
track:
- car
- person
- bicycle
- motorcycle
filters:
person:
threshold: 0.69
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: True
height: 720
retain:
default: 3
record:
enabled: True
retain:
days: 0
events:
retain:
default: 20
mode: motion
pre_capture: 30
post_capture: 30
motion:
mask:
- 1280,104,1280,0,0,0,0,206
- 784,698,1244,699,1245,650,786,647
improve_contrast: True
Door_Cam:
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
inputs:
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- rtmp
detect:
height: 1080
width: 1920
fps: 25
stationary:
interval: 0
threshold: 30
objects:
track:
- person
filters:
person:
threshold: 0.69
mask:
- 756,642,889,618,1044,655,1053,768,1028,861,741,855,663,672
- 712,0,0,0,0,483
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: True
height: 720
retain:
default: 3
record:
enabled: True
retain:
days: 0
events:
retain:
default: 20
mode: motion
pre_capture: 30
post_capture: 30
motion:
mask:
- 1169,97,1839,106,1836,31,1164,29
Side_Cam:
ffmpeg:
output_args:
record: -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac
inputs:
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=0
roles:
- record
- path: rtsp://xxx:xxx@192.168.x.x:554/cam/realmonitor?channel=1&subtype=2
roles:
- detect
- rtmp
detect:
height: 1080
width: 1920
fps: 25
stationary:
interval: 0
threshold: 30
objects:
track:
- person
filters:
person:
threshold: 0.69
mask:
- 450,971,530,895,475,716,371,736
- 817,169,906,162,895,46,813,51
- 462,83,482,76,475,0,443,0
- 333,738,389,727,385,686,324,687
snapshots:
enabled: true
timestamp: true
bounding_box: true
crop: True
height: 720
retain:
default: 3
record:
enabled: True
retain:
days: 0
events:
retain:
default: 20
mode: motion
pre_capture: 30
post_capture: 30
motion:
mask:
- 1170,105,1840,100,1837,34,1169,30
birdseye:
enabled: True
width: 1920
height: 1080
quality: 1
mode: continuous
Relevant log output
occurred when attempting to maintain recording cache
2023-05-28 16:31:56.755619515 [2023-05-28 16:31:56] frigate.record ERROR : list index out of range
2023-05-28 16:32:01.697029079 [2023-05-28 16:32:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:01.699024074 [2023-05-28 16:32:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:01.701810826 [2023-05-28 16:32:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:01.905187841 [2023-05-28 16:32:01] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:01.905328134 [2023-05-28 16:32:01] frigate.record ERROR : list index out of range
2023-05-28 16:32:06.722068885 [2023-05-28 16:32:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:06.726305932 [2023-05-28 16:32:06] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:06.726405613 [2023-05-28 16:32:06] frigate.record ERROR : list index out of range
2023-05-28 16:32:11.709969327 [2023-05-28 16:32:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:11.712282025 [2023-05-28 16:32:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:11.715025197 [2023-05-28 16:32:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:11.931844916 [2023-05-28 16:32:11] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:11.931985858 [2023-05-28 16:32:11] frigate.record ERROR : list index out of range
2023-05-28 16:32:16.712439480 [2023-05-28 16:32:16] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:16.718960067 [2023-05-28 16:32:16] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:16.718963142 [2023-05-28 16:32:16] frigate.record ERROR : list index out of range
2023-05-28 16:32:21.698836924 [2023-05-28 16:32:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:21.700773616 [2023-05-28 16:32:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:21.703545738 [2023-05-28 16:32:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:21.929414756 [2023-05-28 16:32:21] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:21.929471163 [2023-05-28 16:32:21] frigate.record ERROR : list index out of range
2023-05-28 16:32:26.698160124 [2023-05-28 16:32:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:26.704194589 [2023-05-28 16:32:26] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:26.704301289 [2023-05-28 16:32:26] frigate.record ERROR : list index out of range
2023-05-28 16:32:31.713883875 [2023-05-28 16:32:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:31.718046566 [2023-05-28 16:32:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:31.718708173 [2023-05-28 16:32:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:31.950975967 [2023-05-28 16:32:31] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:31.951170621 [2023-05-28 16:32:31] frigate.record ERROR : list index out of range
2023-05-28 16:32:36.713169404 [2023-05-28 16:32:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:36.717244098 [2023-05-28 16:32:36] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:36.717331999 [2023-05-28 16:32:36] frigate.record ERROR : list index out of range
2023-05-28 16:32:41.720532901 [2023-05-28 16:32:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:41.723038732 [2023-05-28 16:32:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:41.725406340 [2023-05-28 16:32:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:41.938984850 [2023-05-28 16:32:41] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:41.939054299 [2023-05-28 16:32:41] frigate.record ERROR : list index out of range
2023-05-28 16:32:46.803539405 [2023-05-28 16:32:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:46.809496813 [2023-05-28 16:32:46] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:46.809600765 [2023-05-28 16:32:46] frigate.record ERROR : list index out of range
2023-05-28 16:32:51.727177810 [2023-05-28 16:32:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:51.729106490 [2023-05-28 16:32:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:51.731559718 [2023-05-28 16:32:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:51.936777906 [2023-05-28 16:32:51] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:51.936837662 [2023-05-28 16:32:51] frigate.record ERROR : list index out of range
2023-05-28 16:32:56.701418233 [2023-05-28 16:32:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:32:56.705411491 [2023-05-28 16:32:56] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:32:56.705494630 [2023-05-28 16:32:56] frigate.record ERROR : list index out of range
2023-05-28 16:33:01.712688598 [2023-05-28 16:33:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:01.714709943 [2023-05-28 16:33:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:01.717146081 [2023-05-28 16:33:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:01.940103175 [2023-05-28 16:33:01] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:01.940176573 [2023-05-28 16:33:01] frigate.record ERROR : list index out of range
2023-05-28 16:33:06.766223904 [2023-05-28 16:33:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:06.771484853 [2023-05-28 16:33:06] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:06.771596825 [2023-05-28 16:33:06] frigate.record ERROR : list index out of range
2023-05-28 16:33:11.701010599 [2023-05-28 16:33:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:11.702888597 [2023-05-28 16:33:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:11.705268493 [2023-05-28 16:33:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:11.920657941 [2023-05-28 16:33:11] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:11.920770337 [2023-05-28 16:33:11] frigate.record ERROR : list index out of range
2023-05-28 16:33:17.082353809 [2023-05-28 16:33:17] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:17.087818263 [2023-05-28 16:33:17] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:17.093940034 [2023-05-28 16:33:17] frigate.record ERROR : list index out of range
2023-05-28 16:33:21.699938554 [2023-05-28 16:33:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:21.704328996 [2023-05-28 16:33:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:21.705037818 [2023-05-28 16:33:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:21.929947267 [2023-05-28 16:33:21] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:21.930122489 [2023-05-28 16:33:21] frigate.record ERROR : list index out of range
2023-05-28 16:33:26.832569809 [2023-05-28 16:33:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:26.839093227 [2023-05-28 16:33:26] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:26.839175175 [2023-05-28 16:33:26] frigate.record ERROR : list index out of range
2023-05-28 16:33:31.716372723 [2023-05-28 16:33:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:31.718510289 [2023-05-28 16:33:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:31.721027880 [2023-05-28 16:33:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:31.934711836 [2023-05-28 16:33:31] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:31.934715200 [2023-05-28 16:33:31] frigate.record ERROR : list index out of range
2023-05-28 16:33:36.703191487 [2023-05-28 16:33:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:36.707407627 [2023-05-28 16:33:36] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:36.707519806 [2023-05-28 16:33:36] frigate.record ERROR : list index out of range
2023-05-28 16:33:41.704913156 [2023-05-28 16:33:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:41.707742474 [2023-05-28 16:33:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:41.710998535 [2023-05-28 16:33:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:41.921747648 [2023-05-28 16:33:41] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:41.921750860 [2023-05-28 16:33:41] frigate.record ERROR : list index out of range
2023-05-28 16:33:46.783196510 [2023-05-28 16:33:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:46.788221340 [2023-05-28 16:33:46] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:46.788315570 [2023-05-28 16:33:46] frigate.record ERROR : list index out of range
2023-05-28 16:33:51.697498040 [2023-05-28 16:33:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:51.699770552 [2023-05-28 16:33:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:51.702647053 [2023-05-28 16:33:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:51.919059647 [2023-05-28 16:33:51] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:51.919139202 [2023-05-28 16:33:51] frigate.record ERROR : list index out of range
2023-05-28 16:33:56.858941611 [2023-05-28 16:33:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:33:56.870396458 [2023-05-28 16:33:56] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:33:56.870399445 [2023-05-28 16:33:56] frigate.record ERROR : list index out of range
2023-05-28 16:34:01.768547623 [2023-05-28 16:34:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:01.770573524 [2023-05-28 16:34:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:01.772959995 [2023-05-28 16:34:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:01.982439565 [2023-05-28 16:34:01] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:01.982515797 [2023-05-28 16:34:01] frigate.record ERROR : list index out of range
2023-05-28 16:34:06.742916159 [2023-05-28 16:34:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:06.747734804 [2023-05-28 16:34:06] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:06.747777154 [2023-05-28 16:34:06] frigate.record ERROR : list index out of range
2023-05-28 16:34:11.763186465 [2023-05-28 16:34:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:11.765129060 [2023-05-28 16:34:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:11.767484082 [2023-05-28 16:34:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:12.000338252 [2023-05-28 16:34:11] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:12.000444648 [2023-05-28 16:34:12] frigate.record ERROR : list index out of range
2023-05-28 16:34:16.758382046 [2023-05-28 16:34:16] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:16.763243031 [2023-05-28 16:34:16] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:16.763333199 [2023-05-28 16:34:16] frigate.record ERROR : list index out of range
2023-05-28 16:34:21.726077031 [2023-05-28 16:34:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:21.728083984 [2023-05-28 16:34:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:21.730395422 [2023-05-28 16:34:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:21.947616464 [2023-05-28 16:34:21] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:21.947619509 [2023-05-28 16:34:21] frigate.record ERROR : list index out of range
2023-05-28 16:34:26.744363787 [2023-05-28 16:34:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:26.749188893 [2023-05-28 16:34:26] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:26.749252073 [2023-05-28 16:34:26] frigate.record ERROR : list index out of range
2023-05-28 16:34:31.719360787 [2023-05-28 16:34:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:31.721282199 [2023-05-28 16:34:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:31.723761781 [2023-05-28 16:34:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:31.960617119 [2023-05-28 16:34:31] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:31.960620411 [2023-05-28 16:34:31] frigate.record ERROR : list index out of range
2023-05-28 16:34:36.729194181 [2023-05-28 16:34:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:36.734488708 [2023-05-28 16:34:36] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:36.734574955 [2023-05-28 16:34:36] frigate.record ERROR : list index out of range
2023-05-28 16:34:41.719061994 [2023-05-28 16:34:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:41.721009683 [2023-05-28 16:34:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Front_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:41.723331253 [2023-05-28 16:34:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Plate_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:41.929249652 [2023-05-28 16:34:41] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:41.929350707 [2023-05-28 16:34:41] frigate.record ERROR : list index out of range
2023-05-28 16:34:46.763095075 [2023-05-28 16:34:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:50.599041392 [2023-05-28 16:34:50] frigate.record ERROR : Error occurred when attempting to maintain recording cache
2023-05-28 16:34:50.599044532 [2023-05-28 16:34:50] frigate.record ERROR : list index out of range
2023-05-28 16:34:51.735372427 [2023-05-28 16:34:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:34:56.843489887 [2023-05-28 16:34:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:01.723353995 [2023-05-28 16:35:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:06.724065691 [2023-05-28 16:35:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:11.728382387 [2023-05-28 16:35:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:16.724324659 [2023-05-28 16:35:16] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:21.727467389 [2023-05-28 16:35:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:26.757017188 [2023-05-28 16:35:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:31.760386606 [2023-05-28 16:35:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:36.730537637 [2023-05-28 16:35:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:41.729402555 [2023-05-28 16:35:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:46.719287011 [2023-05-28 16:35:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:51.725212519 [2023-05-28 16:35:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:35:56.721004132 [2023-05-28 16:35:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:36:01.738463377 [2023-05-28 16:36:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:36:06.740351889 [2023-05-28 16:36:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:36:16.722213693 [2023-05-28 16:36:16] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:36:21.763527109 [2023-05-28 16:36:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:26.715361791 [2023-05-28 16:40:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:31.733771773 [2023-05-28 16:40:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:36.716551295 [2023-05-28 16:40:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:41.723833134 [2023-05-28 16:40:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:46.718138389 [2023-05-28 16:40:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:51.724427770 [2023-05-28 16:40:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:40:56.822463634 [2023-05-28 16:40:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:01.718570990 [2023-05-28 16:41:01] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:06.721562186 [2023-05-28 16:41:06] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:11.721839995 [2023-05-28 16:41:11] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:16.731280043 [2023-05-28 16:41:16] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:21.719885484 [2023-05-28 16:41:21] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:26.774986407 [2023-05-28 16:41:26] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:31.728106296 [2023-05-28 16:41:31] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:36.726998584 [2023-05-28 16:41:36] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:41.733620912 [2023-05-28 16:41:41] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:46.739798393 [2023-05-28 16:41:46] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:51.730647876 [2023-05-28 16:41:51] frigate.record WARNING : Unable to keep up with recording segments in cache for Door_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
2023-05-28 16:41:56.724346185 [2023-05-28 16:41:56] frigate.record WARNING : Unable to keep up with recording segments in cache for Side_Cam. Keeping the 5 most recent segments out of 6 and discarding the rest...
Frigate stats
N/A
Operating system
HassOS
Install method
HassOS Addon
Coral version
USB
Any other information that may be helpful
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 53 (18 by maintainers)
Right, it is mainly for debugging purposes. You could now try using ffmpeg in go2rtc instead with frigate pointing to the go2rtc restream and see how it goes
Okay, so for some reason ffmpeg is saving a segment every second instead of every 10 seconds. Then when the errors stop it is because ffmpeg started saving the segments every 10 seconds. Assuming you do not have errors in your logs of ffmpeg crashing this seems like an issue with the cameras iframe, timestamps, or maybe go2rtc that are being sent which unfortunately is not uncommon for reolinks to have problems in this way.
I would suggest having the frigate config point directly at the camera for the recording stream and see if this reproduces (need to be sure and give it a fair chance, I am not sure how often this problem happens as is)
@NickM-27 I only see this for ~5 minutes at startup and then things seem to stabilize
I was able to check my SMART data for my ssd and it is all fine so I am not really sure. It seems intermittent but a real thing
Maybe I have always had it on my rpi4 but only am noticing now due to the logs being added
Happy to do more digging if it helps, but for now I think I am ok just letting things chug along and will report back if anything changes
On the dev branch it’s a different package
frigate.record.maintainer
You should be using preset-vaapi instead of raw args for hwaccel, that would lower your CPU usage some.
You also absolutely should not be running with detect at 30 fps, that would also explain an incredible amount of CPU usage that is unnecessary
It is a separate process now in 0.13. I think this is a separate/new issue specific to the dev builds and not necessarily related. I think its better to open a new issue so we can continue the discussion there @ccutrer.