[distcc] NOT compiling on the localhost?

Alexandre Oliva oliva at lsd.ic.unicamp.br
Thu Jan 30 09:04:16 GMT 2003


On Jan 30, 2003, Martin Pool <mbp at samba.org> wrote:

> The problem is that it might waste a lot of time trying to connect to
> various unusable hosts.  

3 seconds per host, tops.  That's how long it takes for ssh to give up
when it gets the `host unreachable' ICMP packet.

> Merely trying all hosts would not be enough anyhow: if your network is
> down then everything will eventually fall back to local execution.

But with 3 seconds per machine, it might actually keep the load down.

Of course, I'd much rather have distcc notice that the host is down,
add a note somewhere so that it doesn't keep trying that for some
time, and keep on with the regular search.

> If I reenable load limiting then that ought to fix it, by capping
> the number of jobs on localhost.

That would be nice, yes.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


More information about the distcc mailing list