Catalin Trifu wrote:
>       Hi,
>
>     Is FEATURES properly set in /etc/make.conf.
>   
Yes, FEATURES="distcc"
>     I think you should use distcc-config --set-hosts to set the compiling farm
> hosts and localhost is not necessary.
>   
I've used distcc-config.  All it does is write to /etc/distcc/hosts
according
to the format described in distcc (1).  You're right, localhost is not
necessary.  The man page claims that, since localhost is last in the host
list, it will be used only after jobs are distributed to the other hosts in
the list.  That's definitely not what happens on my machines, however.
>     Did you check if /etc/conf.d/distcc is correctly configured on all the 
> boxes
> like on which interface they listen on and from which hosts they accept 
> connections.
>     Last I believe you need to specify the port in the --set-hosts line:
>        distcc-config --set-hosts "fast_host_1:3632/3 fast_host_2:3632/2"
>     In this case 3 jobs get sent to fast_host_1 and 2 to fast_host_2.
>   
The other machines are configured correctly and do accept compilation
jobs - but not very many.  According to the man page the port 3623 is
the default and need not be specified.

I think I will try again with "localhost" removed from the host list.

John
-- 
gentoo-user@gentoo.org mailing list

Reply via email to