Repository: blakeblackshear/frigate

Issue:
[Support]: Database is locked occurs randomly
### Describe the problem you are having

I've been having a "Database is locked" error randomly on the latest dev build. I haven't been able to figure out a cause yet, but it happens much more frequently when my storage drive for the videos is full and Frigate is deleting them continuously to free up space for the next recording. It does still happen without it.

After the database is locked error occurs, the Home Assistant's object count becomes permanently too high. Even restarting Frigate does not cause it to return to normal (although restarting the plugin in HA without restarting Frigate does fix it) Frigate does seem to start working normally again after just dropping some recordings while the database is locked.

### Version

0.13.0-8E584CF

### Frigate config file

```yaml
ui:
  use_experimental: true

database:
  path: /db/frigate.db

birdseye:
  enabled: True
#  restream: True
  mode: objects
  width: 1920
  height: 1200

mqtt:
  host: 10.10.22.11
  user: frigate
  password: frigatePASS1

detectors:
  coral:
    type: edgetpu

    
record:
  enabled: True
  retain:
    days: 7
    mode: motion
  events:
    retain:
      default: 21
      mode: active_objects

objects:
  track:
    - person
    - bicycle
    - car
    - cat
    - dog
  filters:
    person:
      # Optional: minimum width*height of the bounding box for the detected object (default: 0)
      min_area: 500
      # Optional: maximum width*height of the bounding box for the detected object (default: 24000000)
      max_area: 100000
      # Optional: minimum width/height of the bounding box for the detected object (default: 0)
      min_ratio: 0.5
      # Optional: maximum width/height of the bounding box for the detected object (default: 24000000)
      max_ratio: 2.0
      # Optional: minimum score for the object to initiate tracking (default: shown below)
      min_score: 0.60
      # Optional: minimum decimal percentage for tracked object's computed score to be considered a true positive (default: shown below)
      threshold: 0.75

audio:
  enabled: false
  listen:
    - bark
    - scream
    - speech
    - yell
    - goat
    - chicken
    - skidding
    - tire_squeal
    - emergency_vehicle
    - smoke_detector
    - gunshot
    - glass
    - crack
    - shatter
    - smash
    - breaking

snapshots:
  enabled: true
  clean_copy: True
  timestamp: False
  bounding_box: True
  crop: True
  retain:
    default: 180

go2rtc:
  streams:
[...]

  webrtc:
    candidates:
      - 10.10.22.11:8555
      - stun:8555

cameras:
  warehouse_exterior_doorbell:
    enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_doorbell
          roles:
            - record
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 2560
      height: 1920
    motion:
      mask:
        - 0,0,2560,0,2560,986,2045,956,2034,1016,2406,1054,2332,1121,371,1118,357,910,0,846

  warehouse_exterior_nw:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_nw
          roles:
            - record
        #- path: rtsp://127.0.0.1:8554/warehouse_exterior_nw_sub
        #  roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: False
    detect:
      width: 1920
      height: 1080

  warehouse_exterior_sw:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_sw
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_sw_sub
          roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: False
    detect:
      width: 1920
      height: 1080

  warehouse_exterior_se:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_se
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_se_sub
          roles:
            - detect
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: False
    detect:
      width: 480
      height: 360
    motion:
      mask:
        - 480,0,480,55,109,50,0,80,0,0
#    detect:
#      width: 2592
#      height: 1944

  warehouse_exterior_front:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_exterior_front_sub
          roles:
            - record
        #- path: rtsp://127.0.0.1:8554/warehouse_exterior_front_sub
        #  roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 1536
      height: 576
    #birdseye:
    #  enabled: False
    #detect:
    #  width: 4608
    #  height: 1728

  warehouse_workbench:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_workbench
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/warehouse_workbench_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    #detect:
    #  width: 2560
    #  height: 1920
    detect:
      width: 640
      height: 480
    motion:
      mask:
        - 220,480,100,480,98,459,217,453

  warehouse_interior_front:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_interior_front
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/warehouse_interior_front_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    #detect:
    #  width: 2560
    #  height: 1920
    detect:
      width: 640
      height: 480
    motion:
      mask:
        - 376,0,397,31,205,27,205,0

  warehouse_interior_office:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_interior_office
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/warehouse_interior_office_sub
          roles:
            - detect
            - audio
#          input_args: -ss 00:01
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 704
      height: 480
    motion:
      mask:
        - 682,21,683,52,418,47,405,22
#    detect:
#      width: 3840
#      height: 2160

  warehouse_interior_overview:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/warehouse_interior_overview
          roles:
            - record
#        - path: rtsp://127.0.0.1:8554/warehouse_interior_overview_sub
#          roles:
#            - detect
      hwaccel_args: preset-nvidia-h264
    audio:
      enabled: False
    detect:
      width: 1920
      height: 1080
#    detect:
#      width: 704
#      height: 480


  gp_clubhouse_gym_1:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_1
          roles:
            - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_1_sub
#          roles:
            - detect
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 2592
      height: 1944
#    detect:
#      width: 480
#      height: 360
    audio:
      enabled: False
    motion:
      mask:
        - 2592,173,2592,0,0,0,0,337
    objects:
      filters:
        bicycle:
          mask:
            - 1635,80,1886,1019,408,1059,350,177
        motorcycle:
          mask:
            - 1635,80,1886,1019,408,1059,350,177

  gp_clubhouse_gym_2:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_2
          roles:
            - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_gym_2_sub
#          roles:
            - detect
      hwaccel_args: preset-nvidia-h265
#    detect:
#      width: 480
#      height: 360
    detect:
      width: 2592
      height: 1944
    audio:
      enabled: False
    motion:
      mask:
        - 2592,0,0,0,0,385
    objects:
      filters:
        bicycle:
          mask:
            - 2391,1369,1261,677,1331,135,2542,274
        motorcycle:
          mask:
            - 2391,1369,1261,677,1331,135,2542,274
      
  gp_clubhouse_front_door:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_front_door
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_front_door_sub
          roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
#    detect:
#      width: 2592
#      height: 1944
    audio:
      enabled: False
    motion:
      mask:
        - 0,0,0,34,265,30,287,0

  gp_clubhouse_back_door:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_back_door
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_back_door_sub
          roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
    audio:
      enabled: False
    motion:
      mask:
        - 480,0,480,45,0,56,0,0
#    detect:
#      width: 2592
#      height: 1944

  gp_clubhouse_banquet:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_banquet
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_banquet_sub
          roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 480
      height: 360
    audio:
      enabled: False
    motion:
      mask:
        - 0,0,0,31,277,31,373,0
#    detect:
#      width: 2592
#      height: 1944
      
  gp_clubhouse_pool_porch:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch
          roles:
            - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch_sub
#          roles:
            - detect
      hwaccel_args: preset-nvidia-h264
    zones:
      gp_clubhouse_pool_deck:
        coordinates: 1920,0,1920,1080,0,1080,0,0
    detect:
      width: 1920
      height: 1080
    audio:
      enabled: False
    motion:
      mask:
        - 1000,130,674,122,678,76,993,67
#    detect:
#      width: 704
#      height: 480

      
  gp_clubhouse_pool:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_pool_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
#    zones:
#      gp_clubhouse_pool_deck:
#        coordinates: 5120,1440,5120,0,2701,0,2004,1440
    detect:
#      width: 5120
#      height: 1440
      width: 1920
      height: 536
      
  gp_clubhouse_firepit:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_firepit
          roles:
            - record
#        - path: rtsp://127.0.0.1:8554/gp_clubhouse_firepit_sub
#          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    motion:
      mask:
        - 2211,0,0,0,0,495,1795,224,1795,67,2202,62
        - 2061,1203,1952,361,1771,361,1702,1182
    objects:
      filters:
        person:
          mask:
            - 2114,1213,1610,1210,1612,366,2080,361
    zones:
      gp_clubhouse_pool_deck:
        coordinates: 3840,2160,3657,599,1531,331,0,725,0,2160
    detect:
      width: 3840
      height: 2160

  gp_clubhouse_parking:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_clubhouse_parking
          roles:
            - record
        - path: rtsp://admin:campass123@10.10.23.30:554/Streaming/channels/102
        #- path: rtsp://127.0.0.1:8554/gp_clubhouse_parking_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
#      width: 5120
#      height: 1440
      
  gp636_doorbell:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp636_doorbell
          roles:
            - record
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 1920
      height: 1080
    motion:
      mask:
        - 0,0,1667,0,1643,67,928,361,926,599,0,499
      
  gp525_doorbell:
    enabled: false
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp525_doorbell
          roles:
            - record
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h264
    detect:
      width: 2560
      height: 1920
    motion:
      mask:
        - 1641,0,827,995,333,1019,173,861,0,904,0,0


  gp_entrance_75:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_entrance_75
          roles:
            - record
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 1080
#    record:
#      retain:
#        days: 5
#        mode: all
#      events:
#        retain:
#          default: 45

  gp_entrance_archer:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_entrance_archer
          roles:
            - record
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 1080
    record:
      retain:
        days: 5
        mode: all
      events:
        retain:
          default: 45

  gp_bldg_08_front:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_bldg_08_front
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_bldg_08_front_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
#      width: 5120
#      height: 1440
#    zones:
#      gp_bldg_alert:
#        coordinates: 0,961,0,1440,5120,1440,5120,1030,4090,139,1293,0

  gp_bldg_08_rear:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_bldg_08_rear
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_bldg_08_rear_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
#      width: 5120
#      height: 1440
#    zones:
#      gp_bldg_alert:
#        coordinates: 5120,1440,0,1440,0,767,1113,393,2685,308,4223,514,5120,976

  gp_bldg_03_side:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/gp_bldg_03_side
          roles:
            - record
        - path: rtsp://127.0.0.1:8554/gp_bldg_03_side_sub
          roles:
            - detect
            - audio
      output_args:
        record: preset-record-generic-audio-aac
      hwaccel_args: preset-nvidia-h265
    detect:
      width: 1920
      height: 536
    motion:
      mask:
        - 764,93,1255,111,1920,260,1920,0,0,0,0,175
#      width: 5120
#      height: 1440
    zones:
      gp_bldg_alert:
        coordinates: 0,536,0,306,240,239,1189,370,1352,536
```


### Relevant log output

```shell
2023-07-15 21:55:19.360407809  [INFO] Preparing Frigate...
2023-07-15 21:55:19.395359015  [INFO] Starting Frigate...
[...]
2023-07-16 02:00:34.962268248  [2023-07-16 02:00:34] frigate.video                  ERROR   : warehouse_interior_front: Unable to read frames from ffmpeg process.
2023-07-16 02:00:34.963699927  [2023-07-16 02:00:34] frigate.video                  ERROR   : warehouse_interior_front: ffmpeg process is not running. exiting capture thread...
2023-07-16 02:00:39.748448339  [2023-07-16 02:00:39] watchdog.warehouse_workbench   ERROR   : Ffmpeg process crashed unexpectedly for warehouse_workbench.
2023-07-16 02:00:39.748682491  [2023-07-16 02:00:39] watchdog.warehouse_workbench   ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-07-16 02:00:39.748795780  [2023-07-16 02:00:39] ffmpeg.warehouse_workbench.detect ERROR   : rtsp://127.0.0.1:8554/warehouse_workbench_sub: Invalid data found when processing input
2023-07-16 02:00:39.920583749  [2023-07-16 02:00:39] watchdog.warehouse_interior_front ERROR   : Ffmpeg process crashed unexpectedly for warehouse_interior_front.
2023-07-16 02:00:39.920770389  [2023-07-16 02:00:39] watchdog.warehouse_interior_front ERROR   : The following ffmpeg logs include the last 100 lines prior to exit.
2023-07-16 02:00:39.920879055  [2023-07-16 02:00:39] ffmpeg.warehouse_interior_front.detect ERROR   : rtsp://127.0.0.1:8554/warehouse_interior_front_sub: Invalid data found when processing input
2023-07-16 05:08:54.880840806  Exception in thread event_cleanup:
2023-07-16 05:08:54.880957267  Traceback (most recent call last):
2023-07-16 05:08:54.880964388    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-16 05:08:54.885747660      cursor.execute(sql, params or ())
2023-07-16 05:08:54.885934081  sqlite3.OperationalError: database is locked
2023-07-16 05:08:54.885942699  
2023-07-16 05:08:54.885950139  During handling of the above exception, another exception occurred:
2023-07-16 05:08:54.885955892  
2023-07-16 05:08:54.885994303  Traceback (most recent call last):
2023-07-16 05:08:54.886001108    File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2023-07-16 05:08:54.887289177      self.run()
2023-07-16 05:08:54.887301351    File "/opt/frigate/frigate/events/cleanup.py", line 165, in run
2023-07-16 05:08:54.887781373      self.expire("snapshots")
2023-07-16 05:08:54.887789574    File "/opt/frigate/frigate/events/cleanup.py", line 125, in expire
2023-07-16 05:08:54.887962952      update_query.execute()
2023-07-16 05:08:54.887970011    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 1966, in inner
2023-07-16 05:08:54.888868107      return method(self, database, *args, **kwargs)
2023-07-16 05:08:54.888873947    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2037, in execute
2023-07-16 05:08:54.889780318      return self._execute(database)
2023-07-16 05:08:54.889799574    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2556, in _execute
2023-07-16 05:08:54.891055401      return self.handle_result(database, cursor)
2023-07-16 05:08:54.891077653    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2567, in handle_result
2023-07-16 05:08:54.892213170      return database.rows_affected(cursor)
2023-07-16 05:08:54.892218655    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3759, in rows_affected
2023-07-16 05:08:54.893860338      return cursor.rowcount
2023-07-16 05:08:54.893880817    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 93, in rowcount
2023-07-16 05:08:54.894159169      self._wait()
2023-07-16 05:08:54.894178540    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 62, in _wait
2023-07-16 05:08:54.894411260      raise self._exc
2023-07-16 05:08:54.894416942    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 177, in execute
2023-07-16 05:08:54.894601830      cursor = self.database._execute(obj.sql, obj.params)
2023-07-16 05:08:54.894636415    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-16 05:08:54.896070653      cursor.execute(sql, params or ())
2023-07-16 05:08:54.896076514    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3014, in __exit__
2023-07-16 05:08:54.898242283      reraise(new_type, new_type(exc_value, *exc_args), traceback)
2023-07-16 05:08:54.898291171    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 192, in reraise
2023-07-16 05:08:54.899354803      raise value.with_traceback(tb)
2023-07-16 05:08:54.899374907    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-16 05:08:54.901400803      cursor.execute(sql, params or ())
2023-07-16 05:08:54.901666460  peewee.OperationalError: database is locked
```


