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

Set maximum number of connections to 1024 #290

Merged
merged 1 commit into from
Mar 29, 2023

Conversation

agners
Copy link
Contributor

@agners agners commented Mar 29, 2023

Proposed Changes

This avoids upsd allocating an excessive amount of memory (8GB). This is problematic on platforms which have more strict memory overcommitting policies (e.g. currently HAOS 10.0.rc2).

Related Issues

Fixes #289

This avoids upsd allocating an excessive amount of memory (8GB). This is
problematic on platforms which have more strict memory overcommitting
policies (e.g. currently HAOS 10.0.rc2).
Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @agners 👍

../Frenck

@frenck frenck added the enhancement Enhancement of the code, not introducing new features. label Mar 29, 2023
@frenck frenck merged commit 95b3574 into hassio-addons:main Mar 29, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement Enhancement of the code, not introducing new features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error on startup: Out of memory: Cannot allocate memory
2 participants