From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83417 Path: news.gmane.org!not-for-mail From: Noorul Islam K M Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus frequently hangs at "nnimap read 0k from imap.gmail.com" Date: Wed, 26 Jun 2013 12:05:33 +0530 Message-ID: <87a9md2xca.fsf@noman.maa.corp.collab.net> References: <87bo6umiqo.fsf@thinkpad.tsdh.de> <861u7ql0t4.fsf@gly.ath.cx> <87hagl5qkz.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372228667 6330 80.91.229.3 (26 Jun 2013 06:37:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Jun 2013 06:37:47 +0000 (UTC) Cc: ding@gnus.org To: Joseph Mingrone Original-X-From: ding-owner+M31677@lists.math.uh.edu Wed Jun 26 08:37:45 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 1UrjMO-0005aH-JC for ding-account@gmane.org; Wed, 26 Jun 2013 08:37:44 +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 1UrjM4-0004d3-T2; Wed, 26 Jun 2013 01:37:25 -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 1UrjM2-0004cs-5t for ding@lists.math.uh.edu; Wed, 26 Jun 2013 01:37:22 -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 1UrjM0-00029c-Ix for ding@lists.math.uh.edu; Wed, 26 Jun 2013 01:37:22 -0500 Original-Received: from mail-pb0-f48.google.com ([209.85.160.48]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1UrjLy-0003b6-AE for ding@gnus.org; Wed, 26 Jun 2013 08:37:18 +0200 Original-Received: by mail-pb0-f48.google.com with SMTP id ma3so13723733pbc.35 for ; Tue, 25 Jun 2013 23:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=noorul.com; s=google; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=gvvMAxPnjL+/U+8rEzyBO1iohLEsV2hBMCGt2S7ov1U=; b=GRHDjsJiNWq/KyZBWQBmMyXN6vKb655+gxV8qU1Afwj1uNNDoVkKiyaMcHVTVLaYGn B47oAjp3jT7312hTHk+xj/CkGM6/uB6Y0RAdwdFQc10SZVgqwI+c8Z1O5nOSh4DUJTaT MuTAItNgzpd1Jldg1nz5fyQyZ8o89TSrr2ou0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:x-gm-message-state; bh=gvvMAxPnjL+/U+8rEzyBO1iohLEsV2hBMCGt2S7ov1U=; b=eLVG7DAm6G8n0oN2gW4rphcet/bjhAP39lJZTsjpg6Gm6pWH8Ur3NmJ3r9mWAXj54k 9OItfH4gLYrPtUSmOE6WqjK1jQlBMsW4Rwlb5iFl3A+nISZ1DpX1ELJtuvLWoDk6Db0F WZsz7bTxYX1vn6C+I+JBGrYW85FUG9e3+GdYMhM1bV+o16L+Ncfjt/iGFr1m1vR4eYo7 qOraav1SvdXAUBDfMMaGNwoVJeqvU54zsfWin0HndmKEaUPTnIPRD46bKUt96hXFsgA8 pme5b2+ao+loLMilL/2BEezGr0swkG+XkJ6owzgc1O1xOz311odDR35RUh9/klAiq+lI bYSQ== X-Received: by 10.68.247.131 with SMTP id ye3mr2530259pbc.87.1372228631806; Tue, 25 Jun 2013 23:37:11 -0700 (PDT) Original-Received: from noman.maa.corp.collab.net (vpn6.sjc.collab.net. [204.11.125.133]) by mx.google.com with ESMTPSA id ie3sm17758232pbc.13.2013.06.25.23.37.08 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 23:37:11 -0700 (PDT) In-Reply-To: <87hagl5qkz.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Wed, 26 Jun 2013 08:33:16 +0200") User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) X-Gm-Message-State: ALoCoQkmxiFieCx2zXs8w4VmLZgfhZG4SLF5/G0x2zQFip/zUPjqn0YafsVI0swjqM0qJjlHdKtf X-Spam-Score: -2.8 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:83417 Archived-At: Tassilo Horn writes: > 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'. > Lately I also faced similar issue and I decided to move over to offlineimap+dovecot setup. Thanks and Regards Noorul