[Support]: System Metrics Storage not showing correct usage per camera #16825
Replies: 8 comments 12 replies
-
This is not a bug. As indicated in the tooltip in the UI, Frigate tracks recording usage based on the information in its database. It does not spin up your disk to keep track of file usage. There are a number of reasons for possible discrepancies, but if the UI is showing no usage, you can safely delete any files in those directories. |
Beta Was this translation helpful? Give feedback.
-
So why would database have incorrect size in? What do I need to check to find out? |
Beta Was this translation helpful? Give feedback.
-
Recordings were never disabled for camera. All camera configs are the same. Flies are timestamped mp4 files. 05.14.mp4 10.43.mp4 16.13.mp4 21.43.mp4 27.14.mp4 32.44.mp4 38.13.mp4 43.43.mp4 49.13.mp4 54.44.mp4 |
Beta Was this translation helpful? Give feedback.
-
-rw-r--r-- 1 root root 17342 Feb 24 00:58 58.24.mp4 Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '59.53.mp4': |
Beta Was this translation helpful? Give feedback.
-
I only sent a few as an example: |
Beta Was this translation helpful? Give feedback.
-
{ |
Beta Was this translation helpful? Give feedback.
-
so something must go wrong here:
There is no debug what OSError might be causing this though. |
Beta Was this translation helpful? Give feedback.
-
Seems like it is not failing on this one.. Will have to look further where it fails. This one never failed for those few CAM's... I'll look further and let you know |
Beta Was this translation helpful? Give feedback.
-
Checklist
Describe the problem you are having
In System Metrics storage view I see few cameras that show as if they are using 0 of storage which by looking at the actual recordings on disk is incorrect.
Steps to reproduce
...
Version
0.15.0
In which browser(s) are you experiencing the issue with?
No response
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
Operating system
Other Linux
Install method
Docker Compose
Network connection
Wired
Camera make and model
AXIS M3215
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
Output of du of s single hour in a day:
/shared/recordings/recordings/2025-02-25/00$ du -h | sort -r -k2
3.9G ./CAM9
21M ./CAM8
34M ./CAM7
24M ./CAM6
796M ./CAM53
841M ./CAM52
432M ./CAM51
820M ./CAM50
20M ./CAM5
804M ./CAM49
515M ./CAM46
470M ./CAM45
622M ./CAM44
404M ./CAM43
217M ./CAM42
474M ./CAM41
722M ./CAM39
367M ./CAM36
369M ./CAM35
6.8M ./CAM33
577M ./CAM32
493M ./CAM31
60M ./CAM30
85M ./CAM29
51M ./CAM28
6.8M ./CAM27
6.8M ./CAM26
88M ./CAM25
5.7M ./CAM24
6.8M ./CAM21
6.8M ./CAM20
203M ./CAM19
389M ./CAM18
467M ./CAM17
232M ./CAM16
181M ./CAM15
421M ./CAM14
399M ./CAM13
333M ./CAM12
358M ./CAM11
163M ./CAM10
16G .
Beta Was this translation helpful? Give feedback.
All reactions