distccd only compiling locally
"STR ." <[email protected]>
| Newsgroups | gmane.comp.compilers.distcc |
|---|---|
| Message-ID | <[email protected]> |
Hi, I'm having an issue similar to http://www.mail-archive.com/[email protected]/msg03593.html In my case distccd is doing all the compiling locally and none on the remote machine. To test, I'd setup distccd on two machines, A and B, having 2 x dual-core core Opterons and 4 gigs of ECC RAM. They're running Slackware Linux 13, stock kernel 2.6.29.6-smp i686. These machines don't do anything else and have dual 1000M ethernet links. $ ls -al /usr/bin/gcc lrwxrwxrwx 1 root root 9 2009-09-18 03:06 /usr/bin/gcc -> gcc-4.3.3* $ gcc -v Reading specs from /usr/lib/gcc/i486-slackware-linux/4.3.3/specs Target: i486-slackware-linux Configured with: ../gcc-4.3.3/configure --prefix=/usr --libdir=/usr/lib --enable-shared --enable-bootstrap --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-checking=release --with-system-zlib --disable-libunwind-exceptions --enable-__cxa_atexit --enable-libssp --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --build=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.3.3 (GCC) USER_TIME_QUOTA in /usr/local/lib/python2.6/site-packages/include_server/basics.py = 20 seconds /// Machine A (Localhost) DISTCC_POTENTIAL_HOSTS = Machine B's IPs INCLUDE_SERVER_ARGS = --time --statistics --stat_reset_triggers="*" # distccd --wizard --user nobody -a 192.168.1.0/24 distccd[11881] (dcc_discard_root) discarded root privileges, changed to uid=99 gid=99 distccd[11881] (main) chdir to /tmp distccd[11881] (dcc_setup_daemon_path) daemon's PATH is /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin distccd[11881] (dcc_listen_by_addr) listening on 0.0.0.0:3632 distccd[11881] (dcc_defer_accept) TCP_DEFER_ACCEPT turned on distccd[11881] (dcc_standalone_server) 4 CPUs online on this server distccd[11881] (dcc_standalone_server) allowing up to 6 active jobs distccd[11881] (dcc_standalone_server) not detaching distccd[11881] (dcc_new_pgrp) already a process group leader distccd[11881] (dcc_log_daemon_started) non-forking daemon started (3.1 i686-pc-linux-gnu, built Dec 9 2009 14:07:11) distccd[11881] (dcc_nofork_parent) waiting to accept connection $ pump make -j 20 CC=distcc __________Using distcc-pump from /usr/local/bin __________Found 2 available distcc servers ***snipped output Make successful. __________Shutting down distcc-pump include server Include server timing. Elapsed: 378.9s User: 0.1s System: 0.0s User + System: 0.1s /// /// Machine B (Remote host) DISTCC_POTENTIAL_HOSTS = Machine A's IPs + 127.0.0.1 INCLUDE_SERVER_ARGS = --time --statistics --stat_reset_triggers="*" # distccd --wizard --user nobody -a 192.168.1.0/24 distccd[3052] (dcc_discard_root) discarded root privileges, changed to uid=99 gid=99 distccd[3052] (main) chdir to /tmp distccd[3052] (dcc_setup_daemon_path) daemon's PATH is /usr/local/sbin:/usr/sbin:/sbin:/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/java/bin distccd[3052] (dcc_listen_by_addr) listening on 0.0.0.0:3632 distccd[3052] (dcc_defer_accept) TCP_DEFER_ACCEPT turned on distccd[3052] (dcc_standalone_server) 4 CPUs online on this server distccd[3052] (dcc_standalone_server) allowing up to 6 active jobs distccd[3052] (dcc_standalone_server) not detaching distccd[3052] (dcc_new_pgrp) already a process group leader distccd[3052] (dcc_log_daemon_started) non-forking daemon started (3.1 i686-pc-linux-gnu, built Dec 9 2009 14:07:11) distccd[3052] (dcc_nofork_parent) waiting to accept connection distccd[3052] (dcc_check_client) connection from 192.168.1.10:49110 distccd[3052] (dcc_check_address) match client 0xa01a8c0, value 0x1a8c0, mask 0xffffff distccd[3052] (dcc_readx) ERROR: unexpected eof on fd4 distccd[3052] (dcc_r_token_int) ERROR: read failed while waiting for token "DIST" distccd[3052] (dcc_r_request_header) ERROR: client did not provide distcc magic fairy dust distccd[3052] (dcc_cleanup_tempfiles_inner) deleted 3 temporary files distccd[3052] (dcc_job_summary) client: 192.168.1.10:49110 OTHER exit:0 sig:0 core:0 ret:108 time:0ms distccd[3052] (dcc_nofork_parent) waiting to accept connection distccd[3052] (dcc_check_client) connection from 192.168.1.10:38121 distccd[3052] (dcc_check_address) match client 0xa01a8c0, value 0x1a8c0, mask 0xffffff distccd[3052] (dcc_readx) ERROR: unexpected eof on fd4 distccd[3052] (dcc_r_token_int) ERROR: read failed while waiting for token "DIST" distccd[3052] (dcc_r_request_header) ERROR: client did not provide distcc magic fairy dust distccd[3052] (dcc_cleanup_tempfiles_inner) deleted 3 temporary files distccd[3052] (dcc_job_summary) client: 192.168.1.10:38121 OTHER exit:0 sig:0 core:0 ret:108 time:0ms distccd[3052] (dcc_nofork_parent) waiting to accept connection /// The jobs are run locally, and the compilation was successful, it's just not distributed. I don't see any jobs on the remote machine and the CPUs are idle. What's up with that? -S _________________________________________________________________ Hotmail: Free, trusted and rich email service. http://clk.atdmt.com/GBL/go/171222984/direct/01/ __ distcc mailing list http://distcc.samba.org/ To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/distcc