[distcc] trouble utilizing server cpu
Łukasz Tasz
lukasz at tasz.eu
Wed Apr 18 13:29:11 MDT 2012
Hi,
I had the similar issue, sometimes the best is not rely on output from
distccmon, but just login on 192.168.1.20
execute pstree -u <distccuser> -p -a and this ouptu will never lie ;)
I'm not sure if I still have this issue, but there was also situation
that that distccmon was showing no activities, but nodes was busy with
jobs,
what is your value for DISTCC_HOME? does it point to nfs?
br,
Lukasz
W dniu 18 kwietnia 2012 21:16 użytkownik Fergus Henderson
<fergus at google.com> napisał:
> What's the output from "make"?
> Try using DISTCC_VERBOSE=1, that may give more info.
>
> Also what is in /distcclog?
> (Using --log-level debug may give more info there too.)
>
>
> On Wed, Apr 18, 2012 at 2:57 PM, Marcin S <msporysz06 at gmail.com> wrote:
>>
>> Hello,
>> Im having trouble getting distcc to user full power of distcc server host.
>>
>> Here are my configs
>>
>> cat /etc/distcc/hosts
>> 192.168.1.20/20
>>
>> running distccd with following command
>> /usr/bin/distccd --daemon --pid-file /var/run/distccd/distccd.pid -j
>> 20 --port 3632 --log-level info --log-file /distcclog --allow
>> 192.168.1.13 -N 0
>>
>>
>> make gets -j20.
>>
>> here is example distccmon-text output
>>
>> 10106 Blocked
>> [3]
>> 10078 Blocked
>> [9]
>> 10110 Preprocess x-php.c
>> 192.168.1.20[0]
>> 10095 Preprocess x-awk.c
>> 192.168.1.20[1]
>> 10086 Preprocess x-java.c
>> 192.168.1.20[2]
>> 10087 Preprocess x-csharp.c
>> 192.168.1.20[3]
>> 10096 Preprocess x-ycp.c
>> 192.168.1.20[4]
>> 10099 Preprocess x-tcl.c
>> 192.168.1.20[6]
>> 10077 Preprocess x-scheme.c
>> 192.168.1.20[7]
>>
>> 10078 Blocked
>> [9]
>> 10110 Preprocess x-php.c
>> 192.168.1.20[0]
>> 10124 Preprocess msgattrib.c
>> 192.168.1.20[1]
>> 10116 Preprocess x-glade.c
>> 192.168.1.20[2]
>> 10106 Preprocess x-perl.c
>> 192.168.1.20[3]
>> 10128 Preprocess msgcat.c
>> 192.168.1.20[4]
>> 10115 Preprocess x-rst.c
>> 192.168.1.20[5]
>> 10129 Preprocess msgcomm.c
>> 192.168.1.20[6]
>> 10130 Preprocess msgconv.c
>> 192.168.1.20[7]
>> 10077 Compile x-scheme.c
>> 192.168.1.20[7]
>>
>>
>> It's usualy Preprocess, very rarely Compile - altrought I didnt found
>> what "Preprocess" means...
>>
>> So its sending some jobs to server, but cpu load at server is usualy
>> <10% and compiler process "cc1" spawns very rarely. Most "Compile"
>> jobs running on localhost.
>> Can someone help me to figure out whats going on?
>>
>> Regards
>> __
>> distcc mailing list http://distcc.samba.org/
>> To unsubscribe or change options:
>> https://lists.samba.org/mailman/listinfo/distcc
>
>
>
>
> --
> Fergus Henderson <fergus at google.com>
>
> "Defend the user, exclude no one, and create magic." -- Eric Schmidt.
>
>
>
> __
> distcc mailing list http://distcc.samba.org/
> To unsubscribe or change options:
> https://lists.samba.org/mailman/listinfo/distcc
--
--
Łukasz Tasz
More information about the distcc
mailing list