1:配置的WiredTiger缓存大小超过可用内存的80%。 ** WARNING: The configured WiredTiger cache size is more than 80% of available RAM. ** See http://dochub.mongodb.org/core/faq-memory-diagnostics-wt
2:未开启登陆认证 ** WARNING: Access control is not enabled for the database. ** Read and write access to data and configuration is unrestricted.
3.大内存页未关闭 ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. ** We suggest setting it to 'never'
** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. ** We suggest setting it to 'never'
[root@db01 ~]# mongo MongoDB shell version v4.0.18 connecting to: mongodb://127.0.0.1:27017/?gssapiServiceName=mongodb Implicit session: session { "id" : UUID("35df303c-3320-498d-ae0c-d2dd601810f4") } MongoDB server version: 4.0.18 Server has startup warnings: 2020-05-14T17:33:13.213+0800 I STORAGE [initandlisten] 2020-05-14T17:33:13.213+0800 I STORAGE [initandlisten] ** WARNING: The configured WiredTiger cache size is more than 80% of available RAM. 2020-05-14T17:33:13.213+0800 I STORAGE [initandlisten] ** See http://dochub.mongodb.org/core/faq-memory-diagnostics-wt 2020-05-14T17:33:13.984+0800 I CONTROL [initandlisten] 2020-05-14T17:33:13.984+0800 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. 2020-05-14T17:33:13.984+0800 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. 2020-05-14T17:33:13.984+0800 I CONTROL [initandlisten] --- Enable MongoDB's free cloud-based monitoring service, which will then receive and display metrics about your deployment (disk utilization, CPU, operation statistics, etc). The monitoring data will be available on a MongoDB website with a unique URL accessible to you and anyone you share the URL with. MongoDB may use this information to make product improvements and to suggest MongoDB products and deployment options to you. To enable free monitoring, run the following command: db.enableFreeMonitoring() To permanently disable this reminder, run the following command: db.disableFreeMonitoring() --- >