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

Joshua Baldock Joshua.Baldock at Optiver.com.au
Mon Nov 24 21:25:12 GMT 2008


Thanks guys for this information.

I have now got this working correctly.

Just to answer your other question Fergus, im using version 2.18.3, I know there are later version 3.0+, but I have been unable to locate a x64 rpm of 3.0 for redhat, and as this will be being deployed in to our production environment, I would like to not have to comile on every machine. So 2.18 is the latest version I can find in rpm that is x64.

Cheers,
Josh

From: Fergus Henderson [mailto:fergus at google.com]
Sent: Monday, 24 November 2008 9:35 PM
To: Joshua Baldock
Cc: distcc at lists.samba.org
Subject: Re: [distcc] Can't get more jobs then 4?

On Mon, Nov 24, 2008 at 2:14 AM, Joshua Baldock <Joshua.Baldock at optiver.com.au<mailto: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<mailto: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<http://10.0.0.1>,cpp,lzo", you should change it to "10.0.0.1/10,cpp,lzo<http://10.0.0.1/10,cpp,lzo>".

--
Fergus Henderson <fergus at google.com<mailto:fergus at google.com>>

________________________________
Information contained in this communication (including any attachments) is confidential and may be privileged or subject to copyright. If you have received this communication in error you are not authorised to use the information in any way and Optiver requests that you notify the sender by return email, destroy all copies and delete the information from your system. Optiver does not represent, warrant or guarantee that this communication is free from computer viruses or other defects or that the integrity of this communication has been maintained. Any views expressed in this communication are those of the individual sender. Optiver does not accept liability for any loss or damage caused directly or indirectly by this communication or its use.

Please consider the environment before printing this email.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the distcc mailing list