Automatic upload, download & Report all completed tasks retry

Started by fred, April 06, 2011, 10:56:04 PM

Previous topic - Next topic

0 Members and 4 Guests are viewing this topic.

fred

Add these lines to the config.xml file.
The config.xml should be placed together with the BT exe.

<config>
   <refresh>
      <downloads>   3600   </downloads>
      <uploads>     7200   </uploads>
      <refresh>     14400   </refresh>
   </refresh>
</config>

WARING in the newer versions use:
      <auto>      3600   </auto>
and remove <downloads> and <uploads>.
This mode automatically adjusts the timing.


BT will now retry any pending downloads every hour and the uploads every 2 hour.
This will only affect the localhost.

As of V 1.06 an example can be found here: C:\Program Files\eFMer\BoincTasks\examples

Dirk

#1
This is a very nice feature, thanks! :)

Is this possible also for the report/request backlogged update function?
In past I had a ~ 12 hours backlogged update, in this time no report of results and request of new WUs. :(
IIRC, this can be up to 24 hours.

Maybe you could make it possible that we could set a time for a shorter update retry?
This would be very helpful, thanks. *thumb up*

BTW. Current I use BT 1.04 BETA.
(aka Sutaru Tsureku)

Best regards! :-)


fred

Quote from: Sutaru Tsureku on June 06, 2011, 01:27:27 PM
Maybe you could make it possible that we could set a time for a shorter update retry?
This would be very helpful, thanks. *thumb up*
I don't want to be responsible for more network traffic and overloaded servers.
That's why this feature is limited.

Is there no BOINC setting for a timed report?

Dirk

#3
Quote from: fred on June 06, 2011, 03:57:37 PM
Quote from: Sutaru Tsureku on June 06, 2011, 01:27:27 PM
Maybe you could make it possible that we could set a time for a shorter update retry?
This would be very helpful, thanks. *thumb up*
I don't want to be responsible for more network traffic and overloaded servers.
That's why this feature is limited.

Is there no BOINC setting for a timed report?

Yes, sure I wouldn't like to have a minute retry..  ;)
BTW. The min contact is ~ 5 mins at S@h. If you press 'update' earlier the scheduler send an info.

Maybe it's possible to add the feature, but the min possible retry is 30 mins, 1 hour or something?
Because up to 24 hours could be way too much for a high RAC machine.


I don't know, if there is a setting in BOINC.
AFAIK, it could last up to 24 hours. And if the scheduler server isn't reachable again, again 24 hours and so on..
(aka Sutaru Tsureku)

Best regards! :-)


fred

Quote from: Sutaru Tsureku on June 06, 2011, 06:01:53 PM
Yes, sure I wouldn't like to have a minute retry..  ;)
The minimum Upload/Download settings are 120, that is in seconds
So setting it to 1800 should give you 30 minutes. You can check the logging if the value is accepted.
You should see: upload refresh: 1800 Seconds

Dirk

#5
I'm sorry. English isn't my mother language.  ;)
I didn't meant the retry time for UL/DL.

I meant, maybe if it would be possible to add an automatically retry for the update function, you could set a minimum time we could choose, e.g. 30 mins, 1 hour or any.. - so the scheduler server isn't attacked.

This would be very nice. :)

I mean, a 24 hour backlog (also next try 24 hours later) for the update (report/request) is way too much for a high RAC machine. :(

What you think?
(aka Sutaru Tsureku)

Best regards! :-)


Dirk

#6
Quote from: fred on June 07, 2011, 06:21:44 AMThe minimum Upload/Download settings are 120, that is in seconds
So setting it to 1800 should give you 30 minutes. You can check the logging if the value is accepted.
You should see: upload refresh: 1800 Seconds

I'm new with BT.. ;)

You mean the log.xml file which is in the ..\BoincTasks\examples\log folder, which I could copy to the ..\BoincTasks folder (in which is the boinctasks.exe)?
If yes, I should copy the whole file (with all entries - no change), or maybe make a new empty log.xml file?
(aka Sutaru Tsureku)

