From mboxrd@z Thu Jan 1 00:00:00 1970 From: "=?ISO-8859-1?Q?Ilpo_J=E4rvinen?=" Subject: Re: [bug] stuck localhost TCP connections, v2.6.26-rc3+ Date: Mon, 26 May 2008 17:58:51 +0300 (EEST) Message-ID: References: <20080526115628.GA31316@elte.hu> <20080526135940.GB24870@elte.hu> <20080526141252.GA31352@elte.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: LKML , Netdev , "David S. Miller" , "Rafael J. Wysocki" , Andrew Morton To: Ingo Molnar Return-path: Received: from courier.cs.helsinki.fi ([128.214.9.1]:34499 "EHLO mail.cs.helsinki.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755959AbYEZO6w (ORCPT ); Mon, 26 May 2008 10:58:52 -0400 In-Reply-To: <20080526141252.GA31352@elte.hu> Sender: netdev-owner@vger.kernel.org List-ID: On Mon, 26 May 2008, Ingo Molnar wrote: > there's a hung distcc task on the system, waiting for socket action > forever: > > [root@europe ~]# strace -fp 19578 > Process 19578 attached - interrupt to quit > select(5, NULL, [4], [4], {82, 90000} Hmm, readfds is NULL isn't it?!? Are you sure you straced the right process? > disturbing that task via strace did not change the state of the socket - > and that's not unexpected as it's a select(). [TCP state might be > affected if strace impacted a recvmsg or a sendmsg wait directly.] I fail to understand this paragraph due to excessive negation... :-) -- i.