forked from facebookincubator/katran
-
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.
allow to specify should unlimited memlock be used or not (facebookinc…
…ubator#43) Summary: by default katran today requesting (during startup) unlimited amount of locked memory. this is suboptimal for environments where container managment system wants to enforce this number as well. in this diff i'm adding a flag in katran's config, which would allow us to bypas setting memlock limit to unlimited, and hence would rely on external (to katran) managing system to do so this diff wont change defautl behavior - by default we still would try to set limit to RLIM_UNLIMITED Tested By: unittests + katran_tester Pull Request resolved: facebookincubator#43 Pulled By: udippant Reviewed By: sharma95 Differential Revision: D17097200 fbshipit-source-id: aff4f8aa956d24885fcaf911f52a3e17904e15bf
- Loading branch information
Showing
3 changed files
with
8 additions
and
2 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