excessive mongodb disk usage recovered with a repair/repack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core-1 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
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/
Ideally juju would become better at managing and recovering space in it's DB.
Status changed to 'Confirmed' because the bug affects multiple users.