### FFprobe output from your camera

```shell
NA
```


### Frigate stats

```json
{"cpu_usages":{"1":{"cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service","cpu":"0.0","cpu_average":"0","mem":"0.0"},"15":{"cmdline":"s6-supervise s6-linux-init-shutdownd","cpu":"0.0","cpu_average":"0","mem":"0.0"},"18":{"cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -c /run/s6/basedir -g 3000 -C -B","cpu":"0.0","cpu_average":"0","mem":"0.0"},"24":{"cmdline":"s6-supervise go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"25":{"cmdline":"s6-supervise frigate-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"26":{"cmdline":"s6-supervise nginx-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"27":{"cmdline":"s6-supervise s6rc-fdholder","cpu":"0.0","cpu_average":"0","mem":"0.0"},"28":{"cmdline":"s6-supervise s6rc-oneshot-runner","cpu":"0.0","cpu_average":"0","mem":"0.0"},"29":{"cmdline":"s6-supervise go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"30":{"cmdline":"s6-supervise nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"31":{"cmdline":"s6-supervise frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"32":{"cmdline":"s6-supervise go2rtc-log","cpu":"0.0","cpu_average":"0","mem":"0.0"},"41":{"cmdline":"/package/admin/s6-2.11.3.0/command/s6-fdholderd -1 -i data/rules","cpu":"0.0","cpu_average":"0","mem":"0.0"},"42":{"cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --","cpu":"0.0","cpu_average":"0","mem":"0.0"},"80":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"81":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc","cpu":"0.0","cpu_average":"0","mem":"0.0"},"82":{"cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate","cpu":"0.0","cpu_average":"0","mem":"0.0"},"89":{"cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml","cpu":"64.9","cpu_average":"123","mem":"0.1"},"98":{"cmdline":"bash ./run.user go2rtc-healthcheck","cpu":"0.0","cpu_average":"0","mem":"0.0"},"99":{"cmdline":"python3 -u -m frigate","cpu":"19.9","cpu_average":"32","mem":"3.3"},"119":{"cmdline":"nginx: master process nginx","cpu":"0.0","cpu_average":"0","mem":"0.0"},"145":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"146":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"147":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"148":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"153":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"166":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"191":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"223":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"256":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"292":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"325":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"362":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"397":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"437":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"475":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"511":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"549":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"585":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"621":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"659":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"693":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"724":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"762":{"cmdline":"nginx: worker process","cpu":"0.3","cpu_average":"0","mem":"0.0"},"800":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"841":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"878":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"916":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"953":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"991":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1028":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1066":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1099":{"cmdline":"nginx: worker process","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1300":{"cmdline":"frigate.logger       ","cpu":"0.0","cpu_average":"0","mem":"0.2"},"1301":{"cmdline":"frigate.recording_manager","cpu":"112.4","cpu_average":"123","mem":"1.3"},"1310":{"cmdline":"/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(87)","cpu":"1.7","cpu_average":"3","mem":"0.0"},"1311":{"cmdline":"frigate.detector.coral","cpu":"61.6","cpu_average":"78","mem":"0.3"},"1312":{"cmdline":"frigate.output       ","cpu":"164.4","cpu_average":"196","mem":"0.3"},"1319":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1320":{"cmdline":"frigate.process:warehouse_exterior_nw","cpu":"2.1","cpu_average":"10","mem":"0.3"},"1321":{"cmdline":"frigate.process:warehouse_exterior_sw","cpu":"44.4","cpu_average":"39","mem":"0.3"},"1322":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1323":{"cmdline":"frigate.process:warehouse_exterior_se","cpu":"50.9","cpu_average":"3","mem":"0.3"},"1324":{"cmdline":"frigate.process:warehouse_exterior_front","cpu":"28.5","cpu_average":"36","mem":"0.3"},"1325":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1326":{"cmdline":"frigate.process:warehouse_workbench","cpu":"49.5","cpu_average":"4","mem":"0.3"},"1327":{"cmdline":"frigate.process:warehouse_interior_front","cpu":"43.3","cpu_average":"3","mem":"0.3"},"1328":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1329":{"cmdline":"frigate.process:warehouse_interior_office","cpu":"2.1","cpu_average":"3","mem":"0.3"},"1330":{"cmdline":"frigate.process:warehouse_interior_overview","cpu":"15.8","cpu_average":"5","mem":"0.3"},"1331":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1536x576 -i pipe: -f mpegts -s 1920x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1332":{"cmdline":"frigate.process:gp_clubhouse_gym_1","cpu":"2.4","cpu_average":"46","mem":"0.3"},"1333":{"cmdline":"frigate.process:gp_clubhouse_gym_2","cpu":"1.7","cpu_average":"52","mem":"0.4"},"1334":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1335":{"cmdline":"frigate.process:gp_clubhouse_front_door","cpu":"2.1","cpu_average":"3","mem":"0.3"},"1336":{"cmdline":"frigate.process:gp_clubhouse_back_door","cpu":"2.1","cpu_average":"3","mem":"0.3"},"1337":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x480 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1338":{"cmdline":"frigate.process:gp_clubhouse_banquet","cpu":"4.5","cpu_average":"7","mem":"0.3"},"1339":{"cmdline":"frigate.process:gp_clubhouse_pool_porch","cpu":"2.1","cpu_average":"9","mem":"0.3"},"1340":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 704x480 -i pipe: -f mpegts -s 1056x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1341":{"cmdline":"frigate.process:gp_clubhouse_pool","cpu":"19.3","cpu_average":"26","mem":"0.3"},"1342":{"cmdline":"frigate.process:gp_clubhouse_firepit","cpu":"21.3","cpu_average":"7","mem":"0.3"},"1343":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1344":{"cmdline":"frigate.process:gp_clubhouse_parking","cpu":"16.2","cpu_average":"33","mem":"0.3"},"1345":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2592x1944 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1346":{"cmdline":"frigate.process:gp636_doorbell","cpu":"11.0","cpu_average":"20","mem":"0.3"},"1347":{"cmdline":"frigate.process:gp_entrance_75","cpu":"5.8","cpu_average":"31","mem":"0.3"},"1348":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2592x1944 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1349":{"cmdline":"frigate.process:gp_entrance_archer","cpu":"4.8","cpu_average":"44","mem":"0.3"},"1350":{"cmdline":"frigate.process:gp_bldg_08_front","cpu":"16.5","cpu_average":"34","mem":"0.3"},"1351":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1352":{"cmdline":"frigate.process:gp_bldg_08_rear","cpu":"14.1","cpu_average":"35","mem":"0.3"},"1353":{"cmdline":"frigate.process:gp_bldg_03_side","cpu":"31.3","cpu_average":"9","mem":"0.3"},"1354":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1355":{"cmdline":"frigate.capture:warehouse_exterior_nw","cpu":"5.2","cpu_average":"9","mem":"0.3"},"1358":{"cmdline":"frigate.capture:warehouse_exterior_sw","cpu":"4.5","cpu_average":"9","mem":"0.3"},"1359":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 480x360 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1360":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_nw -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_exterior_nw-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"8.6","cpu_average":"16","mem":"0.3"},"1363":{"cmdline":"frigate.capture:warehouse_exterior_se","cpu":"1.0","cpu_average":"1","mem":"0.3"},"1364":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_sw_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"8.3","cpu_average":"14","mem":"0.2"},"1368":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1369":{"cmdline":"frigate.capture:warehouse_exterior_front","cpu":"2.4","cpu_average":"4","mem":"0.3"},"1370":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_se_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.1","cpu_average":"5","mem":"0.2"},"1375":{"cmdline":"frigate.capture:warehouse_workbench","cpu":"0.7","cpu_average":"1","mem":"0.3"},"1376":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_sw -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_exterior_sw-%Y%m%d%H%M%S.mp4","cpu":"0.7","cpu_average":"2","mem":"0.0"},"1380":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1383":{"cmdline":"frigate.capture:warehouse_interior_front","cpu":"1.0","cpu_average":"1","mem":"0.3"},"1384":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_se -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_exterior_se-%Y%m%d%H%M%S.mp4","cpu":"0.7","cpu_average":"1","mem":"0.0"},"1390":{"cmdline":"frigate.capture:warehouse_interior_office","cpu":"1.0","cpu_average":"2","mem":"0.3"},"1391":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 3840x2160 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1398":{"cmdline":"frigate.capture:warehouse_interior_overview","cpu":"4.1","cpu_average":"8","mem":"0.3"},"1402":{"cmdline":"frigate.capture:gp_clubhouse_gym_1","cpu":"9.3","cpu_average":"21","mem":"0.3"},"1403":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1407":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_gym_1 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_gym_1-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2592:h=1944:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"14.1","cpu_average":"26","mem":"0.4"},"1408":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_office_sub -r 5 -vf fps=5,scale_cuda=w=704:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.1","cpu_average":"5","mem":"0.2"},"1409":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_overview -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/warehouse_interior_overview-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.2","cpu_average":"15","mem":"0.3"},"1411":{"cmdline":"frigate.capture:gp_clubhouse_gym_2","cpu":"9.6","cpu_average":"23","mem":"0.3"},"1413":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1420":{"cmdline":"frigate.capture:gp_clubhouse_front_door","cpu":"0.3","cpu_average":"1","mem":"0.3"},"1426":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_gym_2 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_gym_2-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=2592:h=1944:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"14.8","cpu_average":"29","mem":"0.3"},"1427":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_office -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_interior_office-%Y%m%d%H%M%S.mp4","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1430":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 2560x1920 -i pipe: -f mpegts -s 960x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1431":{"cmdline":"frigate.capture:gp_clubhouse_back_door","cpu":"0.7","cpu_average":"1","mem":"0.3"},"1433":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_front_door_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.8","cpu_average":"5","mem":"0.2"},"1438":{"cmdline":"frigate.capture:gp_clubhouse_banquet","cpu":"0.7","cpu_average":"1","mem":"0.3"},"1439":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_back_door_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.1","cpu_average":"5","mem":"0.2"},"1440":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1445":{"cmdline":"frigate.capture:gp_clubhouse_pool_porch","cpu":"4.5","cpu_average":"9","mem":"0.3"},"1446":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_front_door -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_front_door-%Y%m%d%H%M%S.mp4","cpu":"1.0","cpu_average":"1","mem":"0.0"},"1450":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_banquet_sub -r 5 -vf fps=5,scale_cuda=w=480:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"3.8","cpu_average":"6","mem":"0.2"},"1452":{"cmdline":"frigate.capture:gp_clubhouse_pool","cpu":"2.8","cpu_average":"4","mem":"0.3"},"1453":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_back_door -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_back_door-%Y%m%d%H%M%S.mp4","cpu":"1.0","cpu_average":"1","mem":"0.0"},"1454":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1080 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1455":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool_porch -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_pool_porch-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.9","cpu_average":"16","mem":"0.3"},"1460":{"cmdline":"frigate.capture:gp_clubhouse_firepit","cpu":"12.7","cpu_average":"32","mem":"0.3"},"1463":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.2","cpu_average":"11","mem":"0.2"},"1464":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_banquet -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy -an /tmp/cache/gp_clubhouse_banquet-%Y%m%d%H%M%S.mp4","cpu":"1.0","cpu_average":"2","mem":"0.0"},"1466":{"cmdline":"frigate.capture:gp_clubhouse_parking","cpu":"2.1","cpu_average":"4","mem":"0.3"},"1467":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1470":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_firepit -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_firepit-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=3840:h=2160:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"28.5","cpu_average":"67","mem":"0.4"},"1473":{"cmdline":"frigate.capture:gp636_doorbell","cpu":"3.8","cpu_average":"9","mem":"0.3"},"1474":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://admin:campass123@10.10.23.30:554/Streaming/channels/102 -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"5.2","cpu_average":"12","mem":"0.2"},"1478":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_pool -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_pool-%Y%m%d%H%M%S.mp4","cpu":"5.8","cpu_average":"10","mem":"0.0"},"1479":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1480":{"cmdline":"frigate.capture:gp_entrance_75","cpu":"4.1","cpu_average":"9","mem":"0.3"},"1482":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp636_doorbell -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp636_doorbell-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"14.4","cpu_average":"30","mem":"0.3"},"1488":{"cmdline":"frigate.capture:gp_entrance_archer","cpu":"4.8","cpu_average":"10","mem":"0.3"},"1490":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_clubhouse_parking -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_clubhouse_parking-%Y%m%d%H%M%S.mp4","cpu":"5.8","cpu_average":"12","mem":"0.0"},"1491":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_entrance_75 -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_entrance_75-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"16.5","cpu_average":"32","mem":"0.3"},"1492":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x536 -i pipe: -f mpegts -s 2579x720 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"0.0","cpu_average":"0","mem":"0.0"},"1496":{"cmdline":"frigate.capture:gp_bldg_08_front","cpu":"3.1","cpu_average":"4","mem":"0.3"},"1497":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_entrance_archer -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_entrance_archer-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1920:h=1080:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"17.9","cpu_average":"34","mem":"0.3"},"1501":{"cmdline":"ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1920x1200 -i pipe: -f mpegts -s 1920x1200 -codec:v mpeg1video -q 8 -bf 0 pipe:","cpu":"25.5","cpu_average":"46","mem":"0.1"},"1502":{"cmdline":"frigate.capture:gp_bldg_08_rear","cpu":"2.4","cpu_average":"4","mem":"0.3"},"1503":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_front_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.5","cpu_average":"11","mem":"0.2"},"1515":{"cmdline":"frigate.capture:gp_bldg_03_side","cpu":"2.8","cpu_average":"4","mem":"0.3"},"1538":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_rear_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"5.8","cpu_average":"11","mem":"0.2"},"1541":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_front -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_08_front-%Y%m%d%H%M%S.mp4","cpu":"5.2","cpu_average":"12","mem":"0.0"},"1546":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_03_side_sub -r 5 -vf fps=5,scale_cuda=w=1920:h=536:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"6.2","cpu_average":"11","mem":"0.2"},"1549":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_08_rear -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_08_rear-%Y%m%d%H%M%S.mp4","cpu":"6.9","cpu_average":"12","mem":"0.0"},"1552":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/gp_bldg_03_side -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/gp_bldg_03_side-%Y%m%d%H%M%S.mp4","cpu":"2.8","cpu_average":"10","mem":"0.0"},"510368":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_exterior_front_sub -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_exterior_front-%Y%m%d%H%M%S.mp4 -r 5 -vf fps=5,scale_cuda=w=1536:h=576:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"7.9","cpu_average":"14","mem":"0.2"},"510533":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_workbench -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_workbench-%Y%m%d%H%M%S.mp4","cpu":"6.5","cpu_average":"13","mem":"0.0"},"510536":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_front -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -c:a aac /tmp/cache/warehouse_interior_front-%Y%m%d%H%M%S.mp4","cpu":"6.5","cpu_average":"13","mem":"0.0"},"510885":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_workbench_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.8","cpu_average":"5","mem":"0.2"},"510887":{"cmdline":"ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel cuda -hwaccel_output_format cuda -user_agent FFmpeg Frigate/0.13.0-8e584cf -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -timeout 5000000 -use_wallclock_as_timestamps 1 -i rtsp://127.0.0.1:8554/warehouse_interior_front_sub -r 5 -vf fps=5,scale_cuda=w=640:h=480:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:","cpu":"2.8","cpu_average":"5","mem":"0.2"},"1350392":{"cmdline":"sleep 30s","cpu":"0.0","cpu_average":"0","mem":"0.0"}},"detection_fps":107.6,"detectors":{"coral":{"detection_start":1689510989.004715,"inference_speed":9.48,"pid":1311}},"gp525_doorbell":{"camera_fps":0.0,"capture_pid":null,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":0,"pid":null,"process_fps":0.0,"skipped_fps":0.0},"gp636_doorbell":{"camera_fps":5.1,"capture_pid":1473,"detection_enabled":1,"detection_fps":4.4,"ffmpeg_pid":1482,"pid":1346,"process_fps":5.0,"skipped_fps":0.0},"gp_bldg_03_side":{"camera_fps":5.0,"capture_pid":1515,"detection_enabled":1,"detection_fps":7.7,"ffmpeg_pid":1546,"pid":1353,"process_fps":5.1,"skipped_fps":0.0},"gp_bldg_08_front":{"camera_fps":5.0,"capture_pid":1496,"detection_enabled":1,"detection_fps":4.9,"ffmpeg_pid":1503,"pid":1350,"process_fps":5.0,"skipped_fps":0.0},"gp_bldg_08_rear":{"camera_fps":5.1,"capture_pid":1502,"detection_enabled":1,"detection_fps":5.1,"ffmpeg_pid":1538,"pid":1352,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_back_door":{"camera_fps":5.0,"capture_pid":1431,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1439,"pid":1336,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_banquet":{"camera_fps":5.0,"capture_pid":1438,"detection_enabled":1,"detection_fps":0.7,"ffmpeg_pid":1450,"pid":1338,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_firepit":{"camera_fps":5.0,"capture_pid":1460,"detection_enabled":1,"detection_fps":6.0,"ffmpeg_pid":1470,"pid":1342,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_front_door":{"camera_fps":5.1,"capture_pid":1420,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1433,"pid":1335,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_gym_1":{"camera_fps":5.0,"capture_pid":1402,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1407,"pid":1332,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_gym_2":{"camera_fps":5.1,"capture_pid":1411,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1426,"pid":1333,"process_fps":5.1,"skipped_fps":0.0},"gp_clubhouse_parking":{"camera_fps":5.1,"capture_pid":1466,"detection_enabled":1,"detection_fps":5.0,"ffmpeg_pid":1474,"pid":1344,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_pool":{"camera_fps":5.0,"capture_pid":1452,"detection_enabled":1,"detection_fps":5.9,"ffmpeg_pid":1463,"pid":1341,"process_fps":5.0,"skipped_fps":0.0},"gp_clubhouse_pool_porch":{"camera_fps":5.0,"capture_pid":1445,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1455,"pid":1339,"process_fps":5.0,"skipped_fps":0.0},"gp_entrance_75":{"camera_fps":5.1,"capture_pid":1480,"detection_enabled":1,"detection_fps":3.1,"ffmpeg_pid":1491,"pid":1347,"process_fps":5.1,"skipped_fps":0.0},"gp_entrance_archer":{"camera_fps":5.0,"capture_pid":1488,"detection_enabled":1,"detection_fps":2.0,"ffmpeg_pid":1497,"pid":1349,"process_fps":5.0,"skipped_fps":0.0},"gpu_usages":{"NVIDIA T1000 8GB":{"gpu":"9.0%","mem":"40.5%"}},"processes":{"go2rtc":{"pid":89},"logger":{"pid":1300},"recording":{"pid":1301}},"service":{"last_updated":1689510989,"latest_version":"0.12.1","storage":{"/dev/shm":{"free":1344.9,"mount_type":"tmpfs","total":1521.0,"used":176.1},"/media/frigate/clips":{"free":613031.8,"mount_type":"zfs","total":3683156.4,"used":3070124.6},"/media/frigate/recordings":{"free":613031.8,"mount_type":"zfs","total":3683156.4,"used":3070124.6},"/tmp/cache":{"free":615350.5,"mount_type":"overlay","total":670697.8,"used":55347.2}},"temperatures":{},"uptime":38463,"version":"0.13.0-8e584cf"},"warehouse_exterior_doorbell":{"camera_fps":0.0,"capture_pid":null,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":0,"pid":null,"process_fps":0.0,"skipped_fps":0.0},"warehouse_exterior_front":{"camera_fps":5.0,"capture_pid":1369,"detection_enabled":1,"detection_fps":9.3,"ffmpeg_pid":510368,"pid":1324,"process_fps":5.0,"skipped_fps":0.0},"warehouse_exterior_nw":{"camera_fps":5.0,"capture_pid":1355,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1360,"pid":1320,"process_fps":5.0,"skipped_fps":0.0},"warehouse_exterior_se":{"camera_fps":5.1,"capture_pid":1363,"detection_enabled":1,"detection_fps":12.1,"ffmpeg_pid":1370,"pid":1323,"process_fps":4.6,"skipped_fps":0.3},"warehouse_exterior_sw":{"camera_fps":5.1,"capture_pid":1358,"detection_enabled":1,"detection_fps":8.1,"ffmpeg_pid":1364,"pid":1321,"process_fps":5.0,"skipped_fps":0.0},"warehouse_interior_front":{"camera_fps":5.1,"capture_pid":1383,"detection_enabled":1,"detection_fps":12.2,"ffmpeg_pid":510887,"pid":1327,"process_fps":4.6,"skipped_fps":0.3},"warehouse_interior_office":{"camera_fps":5.1,"capture_pid":1390,"detection_enabled":1,"detection_fps":0.0,"ffmpeg_pid":1408,"pid":1329,"process_fps":5.1,"skipped_fps":0.0},"warehouse_interior_overview":{"camera_fps":5.0,"capture_pid":1398,"detection_enabled":1,"detection_fps":5.3,"ffmpeg_pid":1409,"pid":1330,"process_fps":5.0,"skipped_fps":0.0},"warehouse_workbench":{"camera_fps":5.1,"capture_pid":1375,"detection_enabled":1,"detection_fps":15.8,"ffmpeg_pid":510885,"pid":1326,"process_fps":2.9,"skipped_fps":2.1}}
```


