Newbie with headless Linux server has some questions

Moderators: Site Moderators, FAHC Science Team

Post Reply
Tetmohawk
Posts: 3
Joined: Fri Apr 10, 2020 12:29 pm

Newbie with headless Linux server has some questions

Post by Tetmohawk »

Hey, I just set up a new AMD Ryzen system and wanted to do Folding@home. Downloaded rpms per the site instructions and everything seemed to run great for several hours. I would get things like this:

06:04:25:WU00:FS00:Upload complete
06:04:25:WU00:FS00:Server responded WORK_ACK (400)
06:04:25:WU00:FS00:Final credit estimate, 1992.00 points
06:04:25:WU00:FS00:Cleaning up

I'm assuming calculations got finished and things uploaded properly.

Then I started getting stuff like this:

06:18:31:WU01:FS00:Connecting to 65.254.110.245:8080
06:18:31:WARNING:WU01:FS00:Failed to get assignment from '65.254.110.245:8080': No WUs available for this configuration
06:18:31:WU01:FS00:Connecting to 18.218.241.186:80
06:18:33:WARNING:WU01:FS00:Failed to get assignment from '18.218.241.186:80': No WUs available for this configuration
06:18:33:ERROR:WU01:FS00:Exception: Could not get an assignment
06:29:36:WU01:FS00:Connecting to 65.254.110.245:8080
06:29:37:WU01:FS00:Assigned to work server 128.252.203.9
06:29:37:WU01:FS00:Requesting new work unit for slot 00: READY cpu:5 from 128.252.203.9
06:29:37:WU01:FS00:Connecting to 128.252.203.9:8080
06:29:37:ERROR:WU01:FS00:Exception: Server did not assign work unit

So is it just as simple as there aren't any work units to get? I also noticed that the log files and my system date were off. Looking at some stuff here it seems that the log files are in UTC which jives with what I'm seeing. Is that correct?

Finally, any good sources for configuring a headless Linux system. The documentation says to look at FAHClient --help which I did, and that was useful. But anywhere else?

Thanks in advance for answering some newbie questions!
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Newbie with headless Linux server has some questions

Post by PantherX »

Welcome to the F@H Forum Tetmohawk,

This shows that you have successfully downloaded and completed a WU:
06:04:25:WU00:FS00:Server responded WORK_ACK (400)
06:04:25:WU00:FS00:Final credit estimate, 1992.00 points

I can see from your log messages that you have setup 5 CPUs. Drop it down to 4 and you will be getting WUs. Reason is that 5 is a prime number larger than 3 and it can cause issues while folding protein due to domain decomposition issues. Simply but, the protein can't be divided up nicely to fold on 5 CPUs.

Can you please post the first ~100 lines of your log file so we can see what the FAHClient sees hardware wise and how you have configured it? Also, what are you looking to configure for your headless system?
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Tetmohawk
Posts: 3
Joined: Fri Apr 10, 2020 12:29 pm

Re: Newbie with headless Linux server has some questions

Post by Tetmohawk »

Thanks for your help! I've included the /var/lib/fahclient/log.txt file below. I noticed stuff about the GPU so I've installed opencl and will try that out. In general, I would think I could use any number of cores and the software would adjust accordingly. Things are running now. Also, is there a way to set it up so it runs continuously? I have access to the web server and I can select idle or when working. Right now it's set for when I'm working. So how does it know that if it's headless? So at night it doesnt' work at all. I want this to be an always-on server. It's headless and I don't use it as my desktop system. And it will have other things on it soon so I don't want it to be confused with when it's idle or isnt'. I guess I could set it for when I'm working and do a cron entry to wget 127.0.0.1:7396 periodically so it thinks I'm working. Anyway, thanks again and I look forward to helping the project out more.

Code: Select all

