[Support]: 16.0-rc1 100% CPU & memory usage #19364
Replies: 7 comments 11 replies
-
Your configuration uses the Rockchip NPU with the rknn detector and the deci-fp16-yolonas_m model, which is supported for Rockchip-based boards(1). High CPU and memory usage over time is not directly addressed in the documentation, but here are a few things you can check based on best practices from the sources:
There is no explicit log history feature for Frigate outages, but logs stored in Docker or your host (e.g., journalctl, docker logs frigate) are the main sources(2). If you need further troubleshooting steps, you can review: 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
A good place to start would be using tools like |
Beta Was this translation helpful? Give feedback.
-
here is the result of |
Beta Was this translation helpful? Give feedback.
-
After 2days of runtime, the memory is up to 2.77GB (almost 40% of the system memory). And the available system memory is now under 200MB. |
Beta Was this translation helpful? Give feedback.
-
Another update this time with quite significant memory usage increase. The frigate instance is up to 4GB of memory usage (50% of system memory). ![]() |
Beta Was this translation helpful? Give feedback.
-
Any updates on this or things i could do to gather data for you ? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Checklist
Describe the problem you are having
My frigate instance has been running for 4days straight now, and frigate has been consuming more and more memory over time (memory leak ?) and when it reached high 80% usage on my system, the CPU usage started peaking as well, before returning to normal for both memory and CPU.
Then over the next day it started increasing again, and when i tried to connect the whole system was unresponsive. I barely managed to SSH into the server and check the usage using
docker stat
, which reported >90% usage by frigate for both CPU and memory.I then rebooted the system through SSH, but i can only see the logs following the restart.
Steps to reproduce
Version
16.0-rc1-rk
In which browser(s) are you experiencing the issue with?
not relevant
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Since i restarted frigate, i can't read the logs of the outage is there a log history that i could copy from ?
Relevant go2rtc log output
Operating system
Other Linux
Install method
Docker Compose
Network connection
Wired
Camera make and model
Sonoff RTSP cameras
Screenshots of the Frigate UI's System metrics pages
Couldn't reach them, the page would load forever. The only thing i could see is the bottom left status information saying "high CPU usage"
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions