Retracer caching strategy uses too much disk space

Bug #993601 reported by David Ames
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Daisy
Confirmed
High
Unassigned

Bug Description

The problem is each retracer per arch per distro has its own temp directory.

We currently run 4 restracers for 2 architectures
I am seeing 7 distros: elementary 0.2 LinuxMint 12 nagios Ubuntu 10.04 Ubuntu 11.04 Ubuntu 11.10 Ubuntu 12.04 Ubuntu 12.10
Each temp directory is around ~10G

 4 x 2 x 7 x ~10GB > 500 GB

Or current disk capacity is 268 GB

The retracer may not have a temp dir in each distro but it potentially can grow to that extent without human intervention.

Can we think of ways to reuse cache directories more eficiently or clean up unused distros after time?

David Ames (thedac)
tags: added: canonical-losa-engineering
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in whoopsie-daisy (Ubuntu):
status: New → Confirmed
Revision history for this message
Haw Loeung (hloeung) wrote :

Something to think about would be to use hard links so only one copy of a file is stored on disk?

Haw Loeung (hloeung)
tags: added: canonical-webops-eng
removed: canonical-losa-engineering
Evan (ev)
no longer affects: whoopsie-daisy (Ubuntu)
Evan (ev)
Changed in daisy:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

See also bug 1295400.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.