﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	parents
50	mongodb not scaling down: workaround and documentation	Elrond	Elrond	"{{{
#!rst
mongodb needs 0.5 GB for a fresh install. Half of this goes to
kombu.

kombu could use redis or some other transport (see
`#322 </issues/322>`_), so fixing `#322 </issues/322>`_ will help
this issue too.

mongodb database files contain a lot of NUL bytes. So one can
easily use sparse files to save space on disk:

::

     # service mongodb stop
     # cd /var/lib/
     # cp -a --sparse=always mongodb mongodb.new
     # mv mongodb mongodb.old
     # mv mongodb.new mongodb
     # service mongodb start
     # # TEST mongodb
     # rm -rf mongodb.old

Maybe later versions of mongodb do this already internally. The
above was needed on mongodb from debian/stable.

Documenting the ""make sparse"" possibility will also help this
issue.



}}}"	task	closed	minor	0.0.5	documentation	FIXED			
