From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Newall Subject: Re: [TCP bug] stuck distcc connections in latest -git Date: Wed, 23 Jul 2008 00:24:14 +0930 Message-ID: <4885F496.3010305@davidnewall.com> References: <20080720.104411.81744468.davem@davemloft.net> <20080721133059.GA30637@elte.hu> <20080721134506.GA27598@elte.hu> <20080721182318.GA20940@elte.hu> <20080721184616.GA8442@elte.hu> <20080722112133.GA6575@elte.hu> <4885E482.5020502@davidnewall.com> <20080722135723.GA23077@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Linus Torvalds , David Miller , akpm@linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Stefan Richter To: Ingo Molnar Return-path: Received: from eth7959.sa.adsl.internode.on.net ([150.101.82.22]:50778 "EHLO hawking.rebel.net.au" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751753AbYGVOy1 (ORCPT ); Tue, 22 Jul 2008 10:54:27 -0400 In-Reply-To: <20080722135723.GA23077@elte.hu> Sender: netdev-owner@vger.kernel.org List-ID: Ingo Molnar wrote: > * David Newall wrote: > >> You really should start that capture, and on both client and server. >> You don't need to dump everything, only traffic to or from >> server:distcc. >> > > It's not feasible. That box did in excess of 200 GB of network traffic > in the past 7 hours alone. You only need distcc traffic, and perhaps only after it's hung. With 250k outstanding per socket, are you certain that no traffic was sent? Is it certain that one packet wasn't being sent each three minutes? I suppose you're right and the stack really is stuck, but this is such an easy thing to check and eliminate that you should do so. I suppose, too, that you should trace the server-side processes and confirm that they are waiting for socket input. You should dump tcp (for the distcc port) next time the problem recurs and also check that the server processes are waiting for socket input.