[distcc] too many SSH connections

Phil R Lawrence phil at five-lawrences.com
Fri Oct 31 12:18:16 GMT 2003



Hello,

When I try to emerge using distcc over SSH, it keeps logging me back on and off the other box.  Can you help me find the source of this problem?  My expectation was that I would stay connected to the other box until the emerge was done.  Here is lots of info...  Thanks! :-)

On the remote box:
I compiled and installed gcc 3.2.3 on the remote box as root

I compiled and installed distcc-2.11.2 on the remote box under a user account.

Here's a snip from /var/log/secure on the remote box:
Oct 31 03:05:02 remote sshd[9521]: Accepted password for me from <snipped> port 33552 ssh2
Oct 31 03:06:27 remote sshd[9571]: Accepted password for me from <snipped> port 33553 ssh2
Oct 31 03:06:38 remote sshd[9582]: Accepted password for me from <snipped> port 33554 ssh2
Oct 31 03:06:56 remote sshd[9593]: Accepted password for me from <snipped> port 33555 ssh2
Oct 31 03:07:03 remote sshd[9604]: Accepted password for me from <snipped> port 33556 ssh2
Oct 31 03:07:35 remote sshd[9615]: Accepted password for me from <snipped> port 33557 ssh2
Oct 31 03:07:38 remote sshd[9627]: Accepted password for me from <snipped> port 33558 ssh2
Oct 31 03:07:43 remote sshd[9638]: Accepted password for me from <snipped> port 33559 ssh2
Oct 31 03:07:46 remote sshd[9649]: Accepted password for me from <snipped> port 33560 ssh2
Oct 31 03:07:52 remote sshd[9660]: Accepted password for me from <snipped> port 33561 ssh2
Oct 31 03:08:28 remote sshd[9671]: Connection closed by <snipped>

On the laptop: 
gcc 3.2.2 is currently emerged on my laptop.

I emerged distcc-2.11.1 on my gentoo laptop.

# distcc-config --set-hosts "me@<snipped>:/home/me/opt/bin/distccd localhost"

# /etc/init.d/distccd start

# emerge mplayer
Calculating dependencies ...done!
>>> emerge (1 of 17) media-sound/cdparanoia-3.9.8 to /
>>> md5 src_uri ;-) cdparanoia-III-alpha9.8.src.tgz
>>> Unpacking source...
>>> Unpacking cdparanoia-III-alpha9.8.src.tgz to /var/tmp/portage/cdparanoia-3.9.8/work
>>> Source unpacked.
creating cache ./config.cache
checking host system type... i686-unknown-linux
checking for ranlib... ranlib
checking for ar... ar
checking for install... install
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking size of short... 2
checking size of int... 4
checking size of long... 4
checking size of long long... 8
checking for int16_t... yes
checking for int32_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for linux/sbpcd.h... no
checking for linux/ucdrom.h... no
checking whether make sets ${MAKE}... yes
checking for working const... me@<snipped>'s password: 
yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating interface/Makefile
creating paranoia/Makefile
cd interface && make all
make[1]: Entering directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
make libcdda_interface.a CFLAGS="-march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387" 
make[2]: Entering directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c scan_devices.c
me@<snipped>'s password: 
In file included from scan_devices.c:20:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from scan_devices.c:20:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c common_interface.c
me@<snipped>'s password: 
In file included from common_interface.c:13:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from common_interface.c:13:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c cooked_interface.c
me@<snipped>'s password: 
In file included from cooked_interface.c:11:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from cooked_interface.c:11:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c interface.c
me@<snipped>'s password: 
In file included from interface.c:14:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from interface.c:14:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c scsi_interface.c
me@<snipped>'s password: 
In file included from scsi_interface.c:13:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from scsi_interface.c:13:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c smallft.c
me@<snipped>'s password: 
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c toc.c
me@<snipped>'s password: 
In file included from toc.c:11:
utils.h: In function `cderror':
utils.h:115: warning: deprecated use of label at end of compound statement
utils.h: In function `cdmessage':
utils.h:130: warning: deprecated use of label at end of compound statement
utils.h: In function `idperror':
utils.h:172: warning: deprecated use of label at end of compound statement
In file included from toc.c:11:
utils.h: In function `idmessage':
utils.h:208: warning: deprecated use of label at end of compound statement
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -c test_interface.c
me@<snipped>'s password: 
ar -r libcdda_interface.a scan_devices.o        common_interface.o cooked_interface.o interface.o scsi_interface.o smallft.o toc.o test_interface.o
ranlib libcdda_interface.a
make[2]: Leaving directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
make lessmessy
make[2]: Entering directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
rm  -f *.o core *~ *.out
make[2]: Leaving directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
make libcdda_interface.so CFLAGS="-march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -fpic" 
make[2]: Entering directory `/var/tmp/portage/cdparanoia-3.9.8/work/cdparanoia-III-alpha9.8/interface'
gcc -march=pentium3 -O3 -pipe -ffast-math -fomit-frame-pointer -mfpmath=sse,387 -fpic -c scan_devices.c
me at 10.10.10.10's password: Caught signal 2
make[2]: *** wait: No child processes.  Stop.
make[2]: *** Waiting for unfinished jobs....
make[2]: *** wait: No child processes.  Stop.

make[1]: *** [slib] Error 2
make: *** [all] Interrupt

/usr/portage/media-sound/cdparanoia/cdparanoia-3.9.8.ebuild: src_compile aborted; exiting.





More information about the distcc mailing list