"finish file present too long" error

Message boards : BOINC client : "finish file present too long" error
Message board moderation

To post messages, you must log in.

AuthorMessage
Stormqueen

Send message
Joined: 24 Jun 15
Posts: 2
Message 62716 - Posted: 24 Jun 2015, 11:44:10 UTC

I have a small local project that I'm testing. Yesterday I adjusted the FPops estimate and bound values in the input template and since then the vast majority of my work units are getting cancelled by the client with a "finish file present too long" message.

How can I fix this error?
ID: 62716 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5077
United Kingdom
Message 62717 - Posted: 24 Jun 2015, 12:20:49 UTC - in response to Message 62716.  

You probably have to get your application to clean up all its working files and perform whatever post-processing is necessary, before you call boinc_finish().

I think the "too long" message refers to any delay between signalling that the app has finished, and the process finally quitting.
ID: 62717 · Report as offensive
Stormqueen

Send message
Joined: 24 Jun 15
Posts: 2
Message 62722 - Posted: 25 Jun 2015, 1:38:24 UTC - in response to Message 62717.  

Thanks for your reply.

I was able to fix it in a trial-and-error fashion, by increasing the number of total results. My workunits did not fail anymore.

However I'm a little intrigued because now I can't know for sure what caused the problem.
ID: 62722 · Report as offensive
SekeRob2

Send message
Joined: 6 Jul 10
Posts: 585
Italy
Message 62730 - Posted: 25 Jun 2015, 9:22:10 UTC - in response to Message 62722.  
Last modified: 25 Jun 2015, 9:22:44 UTC

We have a number of these reports at WCG, which the techs consider a 'race condition'. Some of the recent BOINC development work regarding cleaning slot directories when a job completes may resolve this. https://secure.worldcommunitygrid.org/forums/wcg/viewthread_thread,36995

These reports are very sparse, so much so that no action from the side of the WCG techs was to be undertaken after investigation:

I tested the workunit standalone and found no issues. In looking through the client code it looks like this condition occurs when the client finds that the boinc finish file has been written to disk but the science application process is still running. Since the finish file was written then there must be a hang in boinc_finish somewhere. Or it could be a bug or race condition in the client causing a false positive.

Have you upgraded your client version recently? Let me know if you continue to see these errors.

Thanks,
armstrdj

Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 62730 · Report as offensive

Message boards : BOINC client : "finish file present too long" error

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.