From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85909 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus hangs Date: Thu, 07 May 2015 11:14:16 +0800 Message-ID: <87oalxt6yf.fsf@ericabrahamsen.net> References: <87sib9fgi2.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1430968564 11073 80.91.229.3 (7 May 2015 03:16:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 03:16:04 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34144@lists.math.uh.edu Thu May 07 05:15:49 2015 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YqCHr-0005Do-VK for ding-account@gmane.org; Thu, 07 May 2015 05:15:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.84) (envelope-from ) id 1YqCGv-0002ua-0t; Wed, 06 May 2015 22:14:49 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YqCGs-0002uJ-Fi for ding@lists.math.uh.edu; Wed, 06 May 2015 22:14:46 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YqCGr-0002Yc-Sz for ding@lists.math.uh.edu; Wed, 06 May 2015 22:14:46 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1YqCGn-0001Js-4b for ding@gnus.org; Thu, 07 May 2015 05:14:41 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YqCGj-0004WB-3p for ding@gnus.org; Thu, 07 May 2015 05:14:39 +0200 Original-Received: from 114.248.23.63 ([114.248.23.63]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 05:14:37 +0200 Original-Received: from eric by 114.248.23.63 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 May 2015 05:14:37 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 114.248.23.63 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:o658HzQ9NjuvBzReOi79inCuxgM= X-Spam-Score: 0.3 (/) X-Spam-Report: SpamAssassin (3.4.0 2014-02-07) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-346--22836h-0s--0d--Summary, 0.000-23--1478h-0s--0d--buffer, 0.000-19--1209h-0s--0d--H*M:fsf, 0.000-19--1198h-0s--0d--H*UA:Emacs, 0.000-19--1198h-0s--0d--H*u:Emacs Spam tokens: 0.995-9372--251h-4393s--0d--H*RU:quimby.gnus.org, 0.995-9372--251h-4393s--0d--Hx-spam-relays-external:quimby.gnus.org, 0.995-8881--251h-4169s--0d--HTo:D*gnus.org, 0.994-9313--310h-4393s--0d--Hx-spam-relays-internal:80.91.231.51, 0.994-9313--310h-4393s--0d--H*RT:80.91.231.51 Autolearn status: no autolearn_force=no -1.0 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [80.91.229.3 listed in list.dnswl.org] -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_PASS SPF: sender matches SPF record -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 1.2 RCVD_NUMERIC_HELO Received: contains an IP address used for HELO 0.0 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level mail domains are different -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 FSL_HELO_BARE_IP_2 No description available. List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85909 Archived-At: Óscar Fuentes writes: > On the Gnus Summary buffer, after pressing `g', Gnus hangs displaying > the message > > Reading active file via nndraft...done > > Pressing `Ctrl-g' makes Gnus responsive again, although it aborts the > operation. > > This happens frequently (I'll say once every five `g's, on average). I'm > observing the problem since a long time ago (years). Currently I'm using > > GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, X toolkit) of 2015-04-12 > > Gnus v5.13 > > Any advice on how to diagnose this? The only thing I can think of is something that many of us have encountered, which is that long-running connections die or get cut off, and Gnus doesn't know it. That can lead to timeouts/hangs when you try to re-use a zombie connection. The nndraft message shouldn't be significant, it's just the last operation to successfully complete before the hang began. "Once every five g's" sounds a little odd for this problem, because most of us have it after some network reconnection (after wake from suspend, after VPN on/off, etc), but it's the only thing I can think of. When I suspect I'm going to have the problem, I hit "z" for `gnus-group-suspend'. That closes all the servers, so the next refresh re-establishes connections. `gnus-group-suspend' is a little heavy-duty for this: all you'd really need is: (progn (gnus-offer-save-summaries) (dolist (elem gnus-opened-servers) (gnus-close-server (car elem)) (setcar (cdr elem) 'closed))) HTH, Eric