[distcc] Can't get more jobs then 4?

Fergus Henderson fergus at google.com
Mon Nov 24 10:34:57 GMT 2008


On Mon, Nov 24, 2008 at 2:14 AM, Joshua Baldock <
Joshua.Baldock at optiver.com.au> wrote:

>  Been testing distcc in our environment, and am hoping to implement soon.
>
Which version of distcc are you using?  It's worth using an up-to-date
version (>= 3.0).

> I have come across something, that I need some guidence on. When compiling
> code I am using the -j10 option. If I am correct, this should be sending 10
> parrallel jobs to my distcc servers. However when using the distccmon-text,
> I see the following…
>
ibaker at mail.cern.ch wrote:

> On Mon, 24 Nov 2008, Joshua Baldock wrote:

> Can you please clarify where I would find the "value to for the servers
> host specification"?


>
When you specify a host usually either in the $DISTCC_HOSTS env variable or
> the ~/.distcc/hosts file (basically wherever you specified the name of your
> server), you can specify a decimal limit that will restrict the number of
> jobs that the client will send to the server.  If you don't specify a value
> it will default to 4.
>

ibaker is right.

Specifically, for each host in your DISTCC_HOSTS environment variable, you
should insert a "/" and then the job limit, immediately after the host name
or IP address.  For example, if your DISTCC_HOSTS was set to
"10.0.0.1,cpp,lzo",
you should change it to "10.0.0.1/10,cpp,lzo".

-- 
Fergus Henderson <fergus at google.com>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list