Does the project send "purge" commands for application binaries?

Michael Hoffmann
Michael Hoffmann
Joined: 31 Oct 10
Posts: 32
Credit: 31031260
RAC: 0
Topic 198369

AFAIR, the project sends purge commands once in a while to clean the local clients from project data which is no longer needed. However, this doesn't seem to be the case for the binaries: I just looked into and found a bunch of different old application versions, which are obsolete for sure.
If that's really something which is not maintained by the project, I'd do that by myself.
Just wanted to be sure about that.

Om mani padme hum.

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5870
Credit: 115778512428
RAC: 35212172

Does the project send "purge" commands for application binaries?

Old binaries are removed by the project at some point. I don't know when that happens - perhaps when the Devs get prompted into thinking about it.

If you are considering deleting them, just be aware that BOINC will notice and will simply download fresh copies. To do it without that happening, you would need to stop BOINC and edit the state file to remove the entries that cause BOINC to think that those old files are still required.

A safer course of action is to wait until the Devs see your request and perhaps tell you what the plan is for cleaning up old apps. I'm sure you'll get a response in due course.

Cheers,
Gary.

Michael Hoffmann
Michael Hoffmann
Joined: 31 Oct 10
Posts: 32
Credit: 31031260
RAC: 0

Thank you for this

Thank you for this information, Gray!
So I'll just wait until the files will be removed.

Om mani padme hum.

Bernd Machenschalk
Bernd Machenschalk
Moderator
Administrator
Joined: 15 Oct 04
Posts: 4305
Credit: 248746513
RAC: 32051

I am not aware of a way for

I am not aware of a way for the project to purge old application binaries from the clients; just data files. This is a flaw in BOINC. These files will get purged when you reset the project or re-install the BOINC client, but that's probably not what you want to do.

We could try to treat these as data files and send out "delete requests", but I'm not sure whether this will work.

BM

BM

Gary Roberts
Gary Roberts
Moderator
Joined: 9 Feb 05
Posts: 5870
Credit: 115778512428
RAC: 35212172

RE: I am not aware of a way

Quote:
I am not aware of a way for the project to purge old application binaries from the clients ...


Wow! - seems like a pretty glaring omission. I've not really paid any attention to what happens to old binaries. I just assumed there would be a mechanism for removing them. I just looked at a host of mine and there are quite a few old apps hanging around :-). The space occupied is relatively small, despite the number, so not much of an issue, even for small 20GB drives, as many of mine are :-).

In the distant past, I have cleaned old apps from a BOINC installation by editing the state file. As I remember it, each version of an app is described in two places - a ... block and an ... block. I seem to remember the blocks used to be blocks in older versions of BOINC. I guess there was a change at some point - perhaps with version 7. All I used to do was stop BOINC and remove the two particular blocks that were associated with the particular application I wished to remove. I would then restart BOINC, after which, the particular binary file could be deleted without BOINC wanting to fetch it again.

Cheers,
Gary.

Christian Beer
Christian Beer
Joined: 9 Feb 05
Posts: 595
Credit: 172078568
RAC: 272525

There currently is not such a

There currently is not such a feature. But there is a feature request logged: Client: remove files from deprecated apps

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.