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

Allow the shm-size to be configured for an add-on #1807

Closed
knobunc opened this issue Jul 1, 2020 · 1 comment
Closed

Allow the shm-size to be configured for an add-on #1807

knobunc opened this issue Jul 1, 2020 · 1 comment

Comments

@knobunc
Copy link

knobunc commented Jul 1, 2020

Home Assistant release with the issue:

0.111.4

Operating environment (HassOS/Generic):

n/a

Supervisor logs:

n/a

Description of problem:

The Frigate add-on needs more than the default 64M of shared memory. There is an issue for it at mories76/ha-addon-frigate#4

The docker setting is at https://docs.docker.com/engine/reference/run/#runtime-constraints-on-resources

Ideally, it would be possible for the user to configure an shm size if the add-on requests that capability. For Frigate, the tuning would depend on the number of cameras and the resolution used.

At the very least we should allow the add-on to change the shm setting.

@pvizeli
Copy link
Member

pvizeli commented Jul 7, 2020

You can write up an RFC and if they is approved, implement the soution 👍

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

No branches or pull requests

2 participants