New FAHClient

Moderators: Site Moderators, PandeGroup

Re: New FAHClient

Postby bruce » Sat Jul 07, 2018 1:36 am

Well, you have made some progress. Both the CPU and the GPU are now configured and the configuration is being saved.

Now we have to deal with the Failed to read stream Exception. There are several topics where others have encountered this problem and the problem is almost certainly related to your security software. Most anti-malware (aka firewall) block "unauthorized" application software from downloading anything from the internet. Then they have a list of exceptions which consist of the well-known browsers, hence you can view web-pages from almost anywhere. The FAHClient spplication that you installed doesn't happen to be on that list although it's acting just like a browser ... (trying to) open a connection on at FAH's server using well-known ports. Since we are confident that FAHClient won't download anything from dangerous sites, you need to configure an exception in your firewall to allow FAHClient to download the FAHCores that it's trying to do, as well as the WUs that are being assigned to you -- and then return the results when they're completed..
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby Yavanius » Sat Jul 07, 2018 2:29 am

Bruce,

Could the developers add something like a pop-up box when this error is encountered that has the error and something to the effect of:

This error could be caused by security software blocking Folding from talking to the servers. Try adding Folding@home to the exceptions list of your security software.


As you said, this error has been reported a number of times. This would save having to report the issue (once again) IF the user even bothered. Things like this happen with BOINC too although it often comes off as a false virus detection.
User avatar
Yavanius
 
Posts: 121
Joined: Thu Nov 03, 2016 4:55 am
Location: 92408

Re: New FAHClient

Postby DrBB1 » Fri Aug 03, 2018 7:04 am

I saw JimboPalmer's list of version changes at https://foldingforum.org/viewtopic.php?f=106&t=30831#p301620, but it is not clear to me what advantage there is in my upgrading from v.7.4.2 to v.7.5.1. Perhaps the information was in JimboPalmer's post but I simply lack the technical expertise to interpret it.

I run a single CPU client each on two PCs. I currently am having no problems with the clients for the WUs I receive. However, if the new F@H version is more efficient or if it can work with a wider variety of clients/projects, then I'll go ahead and upgrade. I'd just like to understand to pros and (if any) the cons before deciding. Thanks.
========
DrBB1
DrBB1
 
Posts: 161
Joined: Wed Mar 26, 2008 12:30 am
Location: SE PA

Re: New FAHClient

Postby bruce » Fri Aug 03, 2018 4:58 pm

DrBB1 wrote:I saw JimboPalmer's list of version changes at https://foldingforum.org/viewtopic.php?f=106&t=30831#p301620, but it is not clear to me what advantage there is in my upgrading from v.7.4.2 to v.7.5.1. Perhaps the information was in JimboPalmer's post but I simply lack the technical expertise to interpret it.

I run a single CPU client each on two PCs. I currently am having no problems with the clients for the WUs I receive. However, if the new F@H version is more efficient or if it can work with a wider variety of clients/projects, then I'll go ahead and upgrade. I'd just like to understand to pros and (if any) the cons before deciding. Thanks.


The efficiency of FAHClient is unimportant. It consumes so little CPU resources that you'll never notice a change, even if there happens to be one. All the 'real work' is done by the FAHCore and they update themselves based on your WU assignments.

With a single CPU slot, It shouldn't matter which client you use. Most (all?) of the changes fix problems found in more complex installations.

The links to the web from FAHControl have changed from stanford.edu to foldingathome.org but you may not actually use them except when download a new WU or a new FAHCore and I believe those links are properly redirected by DNS.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby DrBB1 » Fri Aug 03, 2018 5:35 pm

bruce, thanks for the clarification. Based on your explanation, until there is a pressing reason to upgrade my old F@H installations (or get a new device), I'll leave well enough alone. :D
DrBB1
 
Posts: 161
Joined: Wed Mar 26, 2008 12:30 am
Location: SE PA

Re: Log not cleared at end of WU

Postby snapshot » Fri Aug 10, 2018 5:44 am

I've not seen this before: HFM is reporting one GPU WU as being at 100% completion in the top summary window but at currently 24% and increasing normally in the log window. Grabbing the cached log shows that the slot wasn't cleared when the previous WU finished and the data for the current WU is being added to the end which seems to confuse HFM. It seems to be benign although it confuses the <censored> out of HFM and I expect it'll clear at the end of the current WU (I'll do it manually if it doesn't) but reported here for completeness.

