From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83850 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Freeze up on general news scan (g) Date: Tue, 05 Nov 2013 10:59:20 +0800 Message-ID: <87ob5zeepj.fsf@ericabrahamsen.net> References: <87mxda84nc.fsf@newsguy.com> <871u3y1e0a.fsf@newsguy.com> <87r4bxrj3z.fsf@ericabrahamsen.net> <87iow9u41z.fsf@flea.lifelogs.com> <874n7sc3ov.fsf@ericabrahamsen.net> <87y554qfkj.fsf@flea.lifelogs.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1383622387 26597 80.91.229.3 (5 Nov 2013 03:33:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Nov 2013 03:33:07 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M32106@lists.math.uh.edu Tue Nov 05 04:33:10 2013 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 1VdXO4-00053u-W6 for ding-account@gmane.org; Tue, 05 Nov 2013 04:33:05 +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 1VdXNF-00068v-Ed; Mon, 04 Nov 2013 21:32:13 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1VdWqG-0005zf-1k for ding@lists.math.uh.edu; Mon, 04 Nov 2013 20:58:08 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1VdWqE-00061A-Eo for ding@lists.math.uh.edu; Mon, 04 Nov 2013 20:58:07 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1VdWqC-0002b8-Hf for ding@gnus.org; Tue, 05 Nov 2013 03:58:04 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VdWqA-00057h-Ng for ding@gnus.org; Tue, 05 Nov 2013 03:58:02 +0100 Original-Received: from 50.56.99.223 ([50.56.99.223]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Nov 2013 03:58:02 +0100 Original-Received: from eric by 50.56.99.223 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Nov 2013 03:58:02 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 50.56.99.223 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:1OCa8WGU6ISi6xZDr1gOhT2XAuY= X-Spam-Score: 1.3 (+) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-2368--15153h-0s--0d--H*u:Emacs, 0.000-46--293h-0s--0d--H*u:Gnus, 0.000-46--293h-0s--0d--H*UA:Gnus, 0.000-46--292h-0s--0d--H*u:linux, 0.000-46--292h-0s--0d--H*UA:linux Spam tokens: 0.991-12877--709h-64061s--0d--HTo:D*gnus.org, 0.990-13363--755h-66569s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.990-13363--755h-66569s--0d--H*RU:quimby.gnus.org, 0.988-13179--939h-66571s--0d--HX-Spam-Relays-Internal:quimby.gnus.org, 0.988-13179--939h-66571s--0d--H*RT:80.91.231.51 Autolearn status: no 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO -0.0 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no trust [80.91.229.3 listed in list.dnswl.org] -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 FSL_HELO_BARE_IP_2 FSL_HELO_BARE_IP_2 List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83850 Archived-At: Ted Zlatanov writes: > On Mon, 04 Nov 2013 10:15:44 +0800 Eric Abrahamsen wrote: > > EA> Ted Zlatanov writes: >>> On Mon, 07 Oct 2013 08:59:44 +0800 Eric Abrahamsen wrote: >>> > EA> A "me too" might not be that helpful, but... me too. Any time I resume > EA> the computer or re-connect to a network I'm in the habit of opening a > EA> single nntp group, to prod the connection into life, then hitting 'g'. >>> >>> Lars asked about this on the emacs-devel mailing list with no good >>> solution. We just don't know if the remote is down. I think it >>> requires some reworking of the Emacs process code to make detection of >>> hung or stale connections easier, and to build keepalives into the base >>> level. But I don't think Lars ever set a course of action. >>> >>> Until we have some resolution, use the following sequence (it can >>> probably be written in Lisp but I haven't bothered): >>> >>> `^' = Server buffer >>> `M-c' = close all server >>> `q' = leave the Server buffer >>> >>> Now `g' will open new connections for all servers. >>> >>> Ted > > EA> Thanks for this, at least it's good to know the state of affairs. It > EA> looks an elisp version of that sequence would be very simple: just call > EA> `gnus-server-close-all-servers', and then `gnus'. > > It would be nice to add that to `gnus' as a user option (maybe a boolean > `gnus-always-reopen-connections'). I worry, however, that adding it > implicitly says we don't plan to solve the problem. I wish I could be of more use, but network connectivity is foreign territory to me. Where would you propose to add this reopen hook? How would emacs/gnus know that, for instance, the computer had just resumed from hibernation? E