[Maas-devel] MongoDB in the test suite

John Arbash Meinel john at arbash-meinel.com
Tue Sep 11 11:57:41 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

...

> g) --nojournal is the default on 32-bit, but not on 64-bit. If you 
> have journaling, mongo preallocates 256MB*3 files (0.75GB). They 
> apparently will never grow beyond 1GB, but that is still ridiculous
> for testing.

Note that if you just 'apt-get install mongodb' it defaults to
creating a journaled db in /var/lib and allocating about 800MB of data.

So you may want to edit /etc/mongodb.conf and set 'journaling=false'
stop the service, and delete the journal files.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBPJzUACgkQJdeBCYSNAAPPkwCgkp46fFw7AkoV5Yp56l2o5tPX
95IAnibGN1MN70ZQxiAgPNo1vxuuBmuu
=t9tc
-----END PGP SIGNATURE-----




More information about the Maas-devel mailing list