[distcc] Help: Getting warnings while using distcc in pump mode

Łukasz Tasz lukasz at tasz.eu
Wed Feb 17 19:17:10 UTC 2016


For me it looks like include server died.
try with some debuging options for include_server, it is passed via env var:
INCLUDE_SERVER_ARGS
doc:
https://distcc.googlecode.com/svn/trunk/doc/web/man/include_server_1.html

I would start with export INCLUDE_SERVER_ARGS="-d2"

regards
L.

Łukasz Tasz
RTKW

2016-02-17 6:09 GMT+01:00 Niraj Pandey <npandey at calypto.com>:

> Thanks Lukasz,
>
> I tried this but no luck. I don't see anything on the log file.
>
> distcc[27834] ERROR: failed to connect to UNIX-DOMAIN
> /tmp/distcc-pump.k32114/socket: No such file or directory
> distcc[27834] (dcc_build_somewhere) Warning: failed to get includes from
> include server, preprocessing locally
> distcc[27770] ERROR: failed to connect to UNIX-DOMAIN
> /tmp/distcc-pump.k32114/socket: No such file or directory
> distcc[27770] (dcc_build_somewhere) Warning: failed to get includes from
> include server, preprocessing locally
> distcc[28202] ERROR: failed to connect to UNIX-DOMAIN
> /tmp/distcc-pump.k32114/socket: No such file or directory
>
> Here is the DISTCC_HOSTS list:
>
> echo $DISTCC_HOSTS:
>
> blade5,cpp,lzo  blade6,cpp,lzo  blade7,cpp,lzo  blade8,cpp,lzo
>
> Thanks
> Niraj
>
>
>
>
> On Wed, Feb 10, 2016 at 8:17 PM, Łukasz Tasz <lukasz at tasz.eu> wrote:
>
>> what is your distcc_hosts?
>> could you set:
>> export DISTCC_LOG=/tmp/distcc.log
>> and check if something important is there?
>>
>> br
>> L.
>>
>>
>>
>> Łukasz Tasz
>> RTKW
>>
>> 2016-02-10 14:50 GMT+01:00 Niraj Pandey <npandey at calypto.com>:
>>
>>> Second thing I have total 40 cpus in distcc pool and I am using -j30
>>> while compiling.
>>> But most of the time I see it's using only 10-12 cous instead of 30.
>>> Any specific reason behind this ?
>>>
>>>  29886
>>> Blocked                                                            [0]
>>>  30091
>>> Blocked                                                            [0]
>>>  30287
>>> Blocked                                                            [1]
>>>  30323
>>> Blocked                                                            [1]
>>>  25544
>>> Blocked                                                            [1]
>>>  25789
>>> Blocked                                                            [2]
>>>  25830
>>> Blocked                                                            [2]
>>>  27660
>>> Blocked                                                            [3]
>>>  27721
>>> Blocked                                                            [4]
>>>  28540
>>> Blocked                                                            [4]
>>>  28635
>>> Blocked                                                            [4]
>>>  29466
>>> Blocked                                                            [5]
>>>  29730
>>> Blocked                                                            [5]
>>>  29918
>>> Blocked                                                            [6]
>>>  26504  Compile     TBGen.cpp
>>> 127.0.0.1[4]
>>>  26890  Compile     SimOper.cpp
>>> blade5[1]
>>>  29207  Compile     CGLRegex.cpp
>>> blade5[2]
>>>  28356  Compile     CDBTProcLibertyIntPowWFixed.cp
>>> blade6[5]
>>>  25461  Compile     SlecConstraintMgr.cpp
>>> blade7[0]
>>>  26055  Compile     PSSProofDecompCmd.cpp
>>> blade7[6]
>>>  29763  Compile     PhyCtsDriver.cpp
>>> blade8[3]
>>>  30388  Preprocess
>>> localhost[0]
>>>  25951  Preprocess
>>> localhost[1]
>>>  30256  Preprocess
>>> localhost[2]
>>>  29735  Preprocess
>>> localhost[3]
>>>  27558  Preprocess
>>> localhost[4]
>>>  27486  Preprocess
>>> localhost[5]
>>>  26256  Preprocess
>>> localhost[7]
>>>
>>> Thanks
>>> Niraj
>>>
>>> On Wed, Feb 10, 2016 at 7:08 PM, Niraj Pandey <npandey at calypto.com>
>>> wrote:
>>>
>>>>
>>>>
>>>> Hi,
>>>>
>>>> I am getting the following warnings frequently while compiling my code
>>>> using distcc in pump mode. Can someone please take a look and let me know
>>>> whats wrong here ?
>>>>
>>>> Here are the details:
>>>>
>>>> *Distcc version:*  distcc 3.1 x86_64-unknown-linux-gnu
>>>>
>>>> *Platform:*  CentOS release 5.8 x86_64
>>>>
>>>> *Purpose to use my distcc:*  Build my own program (entire code base).
>>>>
>>>> *Compiler:* gcc-4.8
>>>>
>>>> *Issue:*
>>>>
>>>> Getting the following warnings frequently:
>>>>
>>>> distcc[26880] ERROR: failed to connect to UNIX-DOMAIN
>>>> /tmp/distcc-pump.Z20678/socket: No such file or directory
>>>> distcc[26880] (dcc_build_somewhere) Warning: failed to get includes
>>>> from include server, preprocessing locally
>>>>
>>>>
>>>>
>>>> *Command using to compile:*pump env make "CC=distcc-3.1/bin/distcc
>>>> gcc-4.8/gcc -m32" "CXX=distcc-3.1/bin/distcc  gcc-4.8/g++ -Wno-deprecated
>>>> -m32"
>>>>
>>>>
>>>> Let me know if you need any other information. Thanks in advance.
>>>>
>>>> Thanks
>>>> Niraj
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>> __
>>> distcc mailing list            http://distcc.samba.org/
>>> To unsubscribe or change options:
>>> https://lists.samba.org/mailman/listinfo/distcc
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/distcc/attachments/20160217/56a187c5/attachment.html>


More information about the distcc mailing list