[distcc] 1 of 2 distcc servers not participating in compile

Caleb Groom caleb at hhhenterprises.com
Tue Jun 15 19:30:02 GMT 2004


I'm trying to use distcc to compile GNOME via GARNOME across 3 computers
- 1 client machine and two distcc servers.  The client and one server
will compile, however the second server will not.  I'm willing to
compile any package, GARNOME is just my first choice.

In the spirit of too much info rather than too little, I give you my
setup.  I checked the FAQ and the docs first, though I wasn't able to
search the mailing list archive (I did thumb through the subjects from
the last few month).  My apologies if this has been answered before.

I edited the GARNOME config to set 'CC = distcc' and CFLAGS += -j6 (2
times the total number of processors as per the FAQ).


Client (192.168.0.86):
 Red Hat 9, Kernel 2.4.20-30.9
 distcc-2.14, compiled from source

 Environment variables:
  $ echo $DISTCC_HOSTS
  192.168.0.77 192.168.0.95
  $ echo $DISTCC_VERBOSE
  1
  $ echo $DISTCC_LOG
  /home/caleb/distcc-client.log

Server 1 (192.168.0.77):
 Fedora Core 2, Kernel 2.6.6-1.427
 distcc-2.14, compiled from source

 distccd --daemon --allow 192.168.0.86 --log-file distcc-server1.log
--verbose

 Port scan from client:
  nmap -sT 192.168.0.77 -p 3632
  Interesting ports on 192.168.0.77:
   PORT     STATE SERVICE
   3632/tcp open  unknown

Server 2 (192.168.0.95):
 Fedora Core 2, Kernel 2.6.6-1.427
 distcc-2.14, compiled from source

 distccd --daemon --allow 192.168.0.86 --log-file distcc-server2.log
--verbose

 Port scan from client:
  nmap -sT 192.168.0.95 -p 3632
  Interesting ports on 192.168.0.95:
   PORT     STATE SERVICE
   3632/tcp open  unknown

Server 1 will process jobs, but server 2 never receives any jobs to
process.

Here's the output from the server 2 log:
distccd[7897] (dcc_listen_by_addr) listening on 0.0.0.0:3632
distccd[7897] (dcc_defer_accept) TCP_DEFER_ACCEPT turned on
distccd[7897] (dcc_standalone_server) 1 CPU online on this server
distccd[7897] (dcc_standalone_server) allowing up to 3 active jobs
distccd[7897] (dcc_ignore_sighup) ignoring SIGHUP
distccd[7898] (dcc_detach) setsid to session 7898
distccd[7898] (dcc_log_daemon_started) preforking daemon started 
  (2.14 i686-pc-linux-gnu, built Jun 14 2004 14:46:16)
distccd[7898] (dcc_preforking_parent) up to 1 children
distccd[7898] (dcc_preforking_parent) up to 2 children
distccd[7898] (dcc_preforking_parent) up to 3 children

The server 1 log is what I would call normal, as are the jobs that it's 
compiling.  I won't include it unless asked.

The beginning of the client log:
distcc[31835] (dcc_trace_version) distcc 2.14 i686-pc-linux-gnu; built
Jun 14 2004 14:03:54
distcc[31835] (dcc_recursion_safeguard) safeguard level=0
distcc[31835] (main) compiler name is "distcc"
distcc[31835] (dcc_scan_args) scanning arguments: cc -DHAVE_CONFIG_H -I.
-I. -I.. -I.. "-DG_LOG_DOMAIN="GLib"" -DG_ENABLE_DEBUG
-DG_DISABLE_DEPRECATED  -DGLIB_COMPILATION -I/home/caleb/garnome/include
-I/usr/X11R6/include -pthread -g -I/home/caleb/garnome/include
-I/usr/X11R6/include -L/home/caleb/garnome/lib -L/usr/X11R6/lib -O2
-pipe -j6 -Wall -MT gthreadpool.lo -MD -MP -MF .deps/gthreadpool.Tpo -c
gthreadpool.c -DPIC distcc[31835] (dcc_scan_args) found input file
"gthreadpool.c"
distcc[31835] (dcc_scan_args) no visible output file, going to add "-o  
gthreadpool.o" at end
distcc[31835] compile from gthreadpool.c to gthreadpool.o
distcc[31835] (dcc_get_hostlist) read hosts from environment
distcc[31835] (dcc_parse_hosts) found tcp token "192.168.0.77"
distcc[31835] (dcc_parse_hosts) found tcp token "192.168.0.95"
distcc[31835] (dcc_lock_host) got cpu lock on 192.168.0.77 slot 0 as fd4
<snip>

There are several entries added for server 1 (192.168.0.77) as it
accepts and completes jobs.  The only entries for server 2
(192.168.0.95) are periodic 
 distcc[<pid>] (dcc_parse_hosts) found tcp token "192.168.0.95" messages

If you've made it this far, thanks.  :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/distcc/attachments/20040615/c70e546a/attachment.bin


More information about the distcc mailing list