BOINC client loading old files from SQUID cache

Message boards : BOINC client : BOINC client loading old files from SQUID cache
Message board moderation

To post messages, you must log in.

AuthorMessage
Juergen

Send message
Joined: 10 Jan 06
Posts: 4
Germany
Message 2508 - Posted: 10 Jan 2006, 21:40:14 UTC

I am running the BOINC client 5.2.13 on a Linux machine. This machine is connected to the internet via another Linux machine with a SQUID proxy (2.5-STABLE6).
At the end of last year the German Einstein server had some trouble and delivered defective files. This was fixed but my client still got MD5 checksum errors when downloading any new file. The same happened some days ago when Seti had some trouble with network connections.
In both cases I could only fix this by stopping the SQUID and erasing its cache. After SQUID was restarted the next download went well.
It seems that the BOINC client loads the files again and again from the cache, even if the files there are defective for some reason. Would it not be better if the client told the cache to load a fresh copy of a file each time (the function you get with the 'reload' button in a web browser)?
ID: 2508 · Report as offensive
Carlos_Pfitzner
Avatar

Send message
Joined: 14 Jan 06
Posts: 18
Brazil
Message 2603 - Posted: 15 Jan 2006, 0:51:45 UTC

Squid cache can be configured to reload into ims
which causes it does *not* honor browsers "refresh" requests anymore

Thus read carefully squid documentation and configure it properly

Mine is configured to after 12 hours, of a file sored into its cache
do a http://head to original cherrshost, to check IF the file has same size
before serving a file from cache

ps: I am wondering how einsteim programmers managed to to recompie the client
software after changes on code, keeping the "same size" of that executable

*and also why they did not changed the file-name to show the new version

Other projects do it -:) see
C:\\Program Files\\BOINC\\projects>ls boinc.bio.wzw.tum.de_boincsimap
simap_5.05_windows_intelx86.exe

the 5.05 on the above .exe is the version of this application

cheers

Click signature for team stats
ID: 2603 · Report as offensive

Message boards : BOINC client : BOINC client loading old files from SQUID cache

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.