Skip to content
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

MongoDB warns to Disable Transparent Huge Pages (THP) #122

Open
joglomedia opened this issue Dec 23, 2021 · 0 comments
Open

MongoDB warns to Disable Transparent Huge Pages (THP) #122

joglomedia opened this issue Dec 23, 2021 · 0 comments
Assignees

Comments

@joglomedia
Copy link
Owner

Describe the Issue / Bug

MongoDB Transparent Huge Pages (THP) warning

------
   The server generated these startup warnings when booting:
   2021-12-18T16:50:42.028+00:00: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine. See http://dochub.mongodb.org/core/prodnotes-filesystem
   2021-12-18T16:50:42.779+00:00: Access control is not enabled for the database. Read and write access to data and configuration is unrestricted
   2021-12-18T16:50:42.779+00:00: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never'
------

To Reproduce
Steps to reproduce the behavior:

  • Install MongoDB
  • Run MongoDB shell (mongosh)

Expected Behavior
No warning about THP

Screenshots / Screen Cast
If applicable, add screenshots / screen cast to help explain your problem.

Config File (.env)
If applicable, add part of your non-sensitive data from configuration file (.env).

System Information (please complete the following information):

  • OS: Ubuntu 20,04 x86_64
  • Shell: bash 4.4.20
  • Version 2.4.3

Additional Context

Solution for MongoDB THP issue found here https://docs.mongodb.com/upcoming/tutorial/transparent-huge-pages/

@joglomedia joglomedia self-assigned this Dec 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant