-
Notifications
You must be signed in to change notification settings - Fork 269
Replace pids_limit with memory limits #181
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,7 +5,9 @@ services: | |
| restart: ${RESTART_POLICY} | ||
| security_opt: | ||
| - no-new-privileges:true | ||
| pids_limit: 100 | ||
| # See https://docs.mattermost.com/administration-guide/scale/scaling-for-enterprise.html | ||
| # for guidance on memory limits based on your deployment size. | ||
| mem_limit: 16G | ||
| read_only: true | ||
| tmpfs: | ||
| - /tmp | ||
|
|
@@ -28,7 +30,9 @@ services: | |
| restart: ${RESTART_POLICY} | ||
| security_opt: | ||
| - no-new-privileges:true | ||
| pids_limit: 200 | ||
| # See https://docs.mattermost.com/administration-guide/scale/scaling-for-enterprise.html | ||
| # for guidance on memory limits based on your deployment size. | ||
| mem_limit: 4G | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This seemed to be a bit low to me, but it's okay for small instances.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The docker install is meant for smaller instances and POCs. I think it's fine to keep the limit low. |
||
| read_only: ${MATTERMOST_CONTAINER_READONLY} | ||
| tmpfs: | ||
| - /tmp | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.