[Support]: Frigage .14 has many random restarts #12974
-
Describe the problem you are havingThe same cameras/network infrastructure/machines/etc works great with previous version of Frigate However with .14 there seems constant restarts. Here is what happens:
I can see container restart: Steps to reproduceNothing special. Just run Frigate latest stable using compose. Version0.14.0-da913d8 Frigate config filemqtt:
enabled: true
host: hpdebian
user: '{FRIGATE_MQTT_USER}'
password: '{FRIGATE_MQTT_PASSWORD}'
topic_prefix: frigate
port: 1883
ffmpeg:
hwaccel_args: preset-vaapi
detect:
fps: 5
detectors:
ov:
type: openvino
device: AUTO
model:
path: /openvino-model/ssdlite_mobilenet_v2.xml
model:
width: 300
height: 300
input_tensor: nhwc
input_pixel_format: bgr
labelmap_path: /openvino-model/coco_91cl_bkgr.txt
go2rtc:
rtsp:
username: viewer
password: XXXX
streams:
Driveway: #example camera without audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Front_Door: # example camera with audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Back_Yard: #example camera without audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Basement: #example camera with audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Side_Yard: #example camera without audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Garage: #example camera with audio
- rtsp://admin:[email protected]/Streaming/Channels/101
Bedroom: #example camera with audio
- rtsp://admin:[email protected]/Streaming/Channels/101
birdseye:
enabled: true
mode: continuous
width: 1280
height: 720
cameras:
Driveway: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Front_Door: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Back_Yard: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Basement: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Side_Yard: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Garage: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
Bedroom: # <--- this will be changed to your actual camera later
enabled: true
ffmpeg:
inputs:
- path: rtsp://admin:[email protected]/Streaming/Channels/102
input_args: preset-rtsp-restream
roles:
- detect
version: 0.14 Relevant log output2024-08-11 18:17:53.648470250 [2024-08-11 18:17:53] frigate.watchdog INFO : Detection appears to have stopped. Exiting Frigate...
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-08-11 18:17:53.656079241 [INFO] The go2rtc-healthcheck service exited with code 256 (by signal 15)
2024-08-11 18:17:53.656868410 [INFO] Service CERTSYNC exited with code 256 (by signal 15)
s6-rc: info: service go2rtc-healthcheck successfully stopped
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-08-11 18:17:53.761775685 [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
2024-08-11 18:17:53.768066381 [2024-08-11 18:17:53] frigate.app INFO : Flask has exited...
s6-rc: info: service nginx-log successfully stopped
2024-08-11 18:17:53.768454301 [2024-08-11 18:17:53] frigate.app INFO : Stopping...
2024-08-11 18:17:53.769900499 [2024-08-11 18:17:53] frigate.watchdog INFO : Exiting watchdog...
2024-08-11 18:17:53.771241698 [2024-08-11 18:17:53] frigate.ptz.autotrack INFO : Exiting autotracker...
2024-08-11 18:17:53.771863523 [2024-08-11 18:17:53] frigate.events.cleanup INFO : Exiting event cleanup...
2024-08-11 18:17:53.772091041 [2024-08-11 18:17:53] frigate.record.cleanup INFO : Exiting recording cleanup...
2024-08-11 18:17:53.773408797 [2024-08-11 18:17:53] frigate.stats.emitter INFO : Exiting stats emitter...
2024-08-11 18:17:53.774029293 [2024-08-11 18:17:53] frigate.storage INFO : Exiting storage maintainer...
2024-08-11 18:17:53.774849424 [2024-08-11 18:17:53] frigate.app INFO : Waiting for capture process for Driveway to stop
2024-08-11 18:17:53.776656153 [2024-08-11 18:17:53] watchdog.Driveway INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:53.777296894 [2024-08-11 18:17:53] watchdog.Driveway INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:53.852991468 [2024-08-11 18:17:53] frigate.app INFO : Waiting for capture process for Front_Door to stop
2024-08-11 18:17:53.855356535 [2024-08-11 18:17:53] watchdog.Front_Door INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:53.856220141 [2024-08-11 18:17:53] watchdog.Front_Door INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:53.942909280 [2024-08-11 18:17:53] frigate.app INFO : Waiting for capture process for Back_Yard to stop
2024-08-11 18:17:53.945651313 [2024-08-11 18:17:53] watchdog.Back_Yard INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:53.946556001 [2024-08-11 18:17:53] watchdog.Back_Yard INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:53.996201759 [2024-08-11 18:17:53] frigate.object_processing INFO : Exiting object processor...
2024-08-11 18:17:54.008053866 [2024-08-11 18:17:54] frigate.app INFO : Waiting for capture process for Basement to stop
2024-08-11 18:17:54.009369665 [2024-08-11 18:17:54] watchdog.Basement INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:54.009797795 [2024-08-11 18:17:54] watchdog.Basement INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:54.081546254 [2024-08-11 18:17:54] frigate.app INFO : Waiting for capture process for Side_Yard to stop
2024-08-11 18:17:54.083699454 [2024-08-11 18:17:54] watchdog.Side_Yard INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:54.084583855 [2024-08-11 18:17:54] watchdog.Side_Yard INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:54.122753130 [2024-08-11 18:17:54] frigate.app INFO : Waiting for capture process for Garage to stop
2024-08-11 18:17:54.123795324 [2024-08-11 18:17:54] watchdog.Garage INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:54.124152603 [2024-08-11 18:17:54] watchdog.Garage INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:54.208555930 [2024-08-11 18:17:54] frigate.app INFO : Waiting for capture process for Bedroom to stop
2024-08-11 18:17:54.213533390 [2024-08-11 18:17:54] watchdog.Bedroom INFO : Terminating the existing ffmpeg process...
2024-08-11 18:17:54.213546235 [2024-08-11 18:17:54] watchdog.Bedroom INFO : Waiting for ffmpeg to exit gracefully...
2024-08-11 18:17:54.276864265 [2024-08-11 18:17:54] frigate.app INFO : Waiting for process for Driveway to stop
2024-08-11 18:17:54.667803845 [2024-08-11 18:17:54] frigate.events.maintainer INFO : Exiting event processor...
2024-08-11 18:17:59.157466234 [2024-08-11 18:17:59] frigate.video INFO : Driveway: emptying frame queue
2024-08-11 18:17:59.157669330 [2024-08-11 18:17:59] frigate.video INFO : Driveway: exiting subprocess
2024-08-11 18:17:59.164190978 [2024-08-11 18:17:59] frigate.app INFO : Closing frame queue for Driveway
2024-08-11 18:17:59.665676570 [2024-08-11 18:17:59] frigate.app INFO : Waiting for process for Front_Door to stop
2024-08-11 18:18:02.931961778 [2024-08-11 18:18:02] frigate.video INFO : Front_Door: emptying frame queue
2024-08-11 18:18:02.932228879 [2024-08-11 18:18:02] frigate.video INFO : Front_Door: exiting subprocess
2024-08-11 18:18:02.939726310 [2024-08-11 18:18:02] frigate.app INFO : Closing frame queue for Front_Door
2024-08-11 18:18:03.441318792 [2024-08-11 18:18:03] frigate.app INFO : Waiting for process for Back_Yard to stop
2024-08-11 18:18:08.116276041 [2024-08-11 18:18:08] frigate.video INFO : Back_Yard: emptying frame queue
2024-08-11 18:18:08.116578387 [2024-08-11 18:18:08] frigate.video INFO : Back_Yard: exiting subprocess
2024-08-11 18:18:08.134607288 [2024-08-11 18:18:08] frigate.app INFO : Closing frame queue for Back_Yard
2024-08-11 18:18:08.635566068 [2024-08-11 18:18:08] frigate.app INFO : Waiting for process for Basement to stop
2024-08-11 18:18:12.930808142 [2024-08-11 18:18:12] frigate.video INFO : Basement: emptying frame queue
2024-08-11 18:18:12.930925943 [2024-08-11 18:18:12] frigate.video INFO : Basement: exiting subprocess
2024-08-11 18:18:12.937972442 [2024-08-11 18:18:12] frigate.app INFO : Closing frame queue for Basement
2024-08-11 18:18:13.439185222 [2024-08-11 18:18:13] frigate.app INFO : Waiting for process for Side_Yard to stop
2024-08-11 18:18:14.223967933 [2024-08-11 18:18:14] frigate.video INFO : Side_Yard: emptying frame queue
2024-08-11 18:18:14.224281012 [2024-08-11 18:18:14] frigate.video INFO : Side_Yard: exiting subprocess
2024-08-11 18:18:14.234677240 [2024-08-11 18:18:14] frigate.app INFO : Closing frame queue for Side_Yard
2024-08-11 18:18:14.736167860 [2024-08-11 18:18:14] frigate.app INFO : Waiting for process for Garage to stop
2024-08-11 18:18:18.618765629 [2024-08-11 18:18:18] frigate.video INFO : Garage: emptying frame queue
2024-08-11 18:18:18.618864515 [2024-08-11 18:18:18] frigate.video INFO : Garage: exiting subprocess
2024-08-11 18:18:18.625253470 [2024-08-11 18:18:18] frigate.app INFO : Closing frame queue for Garage
2024-08-11 18:18:19.126770583 [2024-08-11 18:18:19] frigate.app INFO : Waiting for process for Bedroom to stop
2024-08-11 18:18:20.018759933 [2024-08-11 18:18:20] frigate.video INFO : Bedroom: emptying frame queue
2024-08-11 18:18:20.019180483 [2024-08-11 18:18:20] frigate.video INFO : Bedroom: exiting subprocess
2024-08-11 18:18:20.029103319 [2024-08-11 18:18:20] frigate.app INFO : Closing frame queue for Bedroom
2024-08-11 18:18:21.034487450 [2024-08-11 18:18:21] frigate.app INFO : Detection queue closed
2024-08-11 18:18:21.537170745 [2024-08-11 18:18:21] frigate.app INFO : Detected frames queue closed
2024-08-11 18:18:22.038250289 [2024-08-11 18:18:22] frigate.app INFO : Timeline queue closed
2024-08-11 18:18:23.467130490 [2024-08-11 18:18:23] frigate.output.output INFO : exiting output process...
2024-08-11 18:18:28.284574582 [2024-08-11 18:18:28] frigate.record.maintainer INFO : Exiting recording maintenance...
2024-08-11 18:18:29.148947796 [2024-08-11 18:18:29] frigate.comms.ws INFO : Exiting websocket client...
2024-08-11 18:18:29.289526865 [2024-08-11 18:18:29] peewee.sqliteq INFO : writer received shutdown request, exiting.
2024-08-11 18:18:30.319715076 /usr/lib/python3.9/multiprocessing/resource_tracker.py:216: UserWarning: resource_tracker: There appear to be 31 leaked shared_memory objects to clean up at shutdown
2024-08-11 18:18:30.319719088 warnings.warn('resource_tracker: There appear to be %d '
2024-08-11 18:18:30.323784003 [INFO] Service Frigate exited with code 0 (by signal 0)
s6-rc: info: service frigate successfully stopped
s6-rc: info: service go2rtc: stopping
s6-rc: info: service frigate-log: stopping
2024-08-11 18:18:30.325700972 exit with signal: terminated
s6-rc: info: service frigate-log successfully stopped
2024-08-11 18:18:30.330373302 [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 Operating systemDebian Install methodDocker Compose Network connectionWired Camera make and modelHikvision Any other information that may be helpfulNothing change other than I moved to latest version |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
This isn't a bug, the detection has stopped, most likely because it uses the GPU by default and previously it was using CPU. You can change the mode to CPU in the config |
Beta Was this translation helpful? Give feedback.
-
@hawkeye217 - I have commented this section in the frigate yaml file and it did not help. Frigate ran a few seconds longer before existing:
@NickM-27 - Openvino no longer work in .14, it .13 it works. Correct ? image: ghcr.io/blakeblackshear/frigate:stable # 0.13.2 #stable |
Beta Was this translation helpful? Give feedback.
-
Thank you so much ! This fixed it:
|
Beta Was this translation helpful? Give feedback.
you still have to provide the device or the model can't run. Please read the FAQ that was linked, all you need to do is change the config to