forked from CollaboraOnline/online
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wsd: admin: use the cgroup limit as available memory
This applies the cgroup memory limit, if set, such that if it is lower than the configured memproportion percentage, we do not exceed it. Otherwise, we risk running out of our cgroup limit and by then it is too late to do anything but die due to OOM. This also moves the logging of the cgroup memory stats from COOLWSD into Admin, to avoid duplicate logging. Also updated the description of memproportion config entry to account for the cgroup logic. Change-Id: I870ae61c1260eb2b3275bd2fa1a4c48ff30957a2 Signed-off-by: Ashod Nakashian <[email protected]>
- Loading branch information
Showing
3 changed files
with
54 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters