From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79450 Path: news.gmane.org!not-for-mail From: lee Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus hanging Date: Wed, 13 Jul 2011 03:15:21 +0200 Organization: my virtual residence Message-ID: <87tyarq8uu.fsf@yun.yagibdah.de> References: <4ctyazvfec.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1310519752 23664 80.91.229.12 (13 Jul 2011 01:15:52 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Jul 2011 01:15:52 +0000 (UTC) Cc: 9020@debbugs.gnu.org To: ding@gnus.org Original-X-From: ding-owner+M27746@lists.math.uh.edu Wed Jul 13 03:15:48 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 1Qgo3F-0002Tr-G7 for ding-account@gmane.org; Wed, 13 Jul 2011 03:15:45 +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 1Qgo30-0004Ss-Kj; Tue, 12 Jul 2011 20:15:30 -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 1Qgo2z-0004Sa-8U for ding@lists.math.uh.edu; Tue, 12 Jul 2011 20:15:29 -0500 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 1Qgo2u-0005AO-DD for ding@lists.math.uh.edu; Tue, 12 Jul 2011 20:15:29 -0500 Original-Received: from static.103.179.46.78.clients.your-server.de ([78.46.179.103] helo=static.73.179.46.78.clients.your-server.de) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1Qgo2s-00035R-O6 for ding@gnus.org; Wed, 13 Jul 2011 03:15:22 +0200 Original-Received: from lee by yun.yagibdah.de with local (Exim 4.76) (envelope-from ) id 1Qgo2r-0004sg-Re; Wed, 13 Jul 2011 03:15:21 +0200 Mail-Followup-To: ding@gnus.org, 9020@debbugs.gnu.org In-Reply-To: (Richard Riley's message of "Tue, 12 Jul 2011 19:43:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Spam-Score: 0.1 (/) X-Spam-Report: SpamAssassin (3.3.1 2010-03-16) analysis follows Bayesian score: 0.0000 Ham tokens: 0.000-1691--6899h-0s--0d--H*UA:Emacs, 0.000-1523--6212h-0s--0d--H*u:Emacs, 0.000-1407--5737h-0s--0d--H*UA:Gnus, 0.000-1406--5736h-0s--0d--H*u:Gnus, 0.000-1348--5498h-0s--0d--H*u:linux Spam tokens: 0.987-1--0h-1s--4d--H*r:sk:clients, 0.967-5896--1385h-53849s--0d--H*r:quimby.gnus.org, 0.908-181--227h-3014s--0d--H*r:sk:static., 0.908-3232--4083h-54097s--0d--HX-Spam-Relays-External:quimby.gnus.org, 0.908-3232--4083h-54097s--0d--H*RU:quimby.gnus.org Autolearn status: no -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 2.0 HELO_DYNAMIC_IPADDR Relay HELO'd using suspicious hostname (IP addr 1) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79450 Archived-At: Richard Riley writes: > Dave Abrahams writes: > >> on Wed Jul 06 2011, Richard Riley wrote: >> >>> I'm frequently on a wireless connection that fails. Gnus hangs if I do a >>> "g" (or more accurately C-u 5 g) in the group buffer to get new headers >>> if the link has gone down and come back up again - I assume because of >>> non valid network stream handles or whatever. What would be the best way >>> to ensure Gnus closes all network links first and reconnects prior to >>> the refresh other than quitting or closing/opening from the server >>> buffer? >> >> +1 >> >> Long-standing issue for me, too. > > Any info on this or any ideas how to customise something to restart the > connections on a "g"? Its hanging all the time on my netbook when the > wireless is dodgy. Gnus apparently does re-open the connections when they were closed (timed out). You can see that when watching them with "netstat -t". Yet that doesn't seem to help with connections that involve authentication. So far, I've only found that neither setting nntp-connection-timeout nor having a deamon like "(gnus-demon-add-handler 'gnus-demon-close-connections 5 nil)" makes any difference. At the moment, gnus hangs every time I press `g' after it didn't happen at all for about two days, all for no apparent reason. It might help to find out what causes the problem if everyone adds their backtrace[1] to the bug report[2], perhaps with some information added under what conditions it occurs. [1]: add "(setq debug-on-quit t)" to your ~/.emacs to get a backtrace when pressing C-g [2]: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=9020 --- I guess you can mail additional info by sending it to 9020@debbugs.gnu.org -- html messages are obsolete