[distcc] Problems with distcc hanging on large compiles (More debugging info)

Martin Pool mbp at samba.org
Tue Aug 27 21:40:00 GMT 2002


On 27 Aug 2002, "Hien D. Ngo" <hien at moses.xp.com> wrote:
> 
> Here's what I've got.  Looks like the client completes the compile, sends the data 
> back to the server, and tries to close its connection.  The server receives all of 
> the DOTO data back, but never gets to the "completed ok" or dcc_exit stage.  The 
> server in this case is a RH 7.2 box running 2.4.9, the client is an older RH 6.x box 
> running 2.2.16.

Your cunning ruse of labelling the server trace as "client" was
successful :-)

Could you try this patch?

-- 
Martin 

--- serve.c.~1.31.~	2002-08-15 11:59:54.000000000 +1000
+++ serve.c	2002-08-28 16:37:29.000000000 +1000
@@ -274,6 +274,8 @@ int dcc_accept_job(int fd)
            "input file: %ld bytes; output file: %ld bytes",
            (long) i_size, (long) o_size);
 
+    tcp_cork_sock(STDIN_FILENO, 0);
+
     return ret;
 }
 



More information about the distcc mailing list