[Support]: /dev/shm/logs/frigate/current: No space left on device #11550
Replies: 14 comments 44 replies
-
I just noticed I have a significant amount of updates this afternoon on Debian. Including docker, cuda etc. Just applying all those to see what changes. |
Beta Was this translation helpful? Give feedback.
-
We are going to need a full copy of logs |
Beta Was this translation helpful? Give feedback.
-
I'm going to blame updates for this. Nvidia, many other related driverupdates and things appear ok now. Will reopen ifneeded. Thanks. |
Beta Was this translation helpful? Give feedback.
-
I just had the same problem. I performed zero updates. |
Beta Was this translation helpful? Give feedback.
-
I increased my /shm size to 4GB, which reduced Frigate crashing from hourly to ~6 times per day. Did not have any issues previously on 0.13. From another thread I saw, the root cause may be PID limits, which looks like it may be fixed in the next build. |
Beta Was this translation helpful? Give feedback.
-
It happened to me . The problem happened when I run frigate with --network=host. If not, frigate stable. I check using netstat , apparently frigate is listening on port 8082 for process frigate.output. I am guessing this is used to write recording from /dev/shm and /tmp/cache to frigate media. I think frigate should give options on which ports it want to use. |
Beta Was this translation helpful? Give feedback.
-
/dev/shm become full for me too. I am not running in host mode. I recreated the container and it's working for now. Edit: It happened again. I nuked the DB and all recordings and started over. |
Beta Was this translation helpful? Give feedback.
-
This issue came back a few times. In the end I deleted all my recordings and database and have not had the issue since. |
Beta Was this translation helpful? Give feedback.
-
Deleted all recordings and database and also have had no crashes for over a day now. Edit: It crashed again with the Python bus error. Shm size is 4GB so the issue lies elsewhere. |
Beta Was this translation helpful? Give feedback.
-
So... I started having this issue on mine as well and it appears to be related to selinux somehow. selinux appears to be complaining about these at startup of the container
it only attempts these at the startup of the container but as far as I can tell, these are what causes it to have issues with clearing the shared memory I was able to add an selinux policy for |
Beta Was this translation helpful? Give feedback.
-
Does anyone have a solid resolution for this issue? I've had frigate go down multiple times a day the past few days
I've observed it happen over time by running |
Beta Was this translation helpful? Give feedback.
-
I've had frigate run out of space on /dev/shm. This particular setup has some bad networking where cameras come and go unexpectedly. Seems like these files aren't getting cleaned up in all scenarios? Running 0.15.0-ecaba82 here
|
Beta Was this translation helpful? Give feedback.
-
version 0.14.1-f4f3cfa Frigate had a crash today. All information are capture before restarting frigate. Records are stored in the host with SATA drive. Frigate is running as a container. Space issue showed when exporting logs
disk space is not full inside container
Storage is not full on the machine Config file Full log here |
Beta Was this translation helpful? Give feedback.
-
Got out of memory for shm today: |
Beta Was this translation helpful? Give feedback.
-
Describe the problem you are having
Hi all,
After upgrading from the .13 to .14 Frigate seems to fill up /shm and eventually crash.
Usually has 256MB, but granted 1024MB and it just eats it all anyway.
First time i've caught this view with 100%.
Contents of /dev/shm on container, it just all these files per camera configured.
After deploy contents look like this (at 3% of 256MB)
If I refresh this directory, it constantly changes as it presumably should. But I don't seem to catch it filling up.
Version
0.14.0-beta1
Frigate config file
Relevant log output
FFprobe output from your camera
I can't get this working quickly, please let me know if required for this error.
Frigate stats
No response
Operating system
Debian
Install method
Docker Compose
Coral version
USB
Network connection
Wired
Camera make and model
Dahua 5 series and 1 Wyze cam v3
Any other information that may be helpful
Volumes:
/portainer/Files/AppData/Config/frigate /config
/srv/dev-disk-by-uuid-xxxxxxx/frigate/clips /media/frigate/clips
/srv/dev-disk-by-uuid-xxxxxxx/frigate/recordings /media/frigate/recordings
/srv/dev-disk-by-uuid-xxxxxxx/frigate/exports /media/frigate/exports
/srv/dev-disk-by-uuid-xxxxxxx/frigate/cache /tmp/cache
/etc/localtime /etc/localtime
Beta Was this translation helpful? Give feedback.
All reactions