The Fedora Packages webapp is causing a number of nagios warnings about disk space.
{{{ packages02.phx2.fedoraproject.org/Disk Space DISK WARNING - free space: / 14487 MB (15% inode=32%) }}}
The place on the file system is {{{/var/cache/fedoracommunity}}} which is gluster backed.
None of our app developers are quite sure what the app is doing with the tree of files located under there. Some of it is a xapian cache. Some of it is a yum cache. Some of it is a git checkout of all the packages under pkgs.fedoraproject.org.
Much of the code that puts files in that location in the filesystem is kicked off by cronjobs; that code lives here https://github.com/fedora-infra/fedora-packages/tree/develop/fedoracommunity/search
A quickfix is to just bump the space so we stop getting warnings.. but longer term, one of us needs to get in there and:
1) understand what that search-indexing code is doing. 2) determine if anything is less important and can be jettisoned to save space.
For whoever ends up digging in to that, the fedora-packages cronjobs are an excellent candidates to be rewritten as fedmsg consumers. i.e., when a package's git repo is pushed to, do a pull on that repo to get the latest changes. When a new package is added in pkgdb, add it to the local package index. This would be icing on the cake.
I'm currently wiping out the git cache, which will hopefully give us plenty of headroom.
There's a cronjob in place now that is wiping the git.fedoraproject.org cache nightly. That cache gets automatically re-generated on demand. That should take care of this.