Skip to content

mongod warning while using default settings #34

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

Closed
Jarema opened this issue Apr 19, 2015 · 3 comments
Closed

mongod warning while using default settings #34

Jarema opened this issue Apr 19, 2015 · 3 comments

Comments

@Jarema
Copy link

Jarema commented Apr 19, 2015

when running mongod instance via default container settings docker run mongo -d, server outputs those warnings:

2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] 
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'.
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] 
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten] **        We suggest setting it to 'never'
2015-04-17T16:48:45.059+0000 I CONTROL  [initandlisten]

I think official mongo docker container should not have such warnings in default settings.

@yosifkit
Copy link
Member

Those are host level settings and cannot be changed easily from the container (transparent_hugepage, stackexchange disable).

See also: docker-library/official-images#550

@bagrat
Copy link

bagrat commented Jul 9, 2015

@yosifkit so that means that the configurations must be done globally on the machine where container is running, right?

@yosifkit
Copy link
Member

yosifkit commented Jul 9, 2015

Correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants