From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83416 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus frequently hangs at "nnimap read 0k from imap.gmail.com" Date: Wed, 26 Jun 2013 08:33:16 +0200 Message-ID: <87hagl5qkz.fsf@thinkpad.tsdh.de> References: <87bo6umiqo.fsf@thinkpad.tsdh.de> <861u7ql0t4.fsf@gly.ath.cx> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372228441 4285 80.91.229.3 (26 Jun 2013 06:34:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 06:34:01 +0000 (UTC) Cc: ding@gnus.org To: Joseph Mingrone Original-X-From: ding-owner+M31676@lists.math.uh.edu Wed Jun 26 08:34:01 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 1UrjIj-0002Ju-Sn for ding-account@gmane.org; Wed, 26 Jun 2013 08:33:58 +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 1UrjIB-0004Zy-Ex; Wed, 26 Jun 2013 01:33:23 -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 1UrjI7-0004Zh-HH for ding@lists.math.uh.edu; Wed, 26 Jun 2013 01:33:19 -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 1UrjI5-000297-V7 for ding@lists.math.uh.edu; Wed, 26 Jun 2013 01:33:19 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UrjI4-0003WP-I3 for ding@gnus.org; Wed, 26 Jun 2013 08:33:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id DB0B61A9114; Wed, 26 Jun 2013 08:33:16 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id w-ldDSvaGwX5; Wed, 26 Jun 2013 08:33:16 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.de (tsdh.uni-koblenz.de [141.26.67.142]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 83EFA1A910B; Wed, 26 Jun 2013 08:33:16 +0200 (CEST) Mail-Followup-To: Joseph Mingrone , ding@gnus.org In-Reply-To: (Didier Verna's message of "Tue, 25 Jun 2013 17:04:25 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83416 Archived-At: Didier Verna writes: Hi Didier, >>> since about one or two months, Gnus frequently hangs when retrieving new >>> mail from Gmail. >> ... >>> Is there anyone else encountering this problem? >> >> Yes, exactly as you describe. I can tell almost immediately when >> it's about to hang and I just do as you do: hit C-g, then g and it >> works fine. > > I've been getting this for much more than 2 months. It also depends > on where I am (at work, it doesn't happen; at home, all the > time). For me, it happens at work, at home, and lately I've traveled to Budapest where it also happened both from the hotel as well as the university. > Something that helps a bit is this: > > ;; This function is hooked into gnus-get-new-news-hook and > ;; gnus-summary-exit-hook in order to prevent hangs. Sometimes, Emacs doesn't > ;; notice that the connection is lost. > (defun dvl-gnus-kill-server-connections () > "Kill Gnus server connections. > See also the variable `dvl-gnus-kill-server-connections'." > (when dvl-gnus-kill-server-connections > (call-process "killall" nil nil nil "gnutls-cli"))) I've compiled emacs with gnutls support, so no external gnutls-cli will be spawned when making a connection (I think). At least % while true; do ps -e | grep gnutls; done doesn't generate any output when closing and re-opening a connection from the server buffer, or when checking for new mail with `g'. Bye, Tassilo