### Operating system

HassOS

### Install method

HassOS Addon

### Coral version

USB

### Network connection

Wired

### Camera make and model

NA

### Any other information that may be helpful

_No response_


Discussion:
What type of mount is /db/?
Filesystem is ext4, SSD, separate drive from /media/frigate
I started seeing this too, let me know what I can do to help debug.

```
0.13.0-dacf45c
```


```
2023-07-18 09:50:05.972838129  Exception in thread timeline_processor:
2023-07-18 09:50:05.972852518  Traceback (most recent call last):
2023-07-18 09:50:05.972855499    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 09:50:05.975147184      cursor.execute(sql, params or ())
2023-07-18 09:50:05.975158221  sqlite3.OperationalError: database is locked
2023-07-18 09:50:05.975159517  
2023-07-18 09:50:05.975162406  During handling of the above exception, another exception occurred:
2023-07-18 09:50:05.975163536  
2023-07-18 09:50:05.975165202  Traceback (most recent call last):
2023-07-18 09:50:05.975169462    File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2023-07-18 09:50:05.985262396      self.run()
2023-07-18 09:50:05.985274137    File "/opt/frigate/frigate/timeline.py", line 46, in run
2023-07-18 09:50:05.985275859      self.handle_object_detection(
2023-07-18 09:50:05.985278155    File "/opt/frigate/frigate/timeline.py", line 92, in handle_object_detection
2023-07-18 09:50:05.985279914      Timeline.insert(timeline_entry).execute()
2023-07-18 09:50:05.985282137    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 1966, in inner
2023-07-18 09:50:05.985283970      return method(self, database, *args, **kwargs)
2023-07-18 09:50:05.985292933    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2037, in execute
2023-07-18 09:50:05.985379413      return self._execute(database)
2023-07-18 09:50:05.985382413    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2842, in _execute
2023-07-18 09:50:05.985385062      return super(Insert, self)._execute(database)
2023-07-18 09:50:05.985387339    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2556, in _execute
2023-07-18 09:50:05.985500801      return self.handle_result(database, cursor)
2023-07-18 09:50:05.985504061    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2851, in handle_result
2023-07-18 09:50:05.985572801      return database.last_insert_id(cursor, self._query_type)
2023-07-18 09:50:05.985576153    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3749, in last_insert_id
2023-07-18 09:50:05.985577967      return cursor.lastrowid
2023-07-18 09:50:05.985580449    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 87, in lastrowid
2023-07-18 09:50:05.985581819      self._wait()
2023-07-18 09:50:05.985584264    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 62, in _wait
2023-07-18 09:50:05.985585690      raise self._exc
2023-07-18 09:50:05.985588097    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 177, in execute
2023-07-18 09:50:05.985645059      cursor = self.database._execute(obj.sql, obj.params)
2023-07-18 09:50:05.985648226    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 09:50:05.986163018      cursor.execute(sql, params or ())
2023-07-18 09:50:05.986285387    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3014, in __exit__
2023-07-18 09:50:05.987740153      reraise(new_type, new_type(exc_value, *exc_args), traceback)
2023-07-18 09:50:05.987876578    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 192, in reraise
2023-07-18 09:50:05.988446832      raise value.with_traceback(tb)
2023-07-18 09:50:05.988571202    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 09:50:05.990128541      cursor.execute(sql, params or ())
2023-07-18 09:50:05.990474519  peewee.OperationalError: database is locked
```