Code: Select all
14:56:50:WU01:FS01:Connecting to 65.254.110.245:8080
14:56:50:WU01:FS01:Assigned to work server 140.163.4.231
14:56:50:WU01:FS01:Requesting new work unit for slot 01: RUNNING gpu:0:GP106 [GeForce GTX 1060 3GB] 3935 from 140.163.4.231
14:56:50:WU01:FS01:Connecting to 140.163.4.231:8080
14:56:51:WU01:FS01:Downloading 16.53MiB
14:56:57:WU01:FS01:Download 23.06%
14:57:03:WU01:FS01:Download 42.71%
14:57:09:WU01:FS01:Download 77.49%
14:57:11:WU01:FS01:Download complete
14:57:11:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:11713 run:18 clone:253 gen:196 core:0x21 unit:0x000001038ca304e75adf7aa029b922dc
15:00:37:WU01:FS01:Starting
15:00:37:WU01:FS01:Running FahCore: "C:\Program Files\FAHClient/FAHCoreWrapper.exe" C:\Users\Jonathan\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/Win32/AMD64/NVIDIA/Fermi/Core_21.fah/FahCore_21.exe -dir 01 -suffix 01 -version 705 -lifeline 5056 -checkpoint 15 -gpu-vendor nvidia -opencl-platform 1 -opencl-device 0 -cuda-device 0 -gpu 0
15:00:37:WU01:FS01:Started FahCore on PID 6028
15:00:37:WU01:FS01:Core PID:2476
15:00:37:WU01:FS01:FahCore 0x21 started
15:00:37:WU01:FS01:0x21:*********************** Log Started 2018-08-09T15:00:37Z ***********************
15:00:37:WU01:FS01:0x21:Project: 11713 (Run 18, Clone 253, Gen 196)
15:00:37:WU01:FS01:0x21:Unit: 0x000001038ca304e75adf7aa029b922dc
15:00:37:WU01:FS01:0x21:CPU: 0x00000000000000000000000000000000
15:00:37:WU01:FS01:0x21:Machine: 1
15:00:37:WU01:FS01:0x21:Reading tar file core.xml
15:00:37:WU01:FS01:0x21:Reading tar file integrator.xml
15:00:37:WU01:FS01:0x21:Reading tar file state.xml
15:00:37:WU01:FS01:0x21:Reading tar file system.xml
15:00:37:WU01:FS01:0x21:Digital signatures verified
15:00:37:WU01:FS01:0x21:Folding@home GPU Core21 Folding@home Core
15:00:37:WU01:FS01:0x21:Version 0.0.18
15:00:43:WU01:FS01:0x21:Completed 0 out of 7500000 steps (0%)
15:00:43:WU01:FS01:0x21:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900
15:04:28:WU01:FS01:0x21:Completed 75000 out of 7500000 steps (1%)
15:08:13:WU01:FS01:0x21:Completed 150000 out of 7500000 steps (2%)
15:11:58:WU01:FS01:0x21:Completed 225000 out of 7500000 steps (3%)
15:15:44:WU01:FS01:0x21:Completed 300000 out of 7500000 steps (4%)
15:19:28:WU01:FS01:0x21:Completed 375000 out of 7500000 steps (5%)
15:23:13:WU01:FS01:0x21:Completed 450000 out of 7500000 steps (6%)
15:26:59:WU01:FS01:0x21:Completed 525000 out of 7500000 steps (7%)
15:30:44:WU01:FS01:0x21:Completed 600000 out of 7500000 steps (8%)
15:34:29:WU01:FS01:0x21:Completed 675000 out of 7500000 steps (9%)
15:38:14:WU01:FS01:0x21:Completed 750000 out of 7500000 steps (10%)
15:41:59:WU01:FS01:0x21:Completed 825000 out of 7500000 steps (11%)
15:45:44:WU01:FS01:0x21:Completed 900000 out of 7500000 steps (12%)
15:49:29:WU01:FS01:0x21:Completed 975000 out of 7500000 steps (13%)
15:53:15:WU01:FS01:0x21:Completed 1050000 out of 7500000 steps (14%)
15:57:00:WU01:FS01:0x21:Completed 1125000 out of 7500000 steps (15%)
16:00:45:WU01:FS01:0x21:Completed 1200000 out of 7500000 steps (16%)
16:04:31:WU01:FS01:0x21:Completed 1275000 out of 7500000 steps (17%)
16:08:16:WU01:FS01:0x21:Completed 1350000 out of 7500000 steps (18%)
16:12:01:WU01:FS01:0x21:Completed 1425000 out of 7500000 steps (19%)
16:15:46:WU01:FS01:0x21:Completed 1500000 out of 7500000 steps (20%)
16:19:32:WU01:FS01:0x21:Completed 1575000 out of 7500000 steps (21%)
16:23:17:WU01:FS01:0x21:Completed 1650000 out of 7500000 steps (22%)
16:27:02:WU01:FS01:0x21:Completed 1725000 out of 7500000 steps (23%)
16:30:48:WU01:FS01:0x21:Completed 1800000 out of 7500000 steps (24%)
16:34:32:WU01:FS01:0x21:Completed 1875000 out of 7500000 steps (25%)
16:38:17:WU01:FS01:0x21:Completed 1950000 out of 7500000 steps (26%)
16:42:04:WU01:FS01:0x21:Completed 2025000 out of 7500000 steps (27%)
16:45:48:WU01:FS01:0x21:Completed 2100000 out of 7500000 steps (28%)
16:49:33:WU01:FS01:0x21:Completed 2175000 out of 7500000 steps (29%)
16:53:18:WU01:FS01:0x21:Completed 2250000 out of 7500000 steps (30%)
16:57:04:WU01:FS01:0x21:Completed 2325000 out of 7500000 steps (31%)
17:00:49:WU01:FS01:0x21:Completed 2400000 out of 7500000 steps (32%)
17:04:34:WU01:FS01:0x21:Completed 2475000 out of 7500000 steps (33%)
17:08:20:WU01:FS01:0x21:Completed 2550000 out of 7500000 steps (34%)
17:12:05:WU01:FS01:0x21:Completed 2625000 out of 7500000 steps (35%)
17:15:50:WU01:FS01:0x21:Completed 2700000 out of 7500000 steps (36%)
17:19:36:WU01:FS01:0x21:Completed 2775000 out of 7500000 steps (37%)
17:23:21:WU01:FS01:0x21:Completed 2850000 out of 7500000 steps (38%)
17:27:06:WU01:FS01:0x21:Completed 2925000 out of 7500000 steps (39%)
17:30:51:WU01:FS01:0x21:Completed 3000000 out of 7500000 steps (40%)
17:34:37:WU01:FS01:0x21:Completed 3075000 out of 7500000 steps (41%)
17:38:22:WU01:FS01:0x21:Completed 3150000 out of 7500000 steps (42%)
17:42:07:WU01:FS01:0x21:Completed 3225000 out of 7500000 steps (43%)
17:45:53:WU01:FS01:0x21:Completed 3300000 out of 7500000 steps (44%)
17:49:38:WU01:FS01:0x21:Completed 3375000 out of 7500000 steps (45%)
17:53:23:WU01:FS01:0x21:Completed 3450000 out of 7500000 steps (46%)
17:57:10:WU01:FS01:0x21:Completed 3525000 out of 7500000 steps (47%)
18:00:55:WU01:FS01:0x21:Completed 3600000 out of 7500000 steps (48%)
18:04:40:WU01:FS01:0x21:Completed 3675000 out of 7500000 steps (49%)
18:08:24:WU01:FS01:0x21:Completed 3750000 out of 7500000 steps (50%)
18:12:11:WU01:FS01:0x21:Completed 3825000 out of 7500000 steps (51%)
18:15:56:WU01:FS01:0x21:Completed 3900000 out of 7500000 steps (52%)
18:19:41:WU01:FS01:0x21:Completed 3975000 out of 7500000 steps (53%)
18:23:27:WU01:FS01:0x21:Completed 4050000 out of 7500000 steps (54%)
18:27:12:WU01:FS01:0x21:Completed 4125000 out of 7500000 steps (55%)
18:30:57:WU01:FS01:0x21:Completed 4200000 out of 7500000 steps (56%)
18:34:44:WU01:FS01:0x21:Completed 4275000 out of 7500000 steps (57%)
18:38:29:WU01:FS01:0x21:Completed 4350000 out of 7500000 steps (58%)
18:42:14:WU01:FS01:0x21:Completed 4425000 out of 7500000 steps (59%)
18:45:59:WU01:FS01:0x21:Completed 4500000 out of 7500000 steps (60%)
18:49:45:WU01:FS01:0x21:Completed 4575000 out of 7500000 steps (61%)
18:53:30:WU01:FS01:0x21:Completed 4650000 out of 7500000 steps (62%)
18:57:15:WU01:FS01:0x21:Completed 4725000 out of 7500000 steps (63%)
19:01:02:WU01:FS01:0x21:Completed 4800000 out of 7500000 steps (64%)
19:04:47:WU01:FS01:0x21:Completed 4875000 out of 7500000 steps (65%)
19:08:32:WU01:FS01:0x21:Completed 4950000 out of 7500000 steps (66%)
19:12:18:WU01:FS01:0x21:Completed 5025000 out of 7500000 steps (67%)
19:16:03:WU01:FS01:0x21:Completed 5100000 out of 7500000 steps (68%)
19:19:48:WU01:FS01:0x21:Completed 5175000 out of 7500000 steps (69%)
19:23:33:WU01:FS01:0x21:Completed 5250000 out of 7500000 steps (70%)
19:27:20:WU01:FS01:0x21:Completed 5325000 out of 7500000 steps (71%)
19:31:05:WU01:FS01:0x21:Completed 5400000 out of 7500000 steps (72%)
19:34:50:WU01:FS01:0x21:Completed 5475000 out of 7500000 steps (73%)
19:38:36:WU01:FS01:0x21:Completed 5550000 out of 7500000 steps (74%)
19:42:22:WU01:FS01:0x21:Completed 5625000 out of 7500000 steps (75%)
19:46:07:WU01:FS01:0x21:Completed 5700000 out of 7500000 steps (76%)
19:49:53:WU01:FS01:0x21:Completed 5775000 out of 7500000 steps (77%)
19:53:39:WU01:FS01:0x21:Completed 5850000 out of 7500000 steps (78%)
19:57:24:WU01:FS01:0x21:Completed 5925000 out of 7500000 steps (79%)
20:01:09:WU01:FS01:0x21:Completed 6000000 out of 7500000 steps (80%)
20:04:55:WU01:FS01:0x21:Completed 6075000 out of 7500000 steps (81%)
20:08:41:WU01:FS01:0x21:Completed 6150000 out of 7500000 steps (82%)
20:12:26:WU01:FS01:0x21:Completed 6225000 out of 7500000 steps (83%)
20:16:12:WU01:FS01:0x21:Completed 6300000 out of 7500000 steps (84%)
20:19:58:WU01:FS01:0x21:Completed 6375000 out of 7500000 steps (85%)
20:23:43:WU01:FS01:0x21:Completed 6450000 out of 7500000 steps (86%)
20:27:29:WU01:FS01:0x21:Completed 6525000 out of 7500000 steps (87%)
20:31:14:WU01:FS01:0x21:Completed 6600000 out of 7500000 steps (88%)
20:35:00:WU01:FS01:0x21:Completed 6675000 out of 7500000 steps (89%)
20:38:45:WU01:FS01:0x21:Completed 6750000 out of 7500000 steps (90%)
20:42:31:WU01:FS01:0x21:Completed 6825000 out of 7500000 steps (91%)
20:46:16:WU01:FS01:0x21:Completed 6900000 out of 7500000 steps (92%)
20:50:02:WU01:FS01:0x21:Completed 6975000 out of 7500000 steps (93%)
20:53:48:WU01:FS01:0x21:Completed 7050000 out of 7500000 steps (94%)
20:57:33:WU01:FS01:0x21:Completed 7125000 out of 7500000 steps (95%)
21:01:19:WU01:FS01:0x21:Completed 7200000 out of 7500000 steps (96%)
21:05:05:WU01:FS01:0x21:Completed 7275000 out of 7500000 steps (97%)
21:08:50:WU01:FS01:0x21:Completed 7350000 out of 7500000 steps (98%)
21:12:35:WU01:FS01:0x21:Completed 7425000 out of 7500000 steps (99%)
21:16:21:WU01:FS01:0x21:Completed 7500000 out of 7500000 steps (100%)
21:16:22:WU01:FS01:0x21:Saving result file logfile_01.txt
21:16:22:WU01:FS01:0x21:Saving result file checkpointState.xml
21:16:22:WU01:FS01:0x21:Saving result file checkpt.crc
21:16:22:WU01:FS01:0x21:Saving result file log.txt
21:16:22:WU01:FS01:0x21:Saving result file positions.xtc
21:16:22:WU01:FS01:0x21:Folding@home Core Shutdown: FINISHED_UNIT
21:16:23:WU01:FS01:FahCore returned: FINISHED_UNIT (100 = 0x64)
21:16:23:WU01:FS01:Sending unit results: id:01 state:SEND error:NO_ERROR project:11713 run:18 clone:253 gen:196 core:0x21 unit:0x000001038ca304e75adf7aa029b922dc
21:16:23:WU01:FS01:Uploading 11.79MiB to 140.163.4.231
21:16:23:WU01:FS01:Connecting to 140.163.4.231:8080
21:16:29:WU01:FS01:Upload 6.89%
21:16:35:WU01:FS01:Upload 14.31%
21:16:41:WU01:FS01:Upload 21.21%
21:16:47:WU01:FS01:Upload 28.63%
21:16:53:WU01:FS01:Upload 36.05%
21:16:59:WU01:FS01:Upload 42.94%
21:17:05:WU01:FS01:Upload 50.37%
21:17:11:WU01:FS01:Upload 57.26%
21:17:17:WU01:FS01:Upload 64.68%
21:17:23:WU01:FS01:Upload 71.57%
21:17:29:WU01:FS01:Upload 79.00%
21:17:35:WU01:FS01:Upload 85.89%
21:17:41:WU01:FS01:Upload 93.31%
21:17:47:WU01:FS01:Upload 100.00%
21:17:47:WU01:FS01:Upload complete
21:17:47:WU01:FS01:Server responded WORK_ACK (400)
21:17:47:WU01:FS01:Final credit estimate, 85007.00 points
03:39:13:WU01:FS01:Connecting to 65.254.110.245:8080
03:39:13:WU01:FS01:Assigned to work server 140.163.4.231
03:39:13:WU01:FS01:Requesting new work unit for slot 01: RUNNING gpu:0:GP106 [GeForce GTX 1060 3GB] 3935 from 140.163.4.231
03:39:13:WU01:FS01:Connecting to 140.163.4.231:8080
03:39:14:WU01:FS01:Downloading 16.51MiB
03:39:20:WU01:FS01:Download 95.01%
03:39:20:WU01:FS01:Download complete
03:39:20:WU01:FS01:Received Unit: id:01 state:DOWNLOAD error:NO_ERROR project:11713 run:12 clone:199 gen:218 core:0x21 unit:0x0000011e8ca304e75adf778673e59527
03:43:06:WU01:FS01:Starting
03:43:06:WU01:FS01:Running FahCore: "C:\Program Files\FAHClient/FAHCoreWrapper.exe" C:\Users\Jonathan\AppData\Roaming\FAHClient\cores/cores.foldingathome.org/Win32/AMD64/NVIDIA/Fermi/Core_21.fah/FahCore_21.exe -dir 01 -suffix 01 -version 705 -lifeline 5056 -checkpoint 15 -gpu-vendor nvidia -opencl-platform 1 -opencl-device 0 -cuda-device 0 -gpu 0
03:43:06:WU01:FS01:Started FahCore on PID 6124
03:43:06:WU01:FS01:Core PID:2972
03:43:06:WU01:FS01:FahCore 0x21 started
03:43:07:WU01:FS01:0x21:*********************** Log Started 2018-08-10T03:43:06Z ***********************
03:43:07:WU01:FS01:0x21:Project: 11713 (Run 12, Clone 199, Gen 218)
03:43:07:WU01:FS01:0x21:Unit: 0x0000011e8ca304e75adf778673e59527
03:43:07:WU01:FS01:0x21:CPU: 0x00000000000000000000000000000000
03:43:07:WU01:FS01:0x21:Machine: 1
03:43:07:WU01:FS01:0x21:Reading tar file core.xml
03:43:07:WU01:FS01:0x21:Reading tar file integrator.xml
03:43:07:WU01:FS01:0x21:Reading tar file state.xml
03:43:07:WU01:FS01:0x21:Reading tar file system.xml
03:43:07:WU01:FS01:0x21:Digital signatures verified
03:43:07:WU01:FS01:0x21:Folding@home GPU Core21 Folding@home Core
03:43:07:WU01:FS01:0x21:Version 0.0.18
03:43:12:WU01:FS01:0x21:Completed 0 out of 7500000 steps (0%)
03:43:12:WU01:FS01:0x21:Temperature control disabled. Requirements: single Nvidia GPU, tmax must be < 110 and twait >= 900
03:46:57:WU01:FS01:0x21:Completed 75000 out of 7500000 steps (1%)
03:50:42:WU01:FS01:0x21:Completed 150000 out of 7500000 steps (2%)
03:54:27:WU01:FS01:0x21:Completed 225000 out of 7500000 steps (3%)
03:58:13:WU01:FS01:0x21:Completed 300000 out of 7500000 steps (4%)
04:01:57:WU01:FS01:0x21:Completed 375000 out of 7500000 steps (5%)
04:05:42:WU01:FS01:0x21:Completed 450000 out of 7500000 steps (6%)
04:09:28:WU01:FS01:0x21:Completed 525000 out of 7500000 steps (7%)
04:13:13:WU01:FS01:0x21:Completed 600000 out of 7500000 steps (8%)
04:16:57:WU01:FS01:0x21:Completed 675000 out of 7500000 steps (9%)
04:20:42:WU01:FS01:0x21:Completed 750000 out of 7500000 steps (10%)
04:24:28:WU01:FS01:0x21:Completed 825000 out of 7500000 steps (11%)
04:28:13:WU01:FS01:0x21:Completed 900000 out of 7500000 steps (12%)
04:31:57:WU01:FS01:0x21:Completed 975000 out of 7500000 steps (13%)
04:35:43:WU01:FS01:0x21:Completed 1050000 out of 7500000 steps (14%)
04:39:28:WU01:FS01:0x21:Completed 1125000 out of 7500000 steps (15%)
04:43:13:WU01:FS01:0x21:Completed 1200000 out of 7500000 steps (16%)
04:46:59:WU01:FS01:0x21:Completed 1275000 out of 7500000 steps (17%)
04:50:44:WU01:FS01:0x21:Completed 1350000 out of 7500000 steps (18%)
04:54:29:WU01:FS01:0x21:Completed 1425000 out of 7500000 steps (19%)
04:58:13:WU01:FS01:0x21:Completed 1500000 out of 7500000 steps (20%)
05:02:00:WU01:FS01:0x21:Completed 1575000 out of 7500000 steps (21%)
05:05:44:WU01:FS01:0x21:Completed 1650000 out of 7500000 steps (22%)
05:09:29:WU01:FS01:0x21:Completed 1725000 out of 7500000 steps (23%)
05:13:16:WU01:FS01:0x21:Completed 1800000 out of 7500000 steps (24%)
User avatar
snapshot
 
