MongoDB Documentation, Release 3.0.4 5.2.1 Configuration, Maintenance, and Analysis The following tutorials describe routine management operations, including configuration and performance analysis: Disable Transparent Huge Pages (THP) (page 221) Describes Transparent Huge Pages (THP) and provides detailed instructions on disabling them. Use Database Commands (page 223) The process for running database commands that provide basic database oper- ations. Manage mongod Processes (page 224) Start, configure, and manage running mongod process. Terminate Running Operations (page 226) Stop in progress MongoDB client operations using db.killOp() and maxTimeMS() . Analyze Performance of Database Operations (page 227) Collect data that introspects the performance of query and update operations on a mongod instance. Rotate Log Files (page 231) Archive the current log files and start new ones. Manage Journaling (page 233) Describes the procedures for configuring and managing MongoDB’s journaling sys- tem which allows MongoDB to provide crash resiliency and durability. Store a JavaScript Function on the Server (page 235) Describes how to store JavaScript functions on a MongoDB server. Upgrade to the Latest Revision of MongoDB (page 236) Introduces the basic process for upgrading a MongoDB de- ployment between different minor release versions. Monitor MongoDB With SNMP on Linux (page 239) The SNMP extension, available in MongoDB Enterprise, al- lows MongoDB to provide database metrics via SNMP. Monitor MongoDB Windows with SNMP (page 240) The SNMP extension, available in the Windows build of Mon- goDB Enterprise, allows MongoDB to provide database metrics via SNMP. Troubleshoot SNMP (page 242) Outlines common errors and diagnostic processes useful for deploying MongoDB Enterprise with SNMP support. Disable Transparent Huge Pages (THP) Transparent Huge Pages (THP) is a Linux memory management kernel module used to reduce the overhead of Trans- lation Lookaside Buffer (TLB) lookups on machines with large amounts of memory, and therefore a large number of memory pages. In effect, it presents system memory as a smaller number of much larger pages rather than as a larger number of 4096-byte pages. However, THP is known to perform poorly under database workloads, which tend to have sparse rather than contiguous memory access patterns. You must disable THP on Linux machines used to run MongoDB instances to ensure best performance. There are three ways to disable Transparent Huge Pages on Linux. In Boot-Time Configuration (Preferred) Step 1: Edit grub configuration file If your system uses grub-legacy , you can edit the configuration file directly. Add transparent_hugepage=never to the kernel line of your /etc/grub.conf or http://docs.mongodb.org/manual/boot/grub/grub.conf as root : 5.2. Administration Tutorials 221