Comment 13 for bug 1563483

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Rory,

That's strange. 1 TB on images. What images are you importing in MAAS. I've never seen such a big amount of space used for images. That being said, MAAS, every time it updates to a new image, it deletes it from the DB.

I think that the issue you are experiencing is that Postgresql is not cleaning up large objects and leaving stuff behind when it shouldn't. If you are using 1.9, can you try to do:

sudo maas-region-admin db_vacuum_lobjects

That should try to vacuum large objects (images0 that were deleted byt not cleaned up by postgresq.