Public bug reported:
IS have a number of bootstrap nodes with small <10GB disks, particularly
in AWS where root disk is often only 8GB with our current sizing.
Periodically we get disk space alerts and find that there is little we
can clean up on the instance, with juju's mongodb using the vast
majority of space.
The environment I specifically dealt with was running 1.25.10
We've been able to free up significant disk space by running a
repair/repack of the mongodb:
systemctl stop juju-db # or 'initctl stop juju-db'
/usr/lib/juju/bin/mongod --auth --dbpath /var/lib/juju/db
--sslOnNormalPorts --sslPEMKeyFile /var/lib/juju/server.pem
--sslPEMKeyPassword xxxxxxx --port 37017 --noprealloc --syslog
--smallfiles --nojournal --keyFile /var/lib/juju/shared-secret --replSet
juju --ipv6 --oplogSize 512 --repair --repairpath /mnt
Ideally juju would become better at managing and recovering space in
it's DB.
** Affects: juju-core-1 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1674656
Title:
excessive mongodb disk usage recovered with a repair/repack
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/juju-core-1/+bug/1674656/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs