sendfile / distcc
Subsystems (2)
Hi,
I've been seeing this for a while now, but its still present with -rc5+ kernels. Its always the local machine failing, never the remotes.
[root@twins linux-2.6-rt]# nice ./k opteron build
time distmake x86_64 O=opteron-build ARCH=x86_64
testing twins: distccd running testing opteron: DOWN testing taijtu: distccd running testing dyad: distccd running testing lappy: host running testing ubuntu: host running
DISTCC_HOSTS= twins/8 taijtu/32 dyad/32
DISTCC_DIR=/dev/shm/distcc
DISTCC_SLOTS=72
...
distcc[9931] (dcc_writex) ERROR: failed to write: Connection reset by peer
distcc[9931] Warning: failed to distribute /mnt/build/linux-2.6-rt/kernel/fork.c to twins/8, running locally instead
...
distcc[12078] (dcc_pump_sendfile) ERROR: sendfile failed: Connection reset by peer
distcc[12078] (dcc_readx) ERROR: unexpected eof on fd4
distcc[12078] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
distcc[12078] Warning: failed to distribute /mnt/build/linux-2.6-rt/init/version.c to twins/8, running locally instead
Quoted 22 lines · On Wed, 10 Sep 2008 11:27:51 +0200 Peter Zijlstra <[email protected]> wrote:
Hi,
I've been seeing this for a while now, but its still present with -rc5+ kernels. Its always the local machine failing, never the remotes.
[root@twins linux-2.6-rt]# nice ./k opteron build
time distmakex86_64O=opteron-build ARCH=x86_64testing twins: distccd running testing opteron: DOWN testing taijtu: distccd running testing dyad: distccd running testing lappy: host running testing ubuntu: host runningDISTCC_HOSTS= twins/8 taijtu/32 dyad/32
DISTCC_DIR=/dev/shm/distcc
DISTCC_SLOTS=72...
distcc[9931] (
dcc_writex) ERROR: failed to write: Connection reset by peer
distcc[9931] Warning: failed to distribute/mnt/build/linux-2.6-rt/kernel/fork.cto twins/8, running locally instead
Quoted 7 lines
...
distcc[12078] (
dcc_pump_sendfile) ERROR: sendfile failed: Connection reset by peer
distcc[12078] (dcc_readx) ERROR: unexpected eof on fd4
distcc[12078] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
distcc[12078] Warning: failed to distribute/mnt/build/linux-2.6-rt/init/version.cto twins/8, running locally instead
distcc is very good at breaking networking. I assume 2.6.26 is OK?
Quoted 26 lines · Andrew Morton
Quoted 24 lines · On Wed, 10 Sep 2008 11:27:51 +0200 Peter Zijlstra <[email protected]> wrote:
Hi,
I've been seeing this for a while now, but its still present with -rc5+ kernels. Its always the local machine failing, never the remotes.
[root@twins linux-2.6-rt]# nice ./k opteron build
time distmakex86_64O=opteron-build ARCH=x86_64testing twins: distccd running testing opteron: DOWN testing taijtu: distccd running testing dyad: distccd running testing lappy: host running testing ubuntu: host runningDISTCC_HOSTS= twins/8 taijtu/32 dyad/32
DISTCC_DIR=/dev/shm/distcc
DISTCC_SLOTS=72...
distcc[9931] (
dcc_writex) ERROR: failed to write: Connection reset by peer
distcc[9931] Warning: failed to distribute/mnt/build/linux-2.6-rt/kernel/fork.cto twins/8, running locally instead...
Quoted 7 lines
Quoted 5 lines
distcc[12078] (
dcc_pump_sendfile) ERROR: sendfile failed: Connection reset by peer
distcc[12078] (dcc_readx) ERROR: unexpected eof on fd4
distcc[12078] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
distcc[12078] Warning: failed to distribute/mnt/build/linux-2.6-rt/init/version.cto twins/8, running locally insteaddistcc is very good at breaking networking. I assume 2.6.26 is OK?
I think it was - whew .26 was a long time ago already ;-)
I'll build and boot one today to confirm.
Quoted 33 lines · Peter Zijlstra
Quoted 32 lines · Andrew Morton
Quoted 29 lines · On Wed, 10 Sep 2008 11:27:51 +0200 Peter Zijlstra <[email protected]> wrote:
Hi,
I've been seeing this for a while now, but its still present with -rc5+ kernels. Its always the local machine failing, never the remotes.
[root@twins linux-2.6-rt]# nice ./k opteron build
time distmakex86_64O=opteron-build ARCH=x86_64testing twins: distccd running testing opteron: DOWN testing taijtu: distccd running testing dyad: distccd running testing lappy: host running testing ubuntu: host runningDISTCC_HOSTS= twins/8 taijtu/32 dyad/32
DISTCC_DIR=/dev/shm/distcc
DISTCC_SLOTS=72...
distcc[9931] (
dcc_writex) ERROR: failed to write: Connection reset by peer
distcc[9931] Warning: failed to distribute/mnt/build/linux-2.6-rt/kernel/fork.cto twins/8, running locally instead...
distcc[12078] (
dcc_pump_sendfile) ERROR: sendfile failed: Connection reset by peer
distcc[12078] (dcc_readx) ERROR: unexpected eof on fd4
distcc[12078] (dcc_r_token_int) ERROR: read failed while waiting for token "DONE"
distcc[12078] Warning: failed to distribute/mnt/build/linux-2.6-rt/init/version.cto twins/8, running locally instead
Quoted 5 lines
Quoted 1 line
distcc is very good at breaking networking. I assume 2.6.26 is OK?
I think it was - whew .26 was a long time ago already ;-)
I'll build and boot one today to confirm.
It seems I can reproduce similar errors with .26 - I'll be traveling soon and this box is one of those without serial console so It'll have to wait until I get back.