*********************** Log Started 2020-04-10T20:36:50Z ***********************
20:36:50:************************* Folding@home Client *************************
20:36:50:    Website: https://foldingathome.org/
20:36:50:  Copyright: (c) 2009-2018 foldingathome.org
20:36:50:     Author: Joseph Coffland <joseph@cauldrondevelopment.com>
20:36:50:       Args: --child --lifeline 20893 /etc/fahclient/config.xml --run-as
20:36:50:             fahclient --pid-file=/var/run/fahclient.pid --daemon
20:36:50:     Config: /etc/fahclient/config.xml
20:36:50:******************************** Build ********************************
20:36:50:    Version: 7.5.1
20:36:50:       Date: May 12 2018
20:36:50:       Time: 22:51:07
20:36:50: Repository: Git
20:36:50:   Revision: 4705bf53c635f88b8fe85af7675557e15d491ff0
20:36:50:     Branch: master
20:36:50:   Compiler: GNU 4.4.7 20120313 (Red Hat 4.4.7-18)
20:36:50:    Options: -std=gnu++98 -O3 -funroll-loops
20:36:50:   Platform: linux2 4.14.0-3-amd64
20:36:50:       Bits: 64
20:36:50:       Mode: Release
20:36:50:******************************* System ********************************
20:36:50:        CPU: AMD Ryzen 5 1600 Six-Core Processor
20:36:50:     CPU ID: AuthenticAMD Family 23 Model 1 Stepping 1
20:36:50:       CPUs: 12
20:36:50:     Memory: 15.58GiB
20:36:50:Free Memory: 14.15GiB
20:36:50:    Threads: POSIX_THREADS
20:36:50: OS Version: 4.18
20:36:50:Has Battery: false
20:36:50: On Battery: false
20:36:50: UTC Offset: -4
20:36:50:        PID: 20895
20:36:50:        CWD: /var/lib/fahclient
20:36:50:         OS: Linux 4.18.0-147.5.1.el8_1.x86_64 x86_64
20:36:50:    OS Arch: AMD64
20:36:50:       GPUs: 1
20:36:50:      GPU 0: Bus:8 Slot:0 Func:0 NVIDIA:1 GT218 [GeForce 210]
20:36:50:       CUDA: Not detected: Failed to open dynamic library 'libcuda.so':
20:36:50:             libcuda.so: cannot open shared object file: No such file or
20:36:50:             directory
20:36:50:     OpenCL: Not detected: Failed to open dynamic library 'libOpenCL.so':
20:36:50:             libOpenCL.so: cannot open shared object file: No such file or
20:36:50:             directory
20:36:50:***********************************************************************
20:36:50:<config>
20:36:50:  <!-- Folding Slot Configuration -->
20:36:50:  <gpu v='false'/>
20:36:50:
20:36:50:  <!-- HTTP Server -->
20:36:50:  <allow v='127.0.0.1 192.168.1.147'/>
20:36:50:
20:36:50:  <!-- Slot Control -->
20:36:50:  <power v='light'/>
20:36:50:
20:36:50:  <!-- User Information -->
20:36:50:  <passkey v='********************************'/>
20:36:50:  <user v='d8081e421b36497859708a08cca47c50'/>
20:36:50:
20:36:50:  <!-- Web Server -->
20:36:50:  <web-allow v='127.0.0.1 192.168.1.147'/>
20:36:50:
20:36:50:  <!-- Folding Slots -->
20:36:50:  <slot id='0' type='CPU'/>
20:36:50:</config>
20:36:50:Switching to user fahclient
20:36:50:Trying to access database...
20:36:50:Successfully acquired database lock
20:36:50:Enabled folding slot 00: READY cpu:5
20:36:50:WU01:FS00:Starting
Mod Edit: Added Code Tags - PantherX
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Newbie with headless Linux server has some questions

Post by PantherX »

Please note that your GPU, Nvidia GT218 doesn't have OpenCL 1.2 and Double Precision so can't fold: https://www.techpowerup.com/gpu-specs/geforce-210.c2020

Since you're running a CPU slot only, I know that under Windows you can run it as a service. I think you can do the same with Linux too (not sure how it is done).

If you want to fold on your CPU 24/7, simply select Full power and that's it.
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Tetmohawk
Posts: 3
Joined: Fri Apr 10, 2020 12:29 pm

Re: Newbie with headless Linux server has some questions

Post by Tetmohawk »

Thank you for the feedback. I'll take a look at the full power setting. And for your information, when you install the Linux version it automatically sets it up as a service (daemon). Thanks again for your help.
fangfufu
Posts: 117
Joined: Thu Jan 01, 2009 3:26 am
Hardware configuration: 4 cores on a Intel(R) Core(TM) i7-8700K
Location: Cambridge, United Kingdom
Contact:

Re: Newbie with headless Linux server has some questions

Post by fangfufu »

On a side note, I feel this should really go to one of the main forum... This is actually a technical question.
Folding with 4 cores on Intel(R) Core(TM) i7-8700K

I first started folding back in the Google Compute days!
PantherX
Site Moderator
Posts: 7020
Joined: Wed Dec 23, 2009 9:33 am
Hardware configuration: V7.6.21 -> Multi-purpose 24/7
Windows 10 64-bit
CPU:2/3/4/6 -> Intel i7-6700K
GPU:1 -> Nvidia GTX 1080 Ti
§
Retired:
2x Nvidia GTX 1070
Nvidia GTX 675M
Nvidia GTX 660 Ti
Nvidia GTX 650 SC
Nvidia GTX 260 896 MB SOC
Nvidia 9600GT 1 GB OC
Nvidia 9500M GS
Nvidia 8800GTS 320 MB

Intel Core i7-860
Intel Core i7-3840QM
Intel i3-3240
Intel Core 2 Duo E8200
Intel Core 2 Duo E6550
Intel Core 2 Duo T8300
Intel Pentium E5500
Intel Pentium E5400
Location: Land Of The Long White Cloud
Contact:

Re: Newbie with headless Linux server has some questions

Post by PantherX »

fangfufu wrote:On a side note, I feel this should really go to one of the main forum... This is actually a technical question.
Thanks... this is done :)
ETA:
Now ↞ Very Soon ↔ Soon ↔ Soon-ish ↔ Not Soon ↠ End Of Time

Welcome To The F@H Support Forum Ӂ Troubleshooting Bad WUs Ӂ Troubleshooting Server Connectivity Issues
Post Reply