tmpfs workaround
Gustavo Niemeyer
gustavo.niemeyer at canonical.com
Wed Sep 26 13:08:35 UTC 2012
On Wed, Sep 26, 2012 at 7:25 AM, Aram Hăvărneanu
<aram.havarneanu at canonical.com> wrote:
>> For reasons we're not quite sure of, mongo is creating ~ 250mb of scratch space during each test run.
>
> I think the reason is well understood. MongoDB creates a 200MB capped
> collection and it allocates contiguous space for that at startup. For
> the state tests we override that 200MB to 1MB in an export_test.go,
> but that obviously doesn't do anything for other packages that import
> state.
It's 10MB since Monday.
gustavo @ http://niemeyer.net
More information about the Juju-dev
mailing list