Posts: 121
Joined: Thu Apr 09, 2009 7:25 pm
Location: Wiltshire, UK

Re: New FAHClient

Postby bruce » Fri Aug 10, 2018 9:12 pm

WU01 (11713 (Run 18, Clone 253, Gen 196)) was downloaded, processed, and the result uploaded, ending at 21:17:47
Something happened between 21:17:47 and 03:39:13. During that period, WU 01 was not present on your system. The WU would have download as either WU00 or WU02 (or even as something else) and the filter you're using to view the log doesn't show that information.
Whenever WUW00 or WU02 was completed (At 03:39:13) slot FS01 downloads a new (WU 11713 (Run 12, Clone 199, Gen 218)) into the previously empty WU01.

You're confusing the functionality fo the WU numbering with the FS (slot) numbering. They DO NOT MATCH.

Slot numbers (e.g. FS01) are invariant but they can process any WU* that happens to be present on your system provided that WU uses the hardware found in that slot.

A WU is assigned a number when it is downloaded, and it retains that number until its result is uploaded. The next WU can be dowloaded before the previous WU is completed so it is assigned a DIFFERENT number. When the third WU is downloaded, it might be assigned the same number as the first one ... or it might get a different number, depending on what values are in use.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby snapshot » Sat Aug 11, 2018 9:15 am

I think I was expressing it badly rather than misunderstanding it. Trying again, what normally happens is that the log that HFM displays for the active WU number is cleared at the end of that WU but that didn't happen in this case. It was cleared correctly at the end of the WU that started at 03:39. As far as I can tell from the stats and the six-hour time gap, another 11713 folded on a different WU number before WU01 was re-used at 03:39.
User avatar
snapshot
 
Posts: 121
Joined: Thu Apr 09, 2009 7:25 pm
Location: Wiltshire, UK

Re: New FAHClient

Postby bruce » Sat Aug 11, 2018 5:34 pm

HFM isn't supported by this forum and none of the information you presented gives any kind of clues that might help us understand what happened.

Was work/01 cleared between 21:17:47 and 03:39:13? or did some files remain there? That might cause HFM to assume the WU was still there.

I suupose it might not have been. Ordinarily after the message Final credit estimate... the next message is Cleaning up and I don't see that message. One possible cause for that situation would be if another process opened one of the files in work/01, making it ineligible for the 01 directory to be removed -- but there's nothing that can proved/disprove that theory. All we really know is that the cleanup of 01 was successful the next time a WU was uploaded from 01. Right?

Do you ever open files in a WU's directory?

I'm not aware of any message saying "Cleanup of WU01 failed." (I think FAHClient just waits.) Nor do I know if the cleanup message is issued when the cleanup process is started or when it's finished. (Somebody could go look at the code ... or test it.)
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby Jimboc » Sat Aug 25, 2018 4:59 pm

momus_98 wrote:Bruce, I appreciate your trying to help & I apologize if my tone sounded snarky or rude. Tone is impossible to convey in text. I work 12 hour night shifts and didn't have time to properly follow your instructions. I realize this problem I'm having could be a host of things: I use Private Internet Access and their software was recently updated; could be a Malwarebytes update and it thinks F@H is malware; could be that I use a combination of Google DNS and Cloudflare DNS settings in my router (I've read that Cloudflare was blocking certain IP's recently by mistake). My statement about taking a break from the project stems from the fact that although my house is air conditioned, I live in Texas and running F@H during the day makes for a nice space heater; I hesitate to even boil water on the stove for my tea.

But I digress. I've installed the software as you suggested (I'm not new at this; I know my way around hidden folders). I was prompted for Admin credentials during the install (I am both the Admin and sole user of this PC), selected Custom setup, and changed the path for the data files. I even unchecked "Read Only" from the data files folder just in case.

Anyway, I have good news and bad: The client still does not respond as before (the bad), but it is working albeit *very* slowly. I can right click on it and a context menu will show up after several minutes. It seems to have downloaded a work unit, but isn't doing anything with it. So things are happening, but not very quickly. I've allowed the software to run for about 30 minutes and here is where we're at so far:

I have to start getting ready for work and will revisit this later.


