frigate works with 2 cams, but not with more #395
-
frigate 7.3 and 8.0beta1 runs fine with 2 cams. But if I'm adding one more, I run into the following problem (on both 7.3 and 8). frigate | * Starting nginx nginx |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 14 replies
-
Can you check if your /tmp/cache directory inside the container is filling up? |
Beta Was this translation helpful? Give feedback.
-
If the resolution is high, you may also need to increase your shm-size |
Beta Was this translation helpful? Give feedback.
-
I'm having similar issues on a RPi 4 8GB running the aarch64 image. I have 5 Reolink cameras. I've increased gpu mem in the /boot/config.txt to 512M (RPi4 won't boot with this set to 1024M). I've bumped the shm-size in the docker-compose.yml up to 2g. I'm actually only running the small stream on my reolink cameras right now (640x480) as I can't seem to get it stable. I keep getting weird "smeared" images when I watch the streams at frigate:5000/cam_name like the one attached here. I'm beginning to wonder how much the RPi 4 should be able to decode. It seems to do ok with 1 camera, but when I start enabling more cameras or high bandwidth streams things get unstable. Does anyone know how many streams a RPi4 8GB should reasonably be able to handle? I know the page says a "small" number, but how small is small? ffmpeg: |
Beta Was this translation helpful? Give feedback.
-
Some factors comes into play when it comes to CPU usage. |
Beta Was this translation helpful? Give feedback.
-
Adding the line "gpu_mem=256" at /boot/config.txt fixed the issue. |
Beta Was this translation helpful? Give feedback.
Adding the line "gpu_mem=256" at /boot/config.txt fixed the issue.
Four cams with 1080p/5fps just running fine now!