[distcc] server blocked when using distcc

Martin Pool mbp at sourcefrog.net
Wed Aug 19 21:56:16 MDT 2009


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