Project

General

Profile

Actions

Feature #10245

closed

Check Katello server Space

Added by Ignacio Bravo over 9 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

One morning I found out that my Katello server was not running. Looking at the logs, the message was that it couldn't connect to MongoDb. I tried restarting services and such without luck, until I discovered a Mongo log directory. The problem there was that Mongo was complaining of not having enough space to start.
Afterwards, I checked the space with 'df -h' and for sure, it was almost all gone.

I wanted to delete a couple of unused repos, but since Katello was down, the only option that I had was to add space to the server, and so I did.

Now, I am able to start katello and everything seems to be working correctly, but to avoid future issues, I want to delete some repos. Here comes the request:

Wouldn't it be nice to see the size that each Product takes? That would allow us to know if we can maintain the synch of that old repo that nobody uses, or if we need to delete it to free some space.

One alternative is to do 'du -hs /var/lib/pulp/rpm' to see the space that pulp is taking, but that seems to be organized by rpm rather than by Product.

Ideas?

Actions

Also available in: Atom PDF