Opened 6 years ago

Last modified 6 years ago

#1281 new defect

SimFactory should expire its executable cache

Reported by: Ian Hinder Owned by: Erik Schnetter
Priority: minor Milestone:
Component: SimFactory Version:
Keywords: Cc:


SimFactory stores executables in a CACHE directory in basedir. This directory seems to grow without limit. I just discovered that I had 73 GB of executables in there. SimFactory should probably delete anything older than a few weeks.

Attachments (0)

Change History (3)

comment:1 Changed 6 years ago by Erik Schnetter

Yes, it should. It should also rotate its log files.

comment:2 Changed 6 years ago by Frank Löffler

You are right. How did you end up with 73GB? It only seems to store one executable per configuration name for me. Do you use a lot of different configuration names? (which would be perfectly ok, just wondering)

comment:3 Changed 6 years ago by Ian Hinder

I think this might have happened when I was doing the automated tests on this machine. I would name the configuration after the git commit hash of the code that was being tested. If this is the case, then it is not as serious a problem as I thought, as this would be quite an unusual thing to do.

Modify Ticket

Change Properties
Set your email in Preferences
as new The owner will remain Erik Schnetter.
Next status will be 'review'.
as The resolution will be set.
to The owner will be changed from Erik Schnetter to the specified user.
Next status will be 'confirmed'.
The owner will be changed from Erik Schnetter to anonymous.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.