[SERVER-83867] Add a startup warning that swappiness is either 0 or 1 in linux Created: 04/Dec/23  Updated: 20/Dec/23  Resolved: 20/Dec/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.3.0-rc0

Type: Task Priority: Major - P3
Reporter: Mark Benvenuto Assignee: Gabriel Marks
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Assigned Teams:
Server Security
Backwards Compatibility: Fully Compatible
Sprint: Security 2023-12-25
Participants:

 Description   

Swappiness is an integer in stored in /proc/sys/vm/swappiness. We should read it at startup and issue a startup warning if it is not 0 or 1.

Reference:
https://askubuntu.com/questions/103915/how-do-i-configure-swappiness
http://en.wikipedia.org/wiki/Swappiness



 Comments   
Comment by Githook User [ 19/Dec/23 ]

Author:

{'name': 'Gabriel Marks', 'email': 'gabriel.marks@mongodb.com', 'username': 'marksg07'}

Message: SERVER-83867 Add a startup warning about swappiness

GitOrigin-RevId: 51773cfe767ea43a65afa3a51489b67b2087cb21
Branch: master
https://github.com/mongodb/mongo/commit/c4a8ac11b05adcacba3e13aea5777f62d9371188

Generated at Thu Feb 08 06:53:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.