[Support]: /dev/shm/logs/frigate/current: No space left on device #11550
Replies: 9 comments 8 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.
-
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%.
![storage](https://private-user-images.githubusercontent.com/79955883/333996419-5e03dfec-4425-46ba-86d9-622f7444172d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNTAwNjIsIm5iZiI6MTcyMjE0OTc2MiwicGF0aCI6Ii83OTk1NTg4My8zMzM5OTY0MTktNWUwM2RmZWMtNDQyNS00NmJhLTg2ZDktNjIyZjc0NDQxNzJkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA2NTYwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ1ZDU4NmMxODI3YTc1ODdkZjVhMjQxOWFiNmY1MWIxZmQ5MTgwODRhYjk1N2E3NzBhNDdhYmZlNGJlNGUwYjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.N-UhqcoGlHTynUQ2bEpv1rcs102XOc_QTuKPwcW2DBg)
Contents of /dev/shm on container, it just all these files per camera configured.
![containershm](https://private-user-images.githubusercontent.com/79955883/333997460-d34ba596-2d3e-4455-a0c5-de4cfaa7575f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNTAwNjIsIm5iZiI6MTcyMjE0OTc2MiwicGF0aCI6Ii83OTk1NTg4My8zMzM5OTc0NjAtZDM0YmE1OTYtMmQzZS00NDU1LWEwYzUtZGU0Y2ZhYTc1NzVmLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA2NTYwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdkZTM2MjM0YWU1NDBiODdiNzIxODc4OTAxNzI1MGU1ZDY4YjFhNjI4M2U0OGMzY2MzZjA0YmVmMzFkODJjOGUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.SXhEqW94Rk81MYL4eTjYIHIGnsaZedc_RSrYmQlpE84)
After deploy contents look like this (at 3% of 256MB)
![image](https://private-user-images.githubusercontent.com/79955883/334001452-5c374480-1e76-4c6b-87d2-d959b76fe8a1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjIxNTAwNjIsIm5iZiI6MTcyMjE0OTc2MiwicGF0aCI6Ii83OTk1NTg4My8zMzQwMDE0NTItNWMzNzQ0ODAtMWU3Ni00YzZiLTg3ZDItZDk1OWI3NmZlOGExLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MjglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzI4VDA2NTYwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVmYTRhMzdkN2M4MzAxOWQ4NGVhYTU2ODlhY2Q3MTk2NGFhNDE2ZmQ5MjMwZjM3NDZhMjk1YmIxMTA0ODM3MjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.z4NjwVy9Y1irjaR9yGgFHb2swO0z2F2VgwNzMxJ4kPA)
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