Page 1 of 1

Two Instances of FAHClient running

Posted: Fri Apr 22, 2016 5:11 pm
by DJViking
I was wondering why there is two instances of FAHClient running?

When starting the service these are the instances:

Code: Select all

fahclient@mintaka:~> ps -aux | grep FAH
fahclie+ 11312  0.0  0.0 21097356 6812 ?       Ssl  19:05   0:00 /usr/bin/FAHClient /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
fahclie+ 11314  0.1  0.1 623440 12184 ?        Sl   19:05   0:00 /usr/bin/FAHClient --child --lifeline 11312 /etc/fahclient/config.xml --run-as fahclient --pid-file=/var/run/fahclient.pid --daemon
The service script /etc/init.d/FAHClient only starts one instance from what I can see

Code: Select all

    if $QUIET; then
        $EXEC $OPTS >/dev/null 2>/dev/null &
    else
        $EXEC $OPTS &
    fi

Re: Two Instances of FAHClient running

Posted: Fri Apr 22, 2016 5:20 pm
by toTOW
I can't tell you why, but I can tell that I see the same thing on my machine, and it's working perfectly fine :)

Re: Two Instances of FAHClient running

Posted: Fri Apr 22, 2016 5:27 pm
by DJViking
As I am having trouble folding on GPU I must start the FAClient manually on the command line. Starting the service as root makes the GPU unavailable.
I have only started one instance, but it seems to go well. I did not use the flag --daemon though.