From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85912 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus hangs Date: Fri, 08 May 2015 01:12:15 +0200 Message-ID: <87k2wkf0ds.fsf@wanadoo.es> References: <87sib9fgi2.fsf@wanadoo.es> <87oalxt6yf.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1431040365 23434 80.91.229.3 (7 May 2015 23:12:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 23:12:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34147@lists.math.uh.edu Fri May 08 01:12:32 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 1YqUy0-0005qv-IE for ding-account@gmane.org; Fri, 08 May 2015 01:12:32 +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 1YqUxu-0008SW-Fh; Thu, 07 May 2015 18:12:26 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1YqUxt-0008SM-Gm for ding@lists.math.uh.edu; Thu, 07 May 2015 18:12:25 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.84) (envelope-from ) id 1YqUxs-0001r9-1L for ding@lists.math.uh.edu; Thu, 07 May 2015 18:12:25 -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 1YqUxp-0008O2-ID for ding@gnus.org; Fri, 08 May 2015 01:12:21 +0200 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YqUxp-0005mP-4N for ding@gnus.org; Fri, 08 May 2015 01:12:21 +0200 Original-Received: from 100.red-81-44-116.dynamicip.rima-tde.net ([81.44.116.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 May 2015 01:12:21 +0200 Original-Received: from ofv by 100.red-81-44-116.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 08 May 2015 01:12:21 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 33 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 100.red-81-44-116.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:BEHE5+6rzRIZWTV9CrcRBTbeeUU= X-Spam-Score: -2.7 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85912 Archived-At: Eric Abrahamsen writes: >> 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))) Thanks. I think that the problem sometimes happens when Gnus starts, which would rule out your hypothesis, but I'm not 100% sure. I'll use your trick before updating the summary buffer and see if it avoids the hang.