retracer.py doesn't clean up core files when choosing not to retrace some crashes

Bug #1686135 reported by Brian Murray
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Daisy
Fix Released
High
Brian Murray

Bug Description

webops has been dealing with retracers running out of disk space regularly, looking at the log files I noticed that the i386 retracers are retrying vim crashes from Ubuntu 16.10 multiple times. Looking at the code path for how these are requeued (because of gdb crashing when trying to retrace them) I noticed that the core file is left on disk. This is surely contributing to the lack of free space.

The retracing process should clean up after itself and remove any core files before moving on to the next item.

Related branches

Revision history for this message
Brian Murray (brian-murray) wrote :

The files consuming space should be located in /tmp/ with .core extension.

description: updated
Revision history for this message
Brian Murray (brian-murray) wrote :

 $ bzr commit -m "retracer.py: When deciding not to retrace things remove the .core file from disk." --fixes lp:1686135
Committing to: /home/bdmurray/source-trees/daisy/trunk/
modified daisy/retracer.py
Committed revision 745.

Changed in daisy:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

This has been rolled out to production.

Changed in daisy:
status: In Progress → Fix Released
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.