frigate: [Config Support]: WARNING : Unable to keep up with recording segments in cache for . Keeping the 6 most recent segments out of 7 and discarding the rest...

Describe the problem you are having

Hello everyone,

I am seeing the following message in the logs. Not sure if it appeared after upgrading to 0.13.1 or happened before (as I am usually not monitoring the logs so closely if everything works). However, I changed the config so all cameras are using webrtc now (because this way I can hear and record audio as well). Frigate is running on an unRaid which is mostly idling. It is powered by an i5-12600 with 64GB RAM, all storage is local NVMe. It looks like the warnings start once a webrtc stream is viewed - in the web app or via home assistant.

I really appreciate your help solving this issue. ๐Ÿ˜ƒ

Version

0.13.1-34FB1C2

Frigate config file

mqtt:
  host: host
  port: port
  topic_prefix: prefix
  user: user
  password: password

cameras:
  housedoor:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/housedoor?video=copy
          roles:
            - detect
            - record
            - rtmp
    detect:
      width: 1280
      height: 720
      fps: 5
    motion:
      mask:
        - 521,329,449,333,391,333,260,334,173,334,177,410,100,398,99,300,110,255,163,225,336,218,447,211,519,202,548,231,628,231,709,234,708,259,692,286,689,329
        - 1068,75,1084,145,1102,232,1110,329,1107,415,1091,507,1063,601,1035,675,1008,720,1280,720,1280,0,1044,0
    zones:
      driveway:
        coordinates: 0,527,0,559,0,596,54,720,279,720,478,517,403,457,432,440,314,430,76,501
      parking_space:
        coordinates: 475,513,186,463,314,423,526,442,685,443,700,509,552,510
      entrance:
        coordinates: 762,690,808,681,829,720,548,720,388,720,456,616,494,607,553,510,700,510
    objects:
      track:
        - person
        - car
        - bicycle
        - dog
        - cat
      filters:
        person:
          min_score: 0.8
        car:
          min_score: 0.8
        dog:
          min_score: 0.8
          max_area: 45000
        cat:
          min_score: 0.8
          max_area: 30000
    snapshots:
      enabled: true
      timestamp: true
      required_zones:
        - entrance
        - driveway
      bounding_box: true
      retain:
        default: 365
    record:
      enabled: true
      retain:
        days: 14
        mode: all # 24/7 recording for 14 days
      events:
        pre_capture: 5
        post_capture: 5
        objects:
          - person
          - cat
          - dog
        required_zones:
          - entrance
          - driveway
        retain:
          default: 31

  garden:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/garden?video=copy
          input_args: preset-rtsp-restream
          roles:
            - record
            - rtmp
        - path: rtsp://127.0.0.1:8554/garden_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      width: 640
      height: 360
      fps: 5
    motion:
      mask:
        - 0,0,81,0,150,0,239,0,396,0,234,21,166,35,117,66,63,96,34,120,0,148
    zones:
      lawn:
        coordinates: 308,360,158,291,26,205,84,157,159,112,309,110,459,119,640,139,631,245,626,316,616,360
      terrace:
        coordinates: 193,310,23,203,0,228,0,301,37,360,306,360
      behind_garden:
        coordinates: 417,92,314,91,246,94,168,97,191,80,247,74,290,72,325,54,409,47,466,55,532,55,597,62,617,68,640,115
    objects:
      track:
        - person
        - cat
        - dog
        - bottle
      filters:
        person:
          min_score: 0.8
        dog:
          min_score: 0.7
        cat:
          min_score: 0.7
        bottle:
          min_score: 0.7
    snapshots:
      enabled: true
      timestamp: true
      required_zones:
        - lawn
        - terrace
      bounding_box: true
      retain:
        default: 365
    record:
      enabled: true
      events:
        pre_capture: 10
        post_capture: 10
        objects:
          - person
          - cat
          - dog
          - bottle
        required_zones:
          - lawn
          - terrace
          - behind_garden
        retain:
          default: 31

  garden_side:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/garden_side?video=copy
          input_args: preset-rtsp-restream
          roles:
            - record
            - rtmp
        - path: rtsp://127.0.0.1:8554/garden_side_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      width: 640
      height: 360
      fps: 5
    zones:
      lawn:
        coordinates: 608,195,563,107,493,105,551,251
      terrace:
        coordinates: 400,100,497,107,550,249,513,275,431,312,422,295,377,317,281,113
      garagedoor:
        coordinates: 65,147,71,199,1,216,0,313,12,358,208,360,310,324,217,122
    objects:
      track:
        - person
        - cat
        - dog
      filters:
        person:
          min_score: 0.79
        dog:
          min_score: 0.75
        cat:
          min_score: 0.75
          max_area: 25000
    snapshots:
      enabled: true
      timestamp: true
      bounding_box: true
      retain:
        default: 365
    record:
      enabled: true
      events:
        pre_capture: 10
        post_capture: 10
        objects:
          - person
          - cat
          - dog
        retain:
          default: 31

  garage:
    ffmpeg:
      inputs:
        - path: rtsp://127.0.0.1:8554/garage?video=copy
          input_args: preset-rtsp-restream
          roles:
            - record
            - rtmp
        - path: rtsp://127.0.0.1:8554/garage_sub?video=copy
          input_args: preset-rtsp-restream
          roles:
            - detect
    detect:
      width: 640
      height: 360
      fps: 5
    zones:
      garage_parking_space:
        coordinates: 342,360,98,360,0,360,320,167,539,205,536,279,521,360
    objects:
      track:
        - person
        - car
      filters:
        person:
          min_score: 0.8
    snapshots:
      enabled: true
      timestamp: true
      required_zones:
        - garage_parking_space
      bounding_box: true
      retain:
        default: 365
    record:
      enabled: true
      events:
        pre_capture: 10
        post_capture: 10
        objects:
          - person
        required_zones:
          - garage_parking_space
        retain:
          default: 31