Best regards! :-)


fred

Quote from: Sutaru Tsureku on June 07, 2011, 03:13:18 PM
You mean the log.xml file which is in the ..\BoincTasks\examples\log folder, which I could copy to the ..\BoincTasks folder (in which is the boinctasks.exe)?
The log.xml is for diagnostics/debugging, so don't use this here.
Create a plain text file and call it config.xml
Copy the following:

<config>
   <refresh>
      <downloads>   3600   </downloads>
      <uploads>   3600   </uploads>
   </refresh>
</config>

Safe the file in the same folder as the BoincTasks.exe and restart BT.

fred

Quote from: Sutaru Tsureku on June 07, 2011, 02:58:03 PM
I meant, maybe if it would be possible to add an automatically retry for the update function, you could set a minimum time we could choose, e.g. 30 mins, 1 hour or any.. - so the scheduler server isn't attacked.
I will add it to the next 1.06 release.

Dirk

#9
Quote from: fred on June 07, 2011, 03:28:35 PM
Quote from: Sutaru Tsureku on June 07, 2011, 03:13:18 PM
You mean the log.xml file which is in the ..\BoincTasks\examples\log folder, which I could copy to the ..\BoincTasks folder (in which is the boinctasks.exe)?
The log.xml is for diagnostics/debugging, so don't use this here.
Create a plain text file and call it config.xml
Copy the following:

<config>
   <refresh>
      <downloads>   3600   </downloads>
      <uploads>   3600   </uploads>
   </refresh>
</config>

Safe the file in the same folder as the BoincTasks.exe and restart BT.

You wrote here:
Quote from: fred on June 07, 2011, 06:21:44 AMThe minimum Upload/Download settings are 120, that is in seconds
So setting it to 1800 should give you 30 minutes. You can check the logging if the value is accepted.
You should see: upload refresh: 1800 Seconds
For to see if the set values are accepted, I could see it somewhere.
In the BoincTasks/Messages I can't see it. Where I could see it?
(aka Sutaru Tsureku)

Best regards! :-)


fred

Quote from: Sutaru Tsureku on June 08, 2011, 02:16:29 PM

In the BoincTasks/Messages I can't see it. Where I could see it?
Show->Show Log.

08 juni 2011 - 16:09:10 config.xml ---- download refresh: 3600 Seconds
08 juni 2011 - 16:09:10 config.xml ---- upload refresh: 3600 Seconds
08 juni 2011 - 16:09:10 config.xml ---- localhost refresh: 4000 Seconds V 1.06 only......

Dirk

Quote from: fred on June 07, 2011, 04:15:10 PM
Quote from: Sutaru Tsureku on June 07, 2011, 02:58:03 PM
I meant, maybe if it would be possible to add an automatically retry for the update function, you could set a minimum time we could choose, e.g. 30 mins, 1 hour or any.. - so the scheduler server isn't attacked.
I will add it to the next 1.06 release.
Thanks! :)


I repeat your new (added info) first message:
Quote from: fred on April 06, 2011, 10:56:04 PM
Add these lines to the config.xml file.
The config.xml should be placed together with the BT exe.

<config>
   <refresh>
      <downloads>   3600   </downloads>
      <uploads>     7200   </uploads>
      <refresh>     14400   </uploads>
   </refresh>
</config>

BT will now retry any pending downloads every hour and the uploads every 2 hour.
This will only affect the localhost.

As of V 1.06 an example can be found here: C:\Program Files\eFMer\BoincTasks\examples

The minimum value for the 'update' (report/request) is 4 hours?
(aka Sutaru Tsureku)

Best regards! :-)


Dirk

I see now, maybe a mistake it should look like:

<config>
   <refresh>
      <downloads>3600</downloads>
      <uploads>7200</uploads>
      <refresh>14400</refresh>
   </refresh>
</config>

?
(aka Sutaru Tsureku)

Best regards! :-)


fred