Details
-
Bug
-
Status: Backlog
-
Major - P3
-
Resolution: Unresolved
-
3.0.0, 3.0.1, 3.0.2
-
None
-
ALL
-
Description
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 |
Attachments
Issue Links
- related to
-
DOCS-5330 Using /etc/rc.local to disable THP results in spurious startup warning
-
- Closed
-
-
SERVER-17522 THP startup warnings can become stale
-
- Closed
-