Replies: 10 comments 15 replies
-
Can you post your frigate config? |
Beta Was this translation helpful? Give feedback.
-
Here it is: https://pastebin.com/UV17R8p7 |
Beta Was this translation helpful? Give feedback.
-
Just left 0.8 running overnight and my
docker-compose.yml
Frigate config: Docker inspect: I manually cleared Also not sure if it is related but debug endpoint (http://localhost:5000/doorbell) my cameras look like this: |
Beta Was this translation helpful? Give feedback.
-
@cben0ist Looks like you need |
Beta Was this translation helpful? Give feedback.
-
A few minutes after manually clearing
EDIT: Restarted frigate and everything is working again -- assume the process that is responsible for drawing the frames around objects and cleaning up the cache died and never restarted on it's own. |
Beta Was this translation helpful? Give feedback.
-
I noted something very similar: Frigate was stuck with HA saying that there were 26 people in my living room :-). I didn't check if my cache (tmpfs) was full but I took a screenshot and restarted Frigate. Maybe the same bug. |
Beta Was this translation helpful? Give feedback.
-
I manually built 0.8.0-beta2 and I'm keeping an eye on it. I also took off the size of my tmpfs, volume and just left it the docker default unlimited (which I think is up to half of your RAM)
|
Beta Was this translation helpful? Give feedback.
-
Running beta2, made it about 7hs then at 14:15 local time, around line 1430, /tmp/cache stopped being cleaned up and eventually filled to 16GB: Here is the script where I was keep tracking of /tmp/cache and /dev/shm sizes: At the time the sizes started growing docker container logs had this error:
Full docker logs are here: |
Beta Was this translation helpful? Give feedback.
-
Hi Was facing the same issue, here is how I fixed so far: In docker compose, added this:
Here is how much ram used:
Seems this command in docker compose would limite the ram used if needed. Not tried yet:
|
Beta Was this translation helpful? Give feedback.
-
I regularly get filesystem full issues caused by It seems the underlying cause is the
Manually cleaning the The only solution is to restart the main frigate process. I'll look into submitted a PR to catch such errors in the cleanup thread and continue processing events instead of exiting. Looks like acquiring a lock to the db is missing somewhere, see coleifer/peewee#874 (comment) |
Beta Was this translation helpful? Give feedback.
-
Hi everyone,
I really love using frigate. Since I found out about it about a week ago I have been extensively testing it and setup my 8 cameras through frigate now. I am still letting it running for a few days before I definitely shut down my shinobi instance.
I am successfully running frigate in a proxmox container following the directions from the readme page.
This morning I realized Frigate was not working because my 12Gb container disk was full.
I found this folder /var/lib/docker/overlay2/c9f6665d68f3d1657fc2e79bcf1d77b637b282cda6d17c8fc9f09a86c9152e8d/diff/tmp/cache contains a copy (?) of all my mp4 that I already have in my media folder.
Is there a reason for that ? What is the best way to deal with this ?
Here is my docker-compose file:
Thanks for your help!
Beta Was this translation helpful? Give feedback.
All reactions