Hi momus_98,

I hope this message finds you well. I wish to ask did you ever manage to get the new 7.5.1 client working reliably?

I am asking since I too use a combination of a standard user account for day to day use and an admin account only for bulk changes/many program updates (1 to 2 times per month).

Today I upgraded from 7.4.4 by first uninstalling it. I followed my usual set up routine by starting the 7.5.1 installer using the admin password while logged into the standard user account. Chose custom install and to start the client manually. I then started the client using FAHControl and Folding@Home shortcuts which I copied from the admin's desktop to my start menu (standard user). My anti-malware software is Norton Security Version 22.15.0.88 (with default settings). I have never seen it alert on installing or using the FAHClient and that remains the case.

The client is working fine and I encountered no issues whatsoever. The client is NOT running with admin rights. I am using Windows 10 Pro for Workstations Version 1803 64 bit. I can provide the other specifications of this new system but I don't think they are relevant in this case.

For your information; if memory serves me right; client versions 7.1.52 and 7.2.9 needed admin rights to run. Versions 7.3.6 and later don't. I hope this helps. Thank you.
Jimboc
 
Posts: 54
Joined: Sun Feb 12, 2012 11:43 am
Location: Ireland

Re: New FAHClient

Postby bruce » Sat Aug 25, 2018 8:09 pm