```
2023-07-18 12:55:50.776418134  Exception in thread event_cleanup:
2023-07-18 12:55:50.776429856  Traceback (most recent call last):
2023-07-18 12:55:50.776481448    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 12:55:50.777896732      cursor.execute(sql, params or ())
2023-07-18 12:55:50.777944121  sqlite3.OperationalError: database is locked
2023-07-18 12:55:50.777946121  
2023-07-18 12:55:50.777948491  During handling of the above exception, another exception occurred:
2023-07-18 12:55:50.777949750  
2023-07-18 12:55:50.778240618  Traceback (most recent call last):
2023-07-18 12:55:50.778247618    File "/usr/lib/python3.9/threading.py", line 954, in _bootstrap_inner
2023-07-18 12:55:50.778670929      self.run()
2023-07-18 12:55:50.778706855    File "/opt/frigate/frigate/events/cleanup.py", line 164, in run
2023-07-18 12:55:50.779064556      self.expire("clips")
2023-07-18 12:55:50.779100407    File "/opt/frigate/frigate/events/cleanup.py", line 125, in expire
2023-07-18 12:55:50.779403479      update_query.execute()
2023-07-18 12:55:50.779438015    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 1966, in inner
2023-07-18 12:55:50.780254842      return method(self, database, *args, **kwargs)
2023-07-18 12:55:50.780291212    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2037, in execute
2023-07-18 12:55:50.781140019      return self._execute(database)
2023-07-18 12:55:50.781146408    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2556, in _execute
2023-07-18 12:55:50.782277361      return self.handle_result(database, cursor)
2023-07-18 12:55:50.782289621    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 2567, in handle_result
2023-07-18 12:55:50.783319408      return database.rows_affected(cursor)
2023-07-18 12:55:50.783329704    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3759, in rows_affected
2023-07-18 12:55:50.784712729      return cursor.rowcount
2023-07-18 12:55:50.784725248    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 93, in rowcount
2023-07-18 12:55:50.785003412      self._wait()
2023-07-18 12:55:50.785041560    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 62, in _wait
2023-07-18 12:55:50.785281336      raise self._exc
2023-07-18 12:55:50.785288761    File "/usr/local/lib/python3.9/dist-packages/playhouse/sqliteq.py", line 177, in execute
2023-07-18 12:55:50.785544111      cursor = self.database._execute(obj.sql, obj.params)
2023-07-18 12:55:50.785551944    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 12:55:50.786711971      cursor.execute(sql, params or ())
2023-07-18 12:55:50.786721953    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3014, in __exit__
2023-07-18 12:55:50.787886128      reraise(new_type, new_type(exc_value, *exc_args), traceback)
2023-07-18 12:55:50.787897350    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 192, in reraise
2023-07-18 12:55:50.788201199      raise value.with_traceback(tb)
2023-07-18 12:55:50.788209088    File "/usr/local/lib/python3.9/dist-packages/peewee.py", line 3246, in execute_sql
2023-07-18 12:55:50.789472114      cursor.execute(sql, params or ())
2023-07-18 12:55:50.789526855  peewee.OperationalError: database is locked
```

Resolving patch:
diff --git a/frigate/app.py b/frigate/app.py
--- a/frigate/app.py
+++ b/frigate/app.py
@@ -313,7 +313,7 @@ def bind_database(self) -> None:
                 "cache_size": -512 * 1000,  # 512MB of cache,
                 "synchronous": "NORMAL",  # Safe when using WAL https://www.sqlite.org/pragma.html#pragma_synchronous
             },
-            timeout=60,
+            timeout=10 * len([c for c in self.config.cameras.values() if c.enabled]),
         )
         models = [Event, Recordings, Timeline]
         self.db.bind(models)
diff --git a/frigate/record/record.py b/frigate/record/record.py
--- a/frigate/record/record.py
+++ b/frigate/record/record.py
@@ -45,7 +45,7 @@ def receiveSignal(signalNumber: int, frame: Optional[FrameType]) -> None:
             "cache_size": -512 * 1000,  # 512MB of cache
             "synchronous": "NORMAL",  # Safe when using WAL https://www.sqlite.org/pragma.html#pragma_synchronous
         },
-        timeout=60,
+        timeout=10 * len([c for c in config.cameras.values() if c.enabled]),
     )
     models = [Event, Recordings, Timeline, RecordingsToDelete]
     db.bind(models)


Test patch: