[distcc] server blocked when using distcc

JCX jcx721 at gmail.com
Wed Aug 19 23:20:18 MDT 2009


I use the command "distccd --log-file /tmp/distccd.log --daemon
--allow 10.1.4.0/22". And the distccd.log is:

distccd[26703] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26703] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26703] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys
distccd[26706] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26706] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26706] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys
distccd[26707] (dcc_setup_daemon_path) daemon's PATH is
/opt/trango/gnu-gcc_4.1.1_codesourcery-arm-2006q3-linux/bin:/build/toolchain/lin32/perforce-r09.1/:/build/trees/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
distccd[26707] (dcc_listen_by_addr) ERROR: bind of :::3632 failed:
Address already in use
distccd[26707] (dcc_exit) exit: code 102; self: 0.000000 user 0.000000
sys; children: 0.000000 user 0.000000 sys

I don't know why this error happens. Can you give me some suggestions?

Thanks,
Caixia


2009/8/20 Martin Pool <mbp at sourcefrog.net>:
> 2009/8/20 JCX <jcx721 at gmail.com>:
>> Hi all,
>>
>> I compile code using distcc in two eight core machines. In the server
>> machine, i use the command "distccd --daemon --allow 10.1.4.0/22" and
>> see the distccd process when i use "ps -ax | grep distccd". In the
>> host machine, i set the environment variable DISTCC_HOSTS="localhost/8
>> pek-office/8". However, when i use the "distccmon-text 2" to see the
>> compile process, i got the result:
>>
>>  22723  Connect     pngpread.c                     pek-office[0]
>>  22747  Connect     pngrio.c                         pek-office[1]
>>  22763  Connect     pngrutil.c                        pek-office[2]
>>  4304  Compile     RenderTableSection.cpp   localhost[0]
>>  27914  Compile     pvmf_protocol_engine_common.cp                localhost[1]
>>  4291  Compile     RenderTableRow.cpp        localhost[2]
>>
>>  22723  Blocked     pngpread.c                     pek-office[0]
>>  22763  Blocked     pngrutil.c                        pek-office[2]
>>
>> It seems all the files are compiled on localhost. pek-office server is
>> in either "connect" or "blocked" status.
>>
>> So, can someone explain what could be happening here? What can i do to
>> sort this problem out?
>
> Have a look in the server's log file.
> --
> Martin <http://launchpad.net/~mbp/>
>


More information about the distcc mailing list