go2rtc:
  streams:
    housedoor:
      - rtsp://user:password@ip:port/mpeg/media.amp
      #- "ffmpeg:housedoor_audio#audio=copy"
    garden:
      - rtsp://user:password@ip:port/h264Preview_01_main
      - "ffmpeg:garden#audio=opus" 
    garden_sub:
      - rtsp://user:password@ip:port/h264Preview_01_sub
      - "ffmpeg:garden_sub#audio=opus"
    garden_side:
      - rtsp://user:password@ip:port/h264Preview_01_main
      - "ffmpeg:garden_side#audio=opus" 
    garden_side_sub:
      - rtsp://user:password@ip:port/h264Preview_01_sub
      - "ffmpeg:garden_side_sub#audio=opus"
    garage:
      - rtsp://user:password@ip:port/h264Preview_01_main
      - "ffmpeg:garage#audio=opus" 
    garage_sub:
      - rtsp://user:password@ip:port/h264Preview_01_sub
      - "ffmpeg:garage_sub#audio=opus"

timestamp_style:
  position: "tr"
  format: "%d.%m.%Y %H:%M:%S"
record:
  # This can be used to reduce the frequency of deleting recording segments from disk if you want to minimize i/o
  expire_interval: 2480
database:
  path: /db/frigate.db
ffmpeg:
  hwaccel_args: preset-intel-qsv-h264
  output_args:
    record: preset-record-generic-audio-copy
detectors:
  coral:
    type: edgetpu
    device: usb
logger:
  logs:
    frigate.record.maintainer: debug

Relevant log output

