Bug in BOINC!

Message boards : Number crunching : Bug in BOINC!
Message board moderation

To post messages, you must log in.

AuthorMessage
DanielPharos

Send message
Joined: 12 May 03
Posts: 8
Credit: 58,255
RAC: 0
Netherlands
Message 56569 - Posted: 22 Dec 2004, 19:56:09 UTC

BOINC doesn't lock the file it is using properly. I ran defrag with crunching, and suddenly BOINC sad this: "Result XXX exited with zero status but no 'finished' file". Checking the reports of defrag, it had defraged the project files. So defrag was able to access the files and move them about, while BOINC was using them!
Didn't lost much data: Seti started all over, and climate prediction fall back a percent of two (i think)...
ID: 56569 · Report as offensive
Profile Clay Ruth
Avatar

Send message
Joined: 14 Mar 01
Posts: 61
Credit: 2,090,045
RAC: 0
United States
Message 56577 - Posted: 22 Dec 2004, 20:30:58 UTC - in response to Message 56569.  

Sounds to me more like a bug in the user! ;-)
I wouldn't try to defrag with applications actively updating their files.

Are you sure Defrag respects file locking? I think it pays more attention to file attributes, leaving "hidden" and "system" files untouched.


Help keep SETI@home alive! Join The Planetary Society and crunch for our team!
ID: 56577 · Report as offensive
DanielPharos

Send message
Joined: 12 May 03
Posts: 8
Credit: 58,255
RAC: 0
Netherlands
Message 56584 - Posted: 22 Dec 2004, 21:23:18 UTC - in response to Message 56577.  

> Sounds to me more like a bug in the user! ;-)
> I wouldn't try to defrag with applications actively updating their files.
>
> Are you sure Defrag respects file locking? I think it pays more attention to
> file attributes, leaving "hidden" and "system" files untouched.
>

When I'm downloading a file, defrag is unable to move that file. So it is possible to lock the file up enough to make it anti-defrag-able. Defrag also reports that is was unable to move the file. I didn't got that message with the BOINC-files. Using WinXP SP2 by the way.
ID: 56584 · Report as offensive
Profile Benher
Volunteer developer
Volunteer tester

Send message
Joined: 25 Jul 99
Posts: 517
Credit: 465,152
RAC: 0
United States
Message 56603 - Posted: 22 Dec 2004, 22:40:42 UTC

I suspect it all depends on the defrag application you are using (and O/S + filesystem for the Hard Drive).

Some Defrag Utils: O/O Defrag +, Built in Windows Defrag, Norton Defrag, FixIt Utils, etc.
Some Hard drive filesystems: FAT 16, FAT 32, NTFS (1.1 -> 3.x), various Unix types

Flags Defragger could check: Read Only, System, Hidden, Open for Read/Write...

For that last flag (open R+W), defragger would have to use a different query command to the O/S than the first 3.
ID: 56603 · Report as offensive
Walt Gribben
Volunteer tester

Send message
Joined: 16 May 99
Posts: 353
Credit: 304,016
RAC: 0
United States
Message 56605 - Posted: 22 Dec 2004, 22:44:47 UTC - in response to Message 56584.  

> > Sounds to me more like a bug in the user! ;-)
> > I wouldn't try to defrag with applications actively updating their
> files.
> >
> > Are you sure Defrag respects file locking? I think it pays more attention
> to
> > file attributes, leaving "hidden" and "system" files untouched.
> >
>
> When I'm downloading a file, defrag is unable to move that file. So it is
> possible to lock the file up enough to make it anti-defrag-able. Defrag also
> reports that is was unable to move the file. I didn't got that message with
> the BOINC-files. Using WinXP SP2 by the way.
>

Locks only work when all programs use them the same way, and defrag doesn't. Use locks that is. Besides that the files have to be open in order for locking mechanisms to work. While boinc/seti leaves some files open all the time, others are created, written to and closed at whatever rate you specify in your preferences. Which files got moved?

If you don't believe the files are locked properly, try copying the boinc folder (and all subfolders) do a new directory. While boinc is running that is.

What other errors were there, other than the "no finished file" message? While it would be nice to have the output from the seti client, thats all deleted. But the errors are put into the "completed" workunit, so should be available. Anything there? Your computers are hidden so I can't check it for you.

ID: 56605 · Report as offensive

Message boards : Number crunching : Bug in BOINC!


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.