[SERVER-30853] Update Mongod init scripts to set unlimited locked memory Created: 25/Aug/17 Updated: 30/Oct/23 Resolved: 13/Sep/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | 3.2.16, 3.4.7, 3.5.12 |
| Fix Version/s: | 3.2.19, 3.4.11, 3.6.0-rc0 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Kevin Arhelger | Assignee: | Mathew Robinson (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Linux |
||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Backport Requested: |
v3.4, v3.2
|
||||||||||||||||
| Sprint: | Build Ready | ||||||||||||||||
| Participants: | |||||||||||||||||
| Case: | (copied to CRM) | ||||||||||||||||
| Linked BF Score: | 0 | ||||||||||||||||
| Description |
|
MongoDB 3.2+ introduced the secure allocator. This can be used by both the encrypted storage engine and during authentication. With a low locked memory ulimit the following error can cause a crash.
I propose updating all init.d/systemctl scripts to automatically set an unlimited locked memory ulimit for mongod. |
| Comments |
| Comment by Githook User [ 18/Jan/18 ] |
|
Author: {'name': 'Mathew Robinson', 'email': 'mathew.robinson@10gen.com'}Message: (cherry picked from commit 65c82b5017d37aeef9fb0075543424873f1197ad) |
| Comment by Githook User [ 18/Jan/18 ] |
|
Author: {'name': 'Mathew Robinson', 'email': 'mathew.robinson@10gen.com'}Message: (cherry picked from commit 6c8dc5e004bf2c91df10975adef861bcf00af6cd) |
| Comment by Githook User [ 18/Jan/18 ] |
|
Author: {'name': 'Mathew Robinson', 'email': 'mathew.robinson@10gen.com'}Message: (cherry picked from commit 65c82b5017d37aeef9fb0075543424873f1197ad) |
| Comment by Githook User [ 18/Jan/18 ] |
|
Author: {'name': 'Mathew Robinson', 'email': 'mathew.robinson@10gen.com'}Message: (cherry picked from commit 6c8dc5e004bf2c91df10975adef861bcf00af6cd) |
| Comment by Kevin Arhelger [ 11/Jan/18 ] |
|
This affects all versions of MongoDB with the secure allocator. |
| Comment by Githook User [ 29/Sep/17 ] |
|
Author: {'email': 'mathew.robinson@10gen.com', 'name': 'Mathew Robinson'}Message: |
| Comment by Ramon Fernandez Marina [ 13/Sep/17 ] |
|
Author: {'username': u'chasinglogic', 'name': u'Mathew Robinson', 'email': u'mathew.robinson@10gen.com'}Message: |
| Comment by Mathew Robinson (Inactive) [ 07/Sep/17 ] |
|
Path build for this: https://evergreen.mongodb.com/version/59b1735ec9ec4427ac0000e6 |
| Comment by Mathew Robinson (Inactive) [ 07/Sep/17 ] |