Retracer caching strategy uses too much disk space

Bug #993601 reported by David Ames on 2012-05-02
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Daisy
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) on 2012-05-02
tags: added: canonical-losa-engineering
Launchpad Janitor (janitor) wrote :

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

Changed in whoopsie-daisy (Ubuntu):
status: New → Confirmed
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) on 2012-05-08
tags: added: canonical-webops-eng
removed: canonical-losa-engineering
Evan (ev) on 2012-05-18
no longer affects: whoopsie-daisy (Ubuntu)
Evan (ev) on 2012-11-28
Changed in daisy:
importance: Undecided → High
status: New → Confirmed
Brian Murray (brian-murray) wrote :

See also bug 1295400.

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

Other bug subscribers