Jimboc wrote:Today I upgraded from 7.4.4 by first uninstalling it. I followed my usual set up routine by starting the 7.5.1 installer using the admin password while logged into the standard user account. Chose custom install and to start the client manually. I then started the client using FAHControl and Folding@Home shortcuts which I copied from the admin's desktop to my start menu (standard user). My anti-malware software is Norton Security Version 22.15.0.88 (with default settings). I have never seen it alert on installing or using the FAHClient and that remains the case.


This doesn't make sense. When you installed as a standard user (with admin permission) the install would have created shortcuts on the standard user's desktop. Why did you replace them with the leftovers from a previous install by the admin account?

The whole point of installing as the standard user is to have FAH"s work files owned by that user, not by the admin. By using the Admin shortcuts, you're overriding the setting of %APPDATA% which has been incorporated into the current directory specified by each of the shorcuts. Only one user can run FAH at a given time, so using the settings for the non-admin account makes sense.

Either user can run the shortcuts created by the non-admin user. Only the Admin can run those created when logged on as Admin. [If you copy the non-admin shotcuts to the Admin desktop instead of the other way around, you'll probably fix your problem temporarily, but you don't need to do that. Running FAH from two accounts is a bad idea since it messes up the ownership of files in FAH's working directory where everything must remain read/write for anybody running FAH.]

What follows is off-topic for readers who always run Windows ....

This is a lot easier to understand in Linux, since the command "ls -la" displays all the ownership details in a concise chart. I wish Windows had the equivalent.

Then, too, the FAHClient Service always runs with the same user permissions no matter how it is started and the ownership of the working files never changes.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby bruce » Sat Aug 25, 2018 8:30 pm

bruce wrote:Do you ever open files in a WU's directory?

I'm not aware of any message saying "Cleanup of WU01 failed." (I think FAHClient just waits.) Nor do I know if the cleanup message is issued when the cleanup process is started or when it's finished. (Somebody could go look at the code ... or test it.)

OK, now this makes sense. One or more WUs was downloaded by the Admin and then completed by the non-admin. The non-admin account could not clean up the files owned by the admin... even though they had both used the same working files.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby Jimboc » Sun Aug 26, 2018 10:16 am

bruce wrote:This doesn't make sense. When you installed as a standard user (with admin permission) the install would have created shortcuts on the standard user's desktop. Why did you replace them with the leftovers from a previous install by the admin account?

The whole point of installing as the standard user is to have FAH"s work files owned by that user, not by the admin. By using the Admin shortcuts, you're overriding the setting of %APPDATA% which has been incorporated into the current directory specified by each of the shorcuts. Only one user can run FAH at a given time, so using the settings for the non-admin account makes sense.

Either user can run the shortcuts created by the non-admin user. Only the Admin can run those created when logged on as Admin. [If you copy the non-admin shotcuts to the Admin desktop instead of the other way around, you'll probably fix your problem temporarily, but you don't need to do that. Running FAH from two accounts is a bad idea since it messes up the ownership of files in FAH's working directory where everything must remain read/write for anybody running FAH.]

What follows is off-topic for readers who always run Windows ....

This is a lot easier to understand in Linux, since the command "ls -la" displays all the ownership details in a concise chart. I wish Windows had the equivalent.

Then, too, the FAHClient Service always runs with the same user permissions no matter how it is started and the ownership of the working files never changes.


Hi bruce,

I believe I may have caused some confusion from my post; my apologies. I haven't installed FAH in the standard Program Files or Program Files (x86) folders for other non-FAH related reasons.

Only 1 new shortcut (not a leftover) was placed on the admin users desktop by the installer referring to the following location:

C:\Programs\FAHClient\HideConsole.exe "C:\Programs\FAHClient\FAHClient.exe" --open-web-control

I re-created this shortcut and the shortcut listed below from my standard account and only use FAH from the standard account.

C:\Programs\FAHClient\FAHControl.exe

Thanks.
Jimboc
 
Posts: 54
Joined: Sun Feb 12, 2012 11:43 am
Location: Ireland

Re: New FAHClient

Postby bruce » Sun Aug 26, 2018 11:10 pm

Jimboc wrote:Hi bruce,

I believe I may have caused some confusion from my post; my apologies. I haven't installed FAH in the standard Program Files or Program Files (x86) folders for other non-FAH related reasons.

Only 1 new shortcut (not a leftover) was placed on the admin users desktop by the installer referring to the following location:

C:\Programs\FAHClient\HideConsole.exe "C:\Programs\FAHClient\FAHClient.exe" --open-web-control

I re-created this shortcut and the shortcut listed below from my standard account and only use FAH from the standard account.

C:\Programs\FAHClient\FAHControl.exe

Thanks.


No. I'm not talking about where FAH's executable files are installed. FAH's working files are stored elsewhere. Both FAHClient.exe and HideConsole.exe can be located wherever you choose (although it's non-standard) and apparently your shorcut works as you've configured it. Nevertheless, you've only addressed half of the issues.

Any shortcut contains fields. You have not mentioned the "Start in" entry and that's the one that I've been talking about Where does it point? It is initially set by whatever value the environment variable %APPDATA% had at the time you did the install. By default, the shorcut's "Start in" field points to a hidden directory in which FAH creates its working files and it's owned by whoever was logged on at install time. If you installed as "non-admin", it will point to a location owned by "non-admin". If you installed as "Admin", it will point to a location owned by "Admin" (unless you edit that field). It is ESSENTIAL that files in that directory are owned by the user who runs FAHClient / FAHControl /FAHViewer, NOT by somebody else. If some files were created by "Admin" then they cannot be altered by "non-admin" -- hence cleanup cannot be completed by "non-admin" and new downloads may fail.

Unless you alter it, the shortcut that was placed on the Admin desktop points to working files that belong to Admin so you're guaranteed to have troubles if somebody else uses that shortcut.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Re: New FAHClient

Postby bruce » Sun Aug 26, 2018 11:22 pm

Jimboc wrote:For your information; if memory serves me right; client versions 7.1.52 and 7.2.9 needed admin rights to run. Versions 7.3.6 and later don't. I hope this helps. Thank you.


This has absolutely nothing to do with the client version and everything to do with whether you selected "Install for everyone" or "Install just for me" The "install for everyone" option never worked and has been removed BECAUSE it exhibited the messed-up work-file permissions described above. Installing while logged on as Admin will create the same problems.

Uninstall (including data). Log on as the user that's going to run FAH ("non-admin") and install. Use the shortcut installed on the non-admin desktop (and if you want to move the executables from C:\Programs\X to C:\Programs\Y you may do so). Work-files will be created and owned by "non-admin" based on the "Start in" setting.
bruce
 
Posts: 22855
Joined: Thu Nov 29, 2007 10:13 pm
Location: So. Cal.

Previous

Return to V7.5.1 Public Release Windows/Linux/MacOS X

Who is online

Users browsing this forum: No registered users and 1 guest

cron