From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81518 Path: news.gmane.org!not-for-mail From: Joseph Gay Newsgroups: gmane.emacs.gnus.general Subject: Re: nntp hangs Date: Mon, 05 Mar 2012 12:51:59 -0600 Message-ID: <87aa3ug9tc.fsf@geneva.hpsy.me> References: <87y5rks7v9.fsf@thinkpad.tsdh.de> <87399rq6ft.fsf@lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1330973792 2458 80.91.229.3 (5 Mar 2012 18:56:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 5 Mar 2012 18:56:32 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29798@lists.math.uh.edu Mon Mar 05 19:56:31 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S4d59-0000zp-FW for ding-account@gmane.org; Mon, 05 Mar 2012 19:56:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1S4d47-00069q-5R; Mon, 05 Mar 2012 12:55:23 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1S4d3r-00069P-Ty for ding@lists.math.uh.edu; Mon, 05 Mar 2012 12:55:07 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1S4d3q-0001O8-9G for ding@lists.math.uh.edu; Mon, 05 Mar 2012 12:55:07 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S4d3o-0001HO-7i for ding@gnus.org; Mon, 05 Mar 2012 19:55:04 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S4d3n-0008Da-JZ for ding@gnus.org; Mon, 05 Mar 2012 19:55:03 +0100 Original-Received: from mobile-166-147-127-189.mycingular.net ([166.147.127.189]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 19:55:03 +0100 Original-Received: from ysph by mobile-166-147-127-189.mycingular.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Mar 2012 19:55:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mobile-166-147-127-189.mycingular.net User-Agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.0.93 (gnu/linux) Cancel-Lock: sha1:39IgY13jKUPBWxTB7RncBjRylP0= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81518 Archived-At: Katsumi Yamaoka writes: >> Like I said there, I thought setting the heartbeat parameter would work >> but it doesn't seem to. So maybe it's a Gnus bug? > > Or a TCP-keepalive bug? I tried commenting out that section in > nntp.el. So far Gnus doesn't seem to hang up... > I suspect Emacs may keep thinking the nntp connection is alive, > i.e. `process-status' returns `open', even if the remote news > server disconnects it unilaterally. This does seem plausible as I've just experienced what appears to be the same bug on an ssh connection through TRAMP. The strace reveals a select read poll loop where read always returns EAGAIN.