Merge lp:~dave-cheney/juju-core/119-fix-mongo-ulimits into lp:~juju/juju-core/trunk
Proposed by
Dave Cheney
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | William Reade | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 1204 | ||||
Proposed branch: | lp:~dave-cheney/juju-core/119-fix-mongo-ulimits | ||||
Merge into: | lp:~juju/juju-core/trunk | ||||
Prerequisite: | lp:~dave-cheney/juju-core/120-upstart-add-limit-verb | ||||
Diff against target: |
102 lines (+25/-7) 2 files modified
environs/cloudinit/cloudinit.go (+20/-2) environs/cloudinit/cloudinit_test.go (+5/-5) |
||||
To merge this branch: | bzr merge lp:~dave-cheney/juju-core/119-fix-mongo-ulimits | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Juju Engineering | Pending | ||
Review via email: mp+161276@code.launchpad.net |
Description of the change
environs/cloudinit: increase fd limit for mongodb
To post a comment you must log in.
LGTM with one suggestion.
https:/ /codereview. appspot. com/8551048/ diff/1/ environs/ cloudinit/ cloudinit. go cloudinit/ cloudinit. go (right):
File environs/
https:/ /codereview. appspot. com/8551048/ diff/1/ environs/ cloudinit/ cloudinit. go#newcode301 cloudinit/ cloudinit. go:301: "nofile": fmt.Sprintf("%d %d",
environs/
max(maxConns, 65000), max(maxConns, 65000)),
should we have var maxFiles = max(maxConns, 65000) up there and use it
here twice?
https:/ /codereview. appspot. com/8551048/