[distcc] 2.18.1 problems (WAS distcc 2.18.1 released )

Hamish Greig hgreig at bigpond.net.au
Mon Nov 8 05:03:15 GMT 2004


On Wed, 3 Nov 2004 13:56, Martin Pool wrote:
> This fixes a few small problems.  Thanks to everyone for their feedback.
>
> You can download it from
>
>   http://distcc.samba.org/download.html

Martin and *list*,
I have been using distcc for quite a while, it is a fabulous tool. Thanks for 
all your efforts.
I have a 5 computer farm, say one master compiler and 4 servers.
Server side (when client is running 2.18), this command line [1] works with 
2.18 either from an initscript or manually but in 2.18.1 connects/compiles on 
any server fail. Downgrading one server to 2.18 while the master compiles a 
large package and then restarting the daemon on that server allows 
connections (after the timeout) and distribution to that one server is 
successful.
The same behaviour is exhibited whether distccd is managed by xinetd or run 
standalone, regardless of how many jobs in total, host limits, lzo 
compression or not. (ssh not tested)
[2] is a single process from the distcc log that was sent remotely, failed, 
then compiled locally. All failures have similar log entries, just change the 
host and the .c file name. I think I see an/the error, but have no clue to 
it's cause, my coding skills are just too poor ( read non-existent ).

Client side, upgrading to 2.18.1 appears to stop distribution altogether here, 
no connect requests are sent to any server (from distccmon-gnome, 
distccmon-text and the compile log) and all compiles are run locally (even if 
localhost is not in /etc/distcc/hosts)

Please let me know if their is any other information needed, if a more verbose 
log would help or if I can perform some more checks on my systems. 

Hamish


[1] $ /usr/bin/distccd --daemon --allow=0.0.0.0/0 --user distcc 
-P /var/run/distccd.pid
[2]
grep 22665 /usr/src/glibc-20041011/glibc-2.3.4-distcc.log
distcc[22665] compile from check_fds.c to check_fds.o
distcc[22665] exec on greyskull/1,lzo: gcc ../sysdeps/generic/check_fds.c -c 
-std=gnu99 -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fPIC 
-m3dnow -march=athlon-tbird -mmmx -pipe -s -mpreferred-stack-boundary=4 
-fomit-frame-pointer -o /usr/src/glibc-20041011.bld/csu/check_fds.o
distcc[22665] (dcc_collect_child) cpp times: user 0.063990s, system 0.056991s, 
870 minflt, 0 majflt
distcc[22665] cpp ../sysdeps/generic/check_fds.c on localhost completed ok
distcc[22665] (dcc_writex) ERROR: failed to write: Broken pipe
distcc[22665] (dcc_readx) ERROR: unexpected eof on fd5
distcc[22665] (dcc_r_token_int) ERROR: read failed while waiting for token 
"DONE"
distcc[22665] 162406 bytes from ../sysdeps/generic/check_fds.c compiled on 
greyskull in 0.6984s, rate 227kB/s
distcc[22665] Warning: failed to distribute ../sysdeps/generic/check_fds.c to 
greyskull/1,lzo, running locally instead
distcc[22665] exec on localhost: gcc ../sysdeps/generic/check_fds.c -c 
-std=gnu99 -DPIC -O3 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -fPIC 
-m3dnow -march=athlon-tbird -mmmx -pipe -s -mpreferred-stack-boundary=4 
-fomit-frame-pointer -I../include -I. -I/usr/src/glibc-20041011.bld/csu -I.. 
-I../libio -I../nptl -I/usr/src/glibc-20041011.bld -I../sysdeps/i386/elf 
-I../nptl/sysdeps/unix/sysv/linux/i386/i686 
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux 
-I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv 
-I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 
-I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux 
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman 
-I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv 
-I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix 
-I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 
-I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 
-I../sysdeps/generic/elf -I../sysdeps/generic -D_LIBC_REENTRANT 
-D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI 
-o /usr/src/glibc-20041011.bld/csu/check_fds.o -MD -MP 
-MF /usr/src/glibc-20041011.bld/csu/check_fds.o.dt-MT /usr/src/glibc-20041011.bld/csu/check_fds.o
distcc[22665] (dcc_collect_child) cc times: user 0.154976s, system 0.063990s, 
2218 minflt, 0 majflt
distcc[22665] compile ../sysdeps/generic/check_fds.c on localhost completed ok
distcc[22665] elapsed compilation time 1.610973s
distcc[22665] (dcc_exit) exit: code 0; self: 0.003999 user 0.005999 sys; 
children: 0.218966 user 0.120981 sys
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/distcc/attachments/20041108/5ec24b93/attachment.bin


More information about the distcc mailing list