2024-02-01 17:06:12.149434276  [INFO] Preparing Frigate...
2024-02-01 17:06:12.158444127  [INFO] Starting Frigate...
2024-02-01 17:06:12.813948155  [2024-02-01 17:06:12] frigate.app                    INFO    : Starting Frigate (0.13.1-34fb1c2)
2024-02-01 17:06:12.850252422  [2024-02-01 17:06:12] peewee_migrate.logs            INFO    : Starting migrations
2024-02-01 17:06:12.856009078  [2024-02-01 17:06:12] peewee_migrate.logs            INFO    : There is nothing to migrate
2024-02-01 17:06:12.859401767  [2024-02-01 17:06:12] frigate.app                    INFO    : Recording process started: 585
2024-02-01 17:06:12.860303250  [2024-02-01 17:06:12] frigate.app                    INFO    : go2rtc process pid: 89
2024-02-01 17:06:12.871760088  [2024-02-01 17:06:12] detector.coral                 INFO    : Starting detection process: 595
2024-02-01 17:06:15.690599609  [2024-02-01 17:06:12] frigate.app                    INFO    : Output process started: 597
2024-02-01 17:06:15.690650684  [2024-02-01 17:06:12] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2024-02-01 17:06:15.690720197  [2024-02-01 17:06:12] frigate.app                    INFO    : Camera processor started for housedoor: 620
2024-02-01 17:06:15.690739766  [2024-02-01 17:06:12] frigate.app                    INFO    : Camera processor started for garden: 621
2024-02-01 17:06:15.690755603  [2024-02-01 17:06:12] frigate.app                    INFO    : Camera processor started for garden_side: 624
2024-02-01 17:06:15.690771309  [2024-02-01 17:06:12] frigate.app                    INFO    : Camera processor started for garage: 626
2024-02-01 17:06:15.690794725  [2024-02-01 17:06:12] frigate.app                    INFO    : Capture process started for housedoor: 628
2024-02-01 17:06:15.690812688  [2024-02-01 17:06:12] frigate.app                    INFO    : Capture process started for garden: 631
2024-02-01 17:06:15.690828236  [2024-02-01 17:06:12] frigate.app                    INFO    : Capture process started for garden_side: 635
2024-02-01 17:06:15.690853382  [2024-02-01 17:06:12] frigate.app                    INFO    : Capture process started for garage: 639
2024-02-01 17:06:15.692478102  [2024-02-01 17:06:15] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found
2024-02-01 17:06:28.029035818  [2024-02-01 17:06:28] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/06.15.mp4 in 0.09834814071655273 seconds.
2024-02-01 17:06:38.035207493  [2024-02-01 17:06:38] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/06.24.mp4 in 0.02841496467590332 seconds.
2024-02-01 17:06:48.043481285  [2024-02-01 17:06:48] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/06.34.mp4 in 0.028841018676757812 seconds.
2024-02-01 17:06:58.110552062  [2024-02-01 17:06:58] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/06.44.mp4 in 0.04150104522705078 seconds.
2024-02-01 17:07:07.866734498  [2024-02-01 17:07:07] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:08.155383644  [2024-02-01 17:07:08] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/06.54.mp4 in 0.03953289985656738 seconds.
2024-02-01 17:07:12.866809148  [2024-02-01 17:07:12] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:12.866811376  [2024-02-01 17:07:12] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:17.866902909  [2024-02-01 17:07:17] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:17.867140592  [2024-02-01 17:07:17] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:18.145928352  [2024-02-01 17:07:18] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.04.mp4 in 0.044499874114990234 seconds.
2024-02-01 17:07:22.867001733  [2024-02-01 17:07:22] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:22.867196821  [2024-02-01 17:07:22] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:27.867032637  [2024-02-01 17:07:27] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:27.867303906  [2024-02-01 17:07:27] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:28.160687698  [2024-02-01 17:07:28] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.13.mp4 in 0.021125078201293945 seconds.
2024-02-01 17:07:32.867111142  [2024-02-01 17:07:32] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:32.867287280  [2024-02-01 17:07:32] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:37.867058180  [2024-02-01 17:07:37] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:37.867355987  [2024-02-01 17:07:37] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:38.183313896  [2024-02-01 17:07:38] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.24.mp4 in 0.020772933959960938 seconds.
2024-02-01 17:07:42.867669980  [2024-02-01 17:07:42] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:42.867987101  [2024-02-01 17:07:42] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:47.867286466  [2024-02-01 17:07:47] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:47.867896608  [2024-02-01 17:07:47] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:47.868201597  [2024-02-01 17:07:47] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:48.213397331  [2024-02-01 17:07:48] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.33.mp4 in 0.02193593978881836 seconds.
2024-02-01 17:07:52.867544994  [2024-02-01 17:07:52] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:52.867726319  [2024-02-01 17:07:52] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:52.867876515  [2024-02-01 17:07:52] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:57.869288084  [2024-02-01 17:07:57] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:57.869665196  [2024-02-01 17:07:57] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:07:57.870078543  [2024-02-01 17:07:57] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:07:58.236825070  [2024-02-01 17:07:58] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.43.mp4 in 0.03093099594116211 seconds.
2024-02-01 17:08:02.867753160  [2024-02-01 17:08:02] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:02.867980016  [2024-02-01 17:08:02] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:02.868047684  [2024-02-01 17:08:02] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:07.867695491  [2024-02-01 17:08:07] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:07.867975098  [2024-02-01 17:08:07] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:07.868260491  [2024-02-01 17:08:07] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:08.221729480  [2024-02-01 17:08:08] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/07.53.mp4 in 0.028625011444091797 seconds.
2024-02-01 17:08:12.868152782  [2024-02-01 17:08:12] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:12.868497846  [2024-02-01 17:08:12] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:12.868581627  [2024-02-01 17:08:12] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:17.868332689  [2024-02-01 17:08:17] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:17.868645202  [2024-02-01 17:08:17] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:17.868719395  [2024-02-01 17:08:17] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:18.197403690  [2024-02-01 17:08:18] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/08.03.mp4 in 0.02820110321044922 seconds.
2024-02-01 17:08:22.868196477  [2024-02-01 17:08:22] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:22.868356071  [2024-02-01 17:08:22] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:22.868470277  [2024-02-01 17:08:22] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:27.868049419  [2024-02-01 17:08:27] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:27.868218614  [2024-02-01 17:08:27] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:27.868327395  [2024-02-01 17:08:27] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:28.206187341  [2024-02-01 17:08:28] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/08.13.mp4 in 0.02851700782775879 seconds.
2024-02-01 17:08:32.868348206  [2024-02-01 17:08:32] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:32.868553601  [2024-02-01 17:08:32] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:32.868657218  [2024-02-01 17:08:32] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:37.868380455  [2024-02-01 17:08:37] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:37.868606790  [2024-02-01 17:08:37] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:37.868770119  [2024-02-01 17:08:37] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:38.179733756  [2024-02-01 17:08:38] frigate.record.maintainer      DEBUG   : Copied /media/frigate/recordings/2024-02-01/16/housedoor/08.23.mp4 in 0.020501136779785156 seconds.
2024-02-01 17:08:42.868909155  [2024-02-01 17:08:42] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden. Keeping the 6 most recent segments out of 8 and discarding the rest...
2024-02-01 17:08:42.869133134  [2024-02-01 17:08:42] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garage. Keeping the 6 most recent segments out of 7 and discarding the rest...
2024-02-01 17:08:42.869297392  [2024-02-01 17:08:42] frigate.record.maintainer      WARNING : Unable to keep up with recording segments in cache for garden_side. Keeping the 6 most recent segments out of 7 and discarding the rest...

