浏览代码

Merge pull request #2610 from ViliusS/remove-wiredtiger-option

Remove not needed WiredTiger option
Tianon Gravi 2 月之前
父节点
当前提交
cfd6eb4d63
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      mongo/content.md

+ 0 - 12
mongo/content.md

@@ -77,18 +77,6 @@ To see the full list of possible options, check the MongoDB manual on [`mongod`]
 $ docker run -it --rm %%IMAGE%% --help
 $ docker run -it --rm %%IMAGE%% --help
 ```
 ```
 
 
-## Setting WiredTiger cache size limits
-
-By default Mongo will set the `wiredTigerCacheSizeGB` to a value proportional to the host's total memory regardless of memory limits you may have imposed on the container. In such an instance you will want to set the cache size to something appropriate, taking into account any other processes you may be running in the container which would also utilize memory.
-
-Taking the examples above you can configure the cache size to use 1.5GB as:
-
-```console
-$ docker run --name some-%%REPO%% -d %%IMAGE%% --wiredTigerCacheSizeGB 1.5
-```
-
-See [the upstream "WiredTiger Options" documentation](https://docs.mongodb.com/manual/reference/program/mongod/#wiredtiger-options) for more details.
-
 ## Using a custom MongoDB configuration file
 ## Using a custom MongoDB configuration file
 
 
 For a more complicated configuration setup, you can still use the MongoDB configuration file. `mongod` does not read a configuration file by default, so the `--config` option with the path to the configuration file needs to be specified. Create a custom configuration file and put it in the container by either creating a custom Dockerfile `FROM %%IMAGE%%` or mounting it from the host machine to the container. See the MongoDB manual for a full list of [configuration file](https://docs.mongodb.com/manual/reference/configuration-options/) options.
 For a more complicated configuration setup, you can still use the MongoDB configuration file. `mongod` does not read a configuration file by default, so the `--config` option with the path to the configuration file needs to be specified. Create a custom configuration file and put it in the container by either creating a custom Dockerfile `FROM %%IMAGE%%` or mounting it from the host machine to the container. See the MongoDB manual for a full list of [configuration file](https://docs.mongodb.com/manual/reference/configuration-options/) options.