Bug 1077369
Summary: | mongodb-server requires too much free space | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Konrad Gądek <kgadek+bugzillaredhat> |
Component: | mongodb | Assignee: | Marek Skalický <mskalick> |
Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | admiller, jim, johan.o.hedin, mskalick, nathaniel, ovasik, tdawson |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-02-23 14:26:46 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Konrad Gądek
2014-03-17 19:55:47 UTC
I discussed this problem in devel mailing list [1]. And also with upstream [2]. Your fixes: 1) + 3) "Generally, making such a decision at install time is bad, because that might not reflect _runtime_. For example, in the cloud image, we use a / filesystem as small as Anaconda will allow, but that grows to fill available storage when the image is booted." (Matthew Miller) 2) I think in .service file it is possible to dynamically turn on using smallfiles. MongoDB is also used in "big systems" and smallfiles by default could decrease their performance. And this default configuration is also used by upstream. You can easily fix your problem by setting smallfiles=true in mongod.conf (mongodb.conf before f22). [1] - https://lists.fedoraproject.org/pipermail/devel/2015-February/207578.html [2] - https://groups.google.com/forum/#!topic/mongodb-dev/2nGDFeU2hI4 |