Page 1 of 1

8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 4:22 pm
by promeneur
openSUSE Tumbleweed
Fah 8.3.5

I try to start faclient service. This fails.
I get the error : code exited, status=217/user

icreated the cofig.xlm in /etc/fah-client folder

contents of config.xml

<config>
<allowed-origins v='https://app.foldingathome.org http://localhost:7396'/>
<web-root v='fah-web-control/dist'/>
</config>

Re: 8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 8:06 pm
by calxalot
Doesn’t 217/user mean the user specified in the service file does not exist?

Re: 8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 8:08 pm
by calxalot
The Debian installer creates user and group “fah-client”

I believe it also adds groups video,render to the user.

Re: 8.3.5, code exited, status=217/user, [solved]

Posted: Sun Feb 18, 2024 8:12 pm
by promeneur
I fixed it.

With "alien" I created a rpm from the deb.

The resulting rpm is partially adapted to openSUSE.

It does not create the required folders dedicated to fa-client.
It does not create the system user "fah-client" and the system group "fah-client".
The systemd service file is not good. We must complete it.

fah currently computes with 4 CPU assigned :
- an a8 project with 3 CPU
- a project 22 with 1 CPU and 1 NVIDIA dGPU

It seems there is a bug in web control. It indicates that 0 CPU is used for 22 project.

Re: 8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 8:16 pm
by calxalot
0 CPUs for GPU WUs is correct.

Re: 8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 8:17 pm
by calxalot
Or rather, you can create a group with zero CPUs for your GPU.

Re: 8.3.5, code exited, status=217/user

Posted: Sun Feb 18, 2024 8:22 pm
by calxalot
It’s on you to not use too many cpus now. Supposed to be.

Re: 8.3.5, code exited, status=217/user

Posted: Mon Feb 19, 2024 8:58 am
by promeneur
@calxalot
calxalot wrote: Sun Feb 18, 2024 8:16 pm 0 CPUs for GPU WUs is correct.
If I say that, it is because :

you see here https://beta.foldingathome.org/machines
for the 22 core, 1 CPU 1 GPU

you see at "work unit details"
for the 22 core, CPU 0 GPU 01:00:00

Re: 8.3.5, code exited, status=217/user

Posted: Mon Feb 19, 2024 11:23 am
by calxalot
I would need a screenshot to see what you do.

A GPU WU does not need any cpu assigned.
But you should leave some cpu threads free for system and GPU core overhead.

Re: 8.3.5, code exited, status=217/user

Posted: Mon Feb 19, 2024 12:08 pm
by promeneur