Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit shm frame count #12363

Merged
merged 15 commits into from
Sep 3, 2024
Merged

Limit shm frame count #12363

merged 15 commits into from
Sep 3, 2024

Conversation

NickM-27
Copy link
Sponsor Collaborator

@NickM-27 NickM-27 commented Jul 9, 2024

The capture process is in charge of deleting frames from SHM meaning downstream processes that may fail won't cause SHM to overflow

Copy link

netlify bot commented Sep 2, 2024

Deploy Preview for frigate-docs canceled.

Name Link
🔨 Latest commit bcfd13f
🔍 Latest deploy log https://app.netlify.com/sites/frigate-docs/deploys/66d735d9764b130008432cd7

* Only keep 2x detect fps frames in SHM

* Don't delete previous shm frames in output

* Catch case where images do not exist

* Ensure files are closed

* Clear out all frames when shutting down

* Correct the number of frames saved

* Simplify empty shm error handling

* Improve frame safety
@NickM-27 NickM-27 merged commit 9afa135 into dev Sep 3, 2024
13 checks passed
@NickM-27 NickM-27 deleted the fix-shm branch September 3, 2024 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants