From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/78772 Path: news.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.gnus.general Subject: Re: [gnus git] branch master updated: n0-17-27-g43f8466 =1= nntp.el (nntp-open-connection): Set TCP keepalive option. Date: Tue, 10 May 2011 14:23:11 +0200 Message-ID: <87y62epwwg.fsf@gmail.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1305030242 10668 80.91.229.12 (10 May 2011 12:24:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 10 May 2011 12:24:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M27073@lists.math.uh.edu Tue May 10 14:23:58 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJlym-0004g9-Vf for ding-account@gmane.org; Tue, 10 May 2011 14:23:57 +0200 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 1QJlyQ-0003W1-QO; Tue, 10 May 2011 07:23:34 -0500 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 1QJlyP-0003Vr-B4 for ding@lists.math.uh.edu; Tue, 10 May 2011 07:23:33 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QJlyO-0005Lg-9q for ding@lists.math.uh.edu; Tue, 10 May 2011 07:23:32 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1QJlyL-0005oH-Fq for ding@gnus.org; Tue, 10 May 2011 14:23:29 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QJlyI-0004Rh-UX for ding@gnus.org; Tue, 10 May 2011 14:23:26 +0200 Original-Received: from portable53.ceremade.dauphine.fr ([193.48.71.53]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2011 14:23:26 +0200 Original-Received: from antoine.levitt by portable53.ceremade.dauphine.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2011 14:23:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: portable53.ceremade.dauphine.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: -1.0 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:78772 Archived-At: 10/05/11 14:06, Greg Troxel >> (And, besides, if nntp.el needs keepalive, doesn't all network >> connections need it?) > > That is a fair point. > > Another approach would be to have gnus have a timer so that it tears > down news connections after some period of inactivity, like perhaps > 600s. It seems that perhaps a gnus left idle for hours shouldn't have > any open connections. I have no idea if that's relevant to the discussion at hand, but in my use case there is: I suspend my computer on the evening, and switch it back on in the morning, creating large periods of idle for gnus. Since connections are to localhost, either by NNTP with leafnode or by IMAP with dovecot, I don't think any are lost. I've seen nnimap bug out on this use case (mainly not getting new mail), although I think nntp is fine.