blakeblackshear / frigate

NVR with realtime local object detection for IP cameras
https://frigate.video
MIT License
17.99k stars 1.64k forks source link

[Config Support]: Too many write on SSD disk #5744

Closed Hugyleviking closed 1 year ago

Hugyleviking commented 1 year ago

Describe the problem you are having

tmpfs activate on parameters but 20-30 GB per day are writing on SSD and not in memory cache.

Version

2 beta 9, 8 ... on unRAID OS

Frigate config file

--shm-size=256mb --mount type=tmpfs,target=/tmp/cache,tmpfs-size=1000000000 --restart unless-stopped

Relevant log output

Documentation
GitHub
Logs
Copy to Clipboard
2023-03-16 09:53:55.871245393  [2023-03-16 09:53:55] frigate.app                    INFO    : Starting Frigate (0.12.0-66881eb)
2023-03-16 09:53:55.904131063  [2023-03-16 09:53:55] peewee_migrate                 INFO    : Starting migrations
2023-03-16 09:53:55.910200882  [2023-03-16 09:53:55] peewee_migrate                 INFO    : There is nothing to migrate
2023-03-16 09:53:55.936615856  [2023-03-16 09:53:55] frigate.app                    INFO    : Output process started: 282
2023-03-16 09:53:55.945429487  [2023-03-16 09:53:55] frigate.app                    INFO    : Camera processor started for Entree: 288
2023-03-16 09:53:55.950568363  [2023-03-16 09:53:55] frigate.app                    INFO    : Camera processor started for Jardin: 290
2023-03-16 09:53:55.955785303  [2023-03-16 09:53:55] frigate.app                    INFO    : Capture process started for Entree: 292
2023-03-16 09:53:55.964195311  [2023-03-16 09:53:55] frigate.app                    INFO    : Capture process started for Jardin: 294
2023-03-16 09:53:58.552978416  [2023-03-16 09:53:55] detector.coral                 INFO    : Starting detection process: 280
2023-03-16 09:53:58.556397963  [2023-03-16 09:53:55] frigate.detectors.plugins.edgetpu_tfl INFO    : Attempting to load TPU as usb
2023-03-16 09:53:58.556513930  [2023-03-16 09:53:58] frigate.detectors.plugins.edgetpu_tfl INFO    : TPU found

Frigate stats

No response

Operating system

UNRAID

Install method

Docker CLI

Coral version

USB

Any other information that may be helpful

No response

NickM-27 commented 1 year ago

You need to provide your actual config otherwise there's no way to help

Hugyleviking commented 1 year ago
snapshots:
  enabled: true
  timestamp: true
  bounding_box: true
  retain:
    default: 10
    objects:
      person: 17

record:
   enabled: true
   events:
     pre_capture: 5
     post_capture: 5
     objects:
        - person
     retain:
       default: 10
       mode: motion
github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.