-
Type: Bug
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.0.0, 3.0.1, 3.0.2
-
Component/s: Packaging
-
Server Development Platform
-
ALL
-
The script in /etc/init.d/mongod should disable transparent hugepages. WiredTiger is complaining on startup because this isn't being done.
Here's a patch:
if [ -f /sys/kernel/mm/transparent_hugepage/enabled ]; then if grep -q "\[always\]" /sys/kernel/mm/transparent_hugepage/enabled; then echo never > /sys/kernel/mm/transparent_hugepage/enabled if [ "$?" != 0 ]; then echo "Error disabling transparent_hugepages, are you running in a linux container?" >&2 echo "If the server fails to start, check that transparent hugepages are disabled." >&2 fi fi fi
- related to
-
SERVER-17522 THP startup warnings can become stale
- Closed