Frigate stats

{
  "cameras":
    {
      "garage":
        {
          "audio_dBFS": 0.0,
          "audio_rms": 0.0,
          "camera_fps": 10.1,
          "capture_pid": 639,
          "detection_enabled": 1,
          "detection_fps": 0.0,
          "ffmpeg_pid": 648,
          "pid": 626,
          "process_fps": 10.1,
          "skipped_fps": 0.0,
        },
      "garden":
        {
          "audio_dBFS": 0.0,
          "audio_rms": 0.0,
          "camera_fps": 10.0,
          "capture_pid": 631,
          "detection_enabled": 1,
          "detection_fps": 0.0,
          "ffmpeg_pid": 636,
          "pid": 621,
          "process_fps": 10.0,
          "skipped_fps": 0.0,
        },
      "garden_side":
        {
          "audio_dBFS": 0.0,
          "audio_rms": 0.0,
          "camera_fps": 10.0,
          "capture_pid": 635,
          "detection_enabled": 1,
          "detection_fps": 0.0,
          "ffmpeg_pid": 643,
          "pid": 624,
          "process_fps": 10.0,
          "skipped_fps": 0.0,
        },
      "housedoor":
        {
          "audio_dBFS": 0.0,
          "audio_rms": 0.0,
          "camera_fps": 10.0,
          "capture_pid": 628,
          "detection_enabled": 1,
          "detection_fps": 0.0,
          "ffmpeg_pid": 633,
          "pid": 620,
          "process_fps": 10.0,
          "skipped_fps": 0.0,
        },
    },
  "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",
        },
      "16":
        {
          "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 s6rc-oneshot-runner",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "25":
        {
          "cmdline": "s6-supervise s6rc-fdholder",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "26":
        {
          "cmdline": "s6-supervise frigate",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "27":
        {
          "cmdline": "s6-supervise frigate-log",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "28":
        {
          "cmdline": "s6-supervise go2rtc",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "29":
        {
          "cmdline": "s6-supervise go2rtc-healthcheck",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "30":
        {
          "cmdline": "s6-supervise go2rtc-log",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "31":
        {
          "cmdline": "s6-supervise nginx",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "32":
        {
          "cmdline": "s6-supervise nginx-log",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "41":
        {
          "cmdline": "/package/admin/s6-2.11.3.2/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": "5.6",
          "cpu_average": "5",
          "mem": "0.1",
        },
      "97":
        {
          "cmdline": "bash ./run.user go2rtc-healthcheck",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "98":
        {
          "cmdline": "python3 -u -m frigate",
          "cpu": "1.2",
          "cpu_average": "1",
          "mem": "0.5",
        },
      "113":
        {
          "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",
        },
      "161":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "181":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "211":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "241":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "271":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "311":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "350":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "377":
        {
          "cmdline": "nginx: worker process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "419":
        {
          "cmdline": "nginx: cache manager process",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "583":
        {
          "cmdline": "frigate.logger       ",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "585":
        {
          "cmdline": "frigate.recording_manager",
          "cpu": "6.4",
          "cpu_average": "5",
          "mem": "0.2",
        },
      "594":
        {
          "cmdline": "/usr/bin/python3 -c from multiprocessing.resource_tracker import main;main(53)",
          "cpu": "0.2",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "595":
        {
          "cmdline": "frigate.detector.coral",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "597":
        {
          "cmdline": "frigate.output       ",
          "cpu": "0.6",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "603":
        {
          "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "604":
        {
          "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "605":
        {
          "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "606":
        {
          "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "607":
        {
          "cmdline": "ffmpeg -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
      "620":
        {
          "cmdline": "frigate.process:housedoor",
          "cpu": "1.0",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "621":
        {
          "cmdline": "frigate.process:garden",
          "cpu": "0.9",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "624":
        {
          "cmdline": "frigate.process:garden_side",
          "cpu": "0.9",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "626":
        {
          "cmdline": "frigate.process:garage",
          "cpu": "1.0",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "628":
        {
          "cmdline": "frigate.capture:housedoor",
          "cpu": "1.3",
          "cpu_average": "1",
          "mem": "0.2",
        },
      "631":
        {
          "cmdline": "frigate.capture:garden",
          "cpu": "0.5",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "633":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -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/housedoor?video=copy -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/housedoor@%Y%m%d%H%M%S%z.mp4 -r 5 -vf vpp_qsv=framerate=5:w=1280:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
          "cpu": "1.6",
          "cpu_average": "1",
          "mem": "0.1",
        },
      "635":
        {
          "cmdline": "frigate.capture:garden_side",
          "cpu": "0.4",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "636":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garden_sub?video=copy -r 5 -vf vpp_qsv=framerate=5:w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
          "cpu": "0.8",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "639":
        {
          "cmdline": "frigate.capture:garage",
          "cpu": "0.5",
          "cpu_average": "0",
          "mem": "0.2",
        },
      "643":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garden_side_sub?video=copy -r 5 -vf vpp_qsv=framerate=5:w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
          "cpu": "0.8",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "647":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garden?video=copy -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/garden@%Y%m%d%H%M%S%z.mp4",
          "cpu": "0.2",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "648":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garage_sub?video=copy -r 5 -vf vpp_qsv=framerate=5:w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:",
          "cpu": "0.8",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "699":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garden_side?video=copy -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/garden_side@%Y%m%d%H%M%S%z.mp4",
          "cpu": "0.3",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "732":
        {
          "cmdline": "ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -user_agent FFmpeg Frigate/0.13.1-34fb1c2 -rtsp_transport tcp -timeout 5000000 -i rtsp://127.0.0.1:8554/garage?video=copy -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c copy /tmp/cache/garage@%Y%m%d%H%M%S%z.mp4",
          "cpu": "0.3",
          "cpu_average": "0",
          "mem": "0.1",
        },
      "9113":
        {
          "cmdline": "sleep 30s",
          "cpu": "0.0",
          "cpu_average": "0",
          "mem": "0.0",
        },
    },
  "detection_fps": 0.0,
  "detectors":
    {
      "coral": { "detection_start": 0.0, "inference_speed": 7.33, "pid": 595 },
    },
  "gpu_usages": { "intel-qsv": { "gpu": "1.41%", "mem": "-%" } },
  "processes":
    {
      "go2rtc": { "pid": 89 },
      "logger": { "pid": 583 },
      "recording": { "pid": 585 },
    },
  "service":
    {
      "last_updated": 1706804018,
      "latest_version": "0.13.1",
      "storage":
        {
          "/dev/shm":
            {
              "free": 251.1,
              "mount_type": "tmpfs",
              "total": 256.0,
              "used": 4.9,
            },
          "/media/frigate/clips":
            {
              "free": 312329.5,
              "mount_type": "fuse.shfs",
              "total": 953852.7,
              "used": 640965.5,
            },
          "/media/frigate/recordings":
            {
              "free": 312329.5,
              "mount_type": "fuse.shfs",
              "total": 953852.7,
              "used": 640965.5,
            },
          "/tmp/cache":
            {
              "free": 927.4,
              "mount_type": "tmpfs",
              "total": 953.7,
              "used": 26.3,
            },
        },
      "temperatures": {},
      "uptime": 446,
      "version": "0.13.1-34fb1c2",
    },
}

Operating system

UNRAID

Install method

Docker CLI

Coral version

USB

Any other information that may be helpful

Screenshot 2024-02-01 at 17 15 10 Screenshot 2024-02-01 at 17 15 20 Screenshot 2024-02-01 at 17 15 37

Thanks a lot for your help.

About this issue

  • Original URL
  • State: closed
  • Created 5 months ago
  • Comments: 38 (1 by maintainers)

Most upvoted comments

Awesome, thanks a lot for your help! ๐Ÿ˜ƒ

can you try setting the pre_capture to 5 for all of the cameras and see what happens

we need to see a full copy of the logs from before the issue starts, doesnโ€™t matter if it looks the same, it provides useful information