[Pulp-list] Can older files under working directory be removed safely?

Randy Barlow rbarlow at redhat.com
Fri Feb 12 15:34:56 UTC 2016


Christina Plummer wrote:
> I have been running Pulp 2.3.1 for about a year and a half (forever, I
> know!), and my "working" directory is consuming quite a bit of space.
> 
> Is it safe to delete anything under there?  For example, these directories:
> pulp/working/repos/<repo_name>/importers/yum_importer/tmpXXXXXX/
> pulp/working/repos/<repo_name>/distributors/yum_distributor/repodata.old/
> 
> One of my repos seems to have about 30GB consumed under working,
> especially in those tmpXXXXXX directories (very large "other.db" and
> "filelists.db").  I am guessing these can be removed but wanted to
> consult the experts.

Hello Christina!

Yes, the working directories are used during sync and publish
operations, and are not part of Pulp's other operations. Files getting
left there when no sync or publish is happening is probably a bug.

FWIW, our esteemed colleague Dennis Kliban has reworked the way our
tasks use working space with newer versions of Pulp (was it 2.6 or maybe
2.7 where that was introduced?) so that we do a much better job of
tracking temporary files and cleaning up after ourselves.

Just so you know, Pulp 2.4 should have been called Pulp 3.0 because it
makes several backwards incompatible changes. When you do upgrade
eventually, make sure you pay attention to the release notes for every
version but give special attention to the 2.4 release notes. There are
quite a few improvements in 2.7 so I'd say it's worth doing when you get
the chance.

-- 
Randy Barlow
irc:   bowlofeggs

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20160212/cebd3e80/attachment.sig>


More information about the Pulp-list mailing list