Project

General

Profile

Feature #10245

Check Katello server Space

Added by Ignacio Bravo about 4 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Pull request:
Team Backlog:
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?

History

#1 Updated by Eric Helms about 4 years ago

  • Triaged changed from No to Yes

#2 Updated by Eric Helms over 3 years ago

  • Legacy Backlogs Release (now unused) set to 114

Also available in: Atom PDF