Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Tweaked system and mongod to scale better #6838
Conversation
| @@ -398,6 +419,11 @@ type EnsureServerParams struct { | ||
| // This method will remove old versions of the mongo init service as necessary | ||
| // before installing the new version. | ||
| func EnsureServer(args EnsureServerParams) error { |
| @@ -183,7 +187,10 @@ func newConf(args ConfigArgs) common.Conf { | ||
| " --smallfiles" | ||
| } else { | ||
| mongoCmd = mongoCmd + | ||
| - " --storageEngine wiredTiger" | ||
| + " --storageEngine wiredTiger" + |
howbazaar
Jan 23, 2017
Owner
Will this get rewritten when the agent starts? Or do we need an upgrade step?
perrito666
Jan 23, 2017
Contributor
It was supposed to, but for some reason its not, ill fix that since its the intended behavior
|
$$merge$$ |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit 10b7ef7
into
juju:develop
Jan 23, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
perrito666 commentedJan 19, 2017
Mongod requiers some tweaks in sysctl and in its parameters to
scale properly without consumin excessive memory and resources.
The cache size has been limited and a few sysctl values have
been tweaked to better suit the controller.
There is a follow up patch to be sent after this one that makes the memory allocation policy configurable.
QA
as indicated in https://bugs.launchpad.net/juju/+bug/1656430