Job_log_.txt pruning

Message boards : Questions and problems : Job_log_.txt pruning
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15478
Netherlands
Message 86613 - Posted: 18 Jun 2018, 21:41:04 UTC - in response to Message 86610.  

At the moment BOINC doesn't do this automatically yet. I forwarded your post to David Anderson, who made it a Github Issue for development: #2564
ID: 86613 · Report as offensive
Gary Roberts

Send message
Joined: 7 Sep 05
Posts: 130
Australia
Message 86615 - Posted: 18 Jun 2018, 23:58:41 UTC - in response to Message 86610.  

The job log file isn't rotated or truncated - it will just continue to grow. If you delete it, rename it, or move it elsewhere,BOINC will recreate it from scratch - so that's one way to deal with that issue.

The cleanup of deprecated project apps is something that has been known to be missing for a long time and it's very good if it gets addressed soonish :-). You can't just delete that stuff as there are entries for the files in the state file (client_state.xml) that will just cause them to be re-downloaded. I don't know if particular projects could remove the apps from their servers so that they wouldn't be available to be downloaded and how that might mess with the BOINC client's ability to react in a sane manner :-).

Unfortunately, the 'riskless' way of dealing with this is to set NNT and then reset the project when all current work has been processed and returned. I don't like doing that so what I do is stop BOINC, delete the old apps, then remove the entries for them by editing the state file - with due care and attention since it's very easy to stuff things up - and then restart BOINC. I'm not recommending that unless you really know what you are doing. However it does work without problems for me on the Einstein project. On one long running machine I counted about 30 or so deprecated app versions when I decided to do a manual cleanup :-).
Cheers,
Gary.
ID: 86615 · Report as offensive
Profile Dave
Help desk expert

Send message
Joined: 28 Jun 10
Posts: 2518
United Kingdom
Message 86621 - Posted: 19 Jun 2018, 13:48:17 UTC

As Gary says, this has to be done manually at present. I go for the resetting the project occasionally when it is out of work or off line as my main project is at the moment. I too have a machine that tends to be always running though I inevitably seem to get some problem that requires a restart a couple of times a year so that prunes the log file.
ID: 86621 · Report as offensive

Message boards : Questions and problems : Job_log_.txt pruning

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.