[Support]: High CPU use and Ffmpeg chrashes "Unable to keep up with recording segments in cache for camera" #13486
Unanswered
Emmett9845
asked this question in
General Support
Replies: 2 comments 24 replies
-
Had the same issue - this solved it for me. |
Beta Was this translation helpful? Give feedback.
1 reply
-
would be good to see other screenshots of the system metrics, the cameras are not using much CPU |
Beta Was this translation helpful? Give feedback.
23 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the problem you are having
since switching to v0.14, frigate will only run for a few hours before cameras start crashing. it appears that my CPU usage is always maxed out. It is an older machine (Intel i7 CPU 950 @ 3.07GHz) that doesn't have hardware acceleration, so I wouldn't be surprised if it's a hardware issue. But I also don't have a ton of confidence in my configurations. everything ran well before I upgraded to 0.14.
I attempted to follow the troubleshooting recordings guide for this error (https://docs.frigate.video/troubleshooting/recordings/), but I'm in over my head.
Version
0.14.1
What browser(s) are you using?
Google Chrome 127.0.6533.132
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
sorry... I can't get this working
Frigate stats
Operating system
Debian
Install method
Docker Compose
Object Detector
Coral
Network connection
Wired
Camera make and model
a mixture of cameras: Amcrest (IP5M-T1179EW-28mm), Loryta (IPC-T54IR-AS 2.8mm), Ubiquiti (G3 Flex, G5 bullet, G3 instant, G4 doorbell pro)
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
docker stats before crash
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
9352f30f17be portainer 0.00% 30.75MiB / 5.779GiB 0.52% 109kB / 2.92MB 64MB / 2.58MB 10
e1c9c1086f8c frigate 753.21% 1.299GiB / 5.779GiB 22.47% 1.07GB / 662MB 3.2MB / 303MB 563
docker stats after crash
CONTAINER ID NAME CPU % MEM USAGE / LIMIT MEM % NET I/O BLOCK I/O PIDS
9352f30f17be portainer 0.00% 30.62MiB / 5.779GiB 0.52% 108kB / 2.92MB 64MB / 2.3MB 10
e1c9c1086f8c frigate 76.61% 1.498GiB / 5.779GiB 25.93% 32.7GB / 19.8GB 197MB / 7.8GB 482
vmstat output:
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
1 0 615432 153408 247280 2990012 0 0 22 189 1 0 25 10 65 0 0
1 0 615432 149880 247280 2992084 0 0 0 0 8555 24118 15 6 79 0 0
1 0 615432 149812 247288 2993976 0 0 0 24 8168 17017 17 6 76 0 0
8 0 615432 124768 247124 2984832 0 0 0 0 13565 25471 34 11 55 0 0
1 0 615432 178144 246932 2964156 0 0 0 0 12349 18783 43 13 44 0 0
10 0 615432 178424 246932 2964920 0 0 0 0 9030 33740 17 8 75 0 0
3 0 615432 175516 246944 2968168 0 0 72 220 9017 31620 18 8 74 0 0
1 0 615432 174856 246948 2969044 0 0 4 25420 9505 27531 17 8 74 2 0
3 0 615432 171048 246948 2972424 0 0 0 0 8148 19079 18 7 75 0 0
5 0 615432 168008 246956 2973784 0 0 0 92 9413 23226 17 7 76 0 0
3 0 615432 165260 246956 2977156 0 0 0 0 7692 17684 17 6 77 0 0
3 0 615432 163920 246980 2978268 0 0 0 148 9052 21078 17 7 76 0 0
2 0 615432 162552 246980 2980816 0 0 0 0 8001 18008 16 7 78 0 0
Beta Was this translation helpful? Give feedback.
All reactions