Auto project update with BT 1.45

Started by dougjj, March 17, 2013, 02:36:28 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

dougjj

I'm using PCs configured as 2 x W7-64 and 1 x Win Vista-32 with recently updated BT 1.43 to 1.45. Prior to the update to 1.45, I was successfully using config.xml files to periodically & automatically update the projects, but these automatic updates seem to no longer work. The config.xml files are in the same directories as the boinctasks64.exe (for the 64 bit machines), and boinctasks.exe for the 32 bit machine.

I modified the original config.xml files on one of the W7 machines and the one running Vista, but it still doesn't work:

Original:
-<config>-
<refresh>
<downloads>   3600 </downloads>
<uploads>   3600 </uploads>
<auto>   3600 </auto>
<refresh>   5000 </refresh>
</refresh>
</config>


Modified:
config>-
<refresh><auto>   3600 </auto>
<refresh>   5000 </refresh>
</refresh>
</config>

The BT log file from one of the 64 bit machines (used to manage 2 of the 3 PCs):
16 March 2013 - 14:25:06 Logging ---- Start debug mode
16 March 2013 - 14:25:06 Logging ---- connecting
16 March 2013 - 14:25:06
16 March 2013 - 14:25:06 BoincTasks version: 1.45
16 March 2013 - 14:25:06 Language ---- User: 1033 (ENU), System: 1033 (ENU), Selected: 0 () Used: 1033 (ENU)
16 March 2013 - 14:25:07 ERROR: CryptAcquireContext ---- Error 80090016
16 March 2013 - 14:25:07 config.xml ---- localhost auto download/upload refresh, max: 3600 Seconds
16 March 2013 - 14:25:07 config.xml ---- localhost refresh: 5000 Seconds
16 March 2013 - 14:25:07 Maximum number of computers: Unlimited
16 March 2013 - 14:25:07 Computers ---- localhost get local password: (D:\Program Data\\gui_rpc_auth.cfg) xxxxxx
16 March 2013 - 14:25:07 Computers ---- Doug-PC , localhost
16 March 2013 - 14:25:07 Computers ---- doug-intel , 192.168.1.64
16 March 2013 - 14:25:07 Connect ---- Try to connect to: Host: localhost, Doug-PC, Port: 31416, Thread ID: 3984
16 March 2013 - 14:25:07 Connect ---- Try to connect to: Host: 192.168.1.64, doug-intel, Port: 31416, Thread ID: 6228
16 March 2013 - 14:25:07 Update State ---- Host: localhost, Doug-PC, Rpc Thread ID: 3984, Size: 117, Time: 0.0013 Sec
16 March 2013 - 14:25:07 Update State ---- Host: 192.168.1.64, doug-intel, Rpc Thread ID: 6228, Size: 30, Time: 0.0016 Sec
16 March 2013 - 14:25:07 Connect ---- Connected to: Host: localhost, Doug-PC, Port: 31416, BOINC Version: 7.0.44
16 March 2013 - 14:25:07 Connect ---- Connected to: Host: 192.168.1.64, doug-intel, Port: 31416, BOINC Version: 7.0.44
16 March 2013 - 14:25:36 Memory ----
   PageFaultCount      : 0x0000411D   16K
   PeakWorkingSetSize   : 0x0401B000   67219K
   WorkingSetSize      : 0x0401B000   67219K
   QuotaPeakPagedPool   : 0x0005A3B0   369K
   QuotaPagedPool      : 0x00056908   354K
   QuotaPeakNonPagedPool   : 0x000081D0   33K
   QuotaNonPagedPool   : 0x00007B68   31K
   Pagefile         : 0x02A4F000   44363K
   PeakPagefile      : 0x02A57000   44396K

16 March 2013 - 14:30:08 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 120 Seconds
16 March 2013 - 14:35:09 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 240 Seconds
16 March 2013 - 14:40:10 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 360 Seconds
16 March 2013 - 14:50:12 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 480 Seconds
16 March 2013 - 15:00:14 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 600 Seconds
16 March 2013 - 15:10:16 Refresh ---- Doug-PC - Transfers: 0. Download retry: 0, Upload retry: 0 - Interval 720 Seconds
16 March 2013 - 15:17:36 Update State ---- Host: localhost, Doug-PC, Rpc Thread ID: 3984, Size: 117, Time: 0.0015 Sec

I expect I have an error with a parameter, and would appreciate some help with this.

BTW, BoincTasks is a great program, really appreciated!

- Doug

fred

This shows the setting is accepted:

16 March 2013 - 14:25:07 config.xml ---- localhost auto download/upload refresh, max: 3600 Seconds
16 March 2013 - 14:25:07 config.xml ---- localhost refresh: 5000 Seconds

But the refresh only triggers when there is work to be reported.

dougjj

Thanks Fred, I'll let it sit overnight and see if it's updating automatically.

dougjj

I've tried various settings with BT 1.45 on 3 PCs, each with completed WUs and letting the PCs continuously run for ~ 12-24 hours. The Vista-32 PC would not perform automatic updates, while the 2 running W7-64 would occasionally update, but appeared to not follow the timing in the config.xml file - usually no update when the time came, although there was 1 or more completed WUs.

I uninstalled BT 1.45 and installed BT 1.40 on all 3 PCs, now each is updating automatically.

I'm using the same, simple config.xml file on each PC:

-<config>
-<refresh>
<auto>   1800 </auto>
<refresh>   1800 </refresh>
</refresh>
</config>

fred

Quote from: dougjj on March 22, 2013, 01:51:55 AM
I've tried various settings with BT 1.45 on 3 PCs, each with completed WUs and letting the PCs continuously run for ~ 12-24 hours. The Vista-32 PC would not perform automatic updates, while the 2 running W7-64 would occasionally update, but appeared to not follow the timing in the config.xml file - usually no update when the time came, although there was 1 or more completed WUs.

I uninstalled BT 1.45 and installed BT 1.40 on all 3 PCs, now each is updating automatically.

I'm using the same, simple config.xml file on each PC:

-<config>
-<refresh>
<auto>   1800 </auto>
<refresh>   1800 </refresh>
</refresh>
</config>
OK I check why 1.45 doesn't refresh properly.

dougjj


dougjj

#6
Just a followup after several days. The 3 PCs are behaving well with automatic updates with BT 1.40, one of which runs pretty much unattended. The logs show each PC is checking/reporting on a 30 min cycle. Very nice.

I'll change the update timing this weekend, pushing it out to 3600 for auto & refresh.

Cheers,
Doug
:D

fred

Quote from: dougjj on March 29, 2013, 07:12:38 AM
Just a followup after several days. The 3 PCs are behaving well with automatic updates with BT 1.40, one of which runs pretty much unattended. The logs show each PC is checking/reporting on a 30 min cycle. Very nice.

I'll change the update timing this weekend, pushing it out to 3600 for auto & refresh.

Cheers,
Doug
:D
I noticed a new refresh method didn't make it in the example.

The asap method is intended to kick start the project every 400 seconds.
I refreshes (retry) only if the project isn't busy.
Refresh does the same but always refreshes (retries).

But I will do some more testing on 1.46

   <refresh>
      <auto_cheat>   3600   </auto_cheat>
      <refresh>   4000   </refresh>
      <refresh_asap>   400   </refresh_asap>   
   </refresh>

refresh      refresh on the localhost every xx seconds. = Report all completed tasks. Will update all projects with work, always.
      additionally the regulator number of days is set.
refresh_asap   refresh on the localhost every xx seconds. = Report all completed tasks. Will update all projects with work,
      but only if not busy or in a timeout period.