Follow dba-ninja.com

Subscribe to RSS feed  Follow @jackvamvas - Twitter

*Use the Comments section for questions

dba-ninja.com Links

Dba_db2_button

Sqlserver_dba_button

Transparent Huge Pages - Detected startup warnings on a database backing the system

01 April,2020 by Rambler

Question: I'm getting these messages as system alerts through the MongoDB Ops Manager. 

2020-02-07T21:34:21.241+0000 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'.
2020-02-07T21:34:21.241+0000 I CONTROL [initandlisten] ** We suggest setting it to 'never'

What do they mean? and how can I stop these warning messages occuring?

Answer: The Transparent Hugepages Linux kernel feature aims to boost performance by by "optimising" the processor's memory mapping. By using larger memory page  sizes , the aim is to decrease the Translation Lookaside Buffer(TLB) lookups . By default this feature is enabled in most Linux distributions. 

 

MongoDB recommends to Disable Transparent Huge Pages 

Follow the instructions in the link above to stop the system alert happening. The instructions are very clear , which in summary includes creating a service file , start the service , configure to run at restart. 

 

 

 

 


Author: Rambler (http://www.dba-ninja.com)


Share:

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been posted. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment on Transparent Huge Pages - Detected startup warnings on a database backing the system


dba-ninja.com