From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/83683 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, 07 Aug 2013 12:51:14 +0200 Message-ID: <87txj1ojtp.fsf@thinkpad.tsdh.org> References: <87bo6umiqo.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1375872748 21704 80.91.229.3 (7 Aug 2013 10:52:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 7 Aug 2013 10:52:28 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M31939@lists.math.uh.edu Wed Aug 07 12:52:29 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 1V71Lx-0007cx-7D for ding-account@gmane.org; Wed, 07 Aug 2013 12:52:29 +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 1V71Ks-0005K9-AL; Wed, 07 Aug 2013 05:51:22 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1V71Kp-0005Jt-6N for ding@lists.math.uh.edu; Wed, 07 Aug 2013 05:51:19 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1V71Kn-0002Rh-2u for ding@lists.math.uh.edu; Wed, 07 Aug 2013 05:51: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 1V71Kl-0006ge-If for ding@gnus.org; Wed, 07 Aug 2013 12:51:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id ABAA61A85B9 for ; Wed, 7 Aug 2013 12:51:15 +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 r5BH2NeVqi6c for ; Wed, 7 Aug 2013 12:51:15 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad.tsdh.org (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 0435F1A8593 for ; Wed, 7 Aug 2013 12:51:14 +0200 (CEST) Mail-Followup-To: ding@gnus.org In-Reply-To: <87bo6umiqo.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Tue, 25 Jun 2013 15:18:23 +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:83683 Archived-At: Tassilo Horn writes: > since about one or two months, Gnus frequently hangs when retrieving > new mail from Gmail. I use demons checking for new mail every few > minutes of idle time. > > (add-to-list 'gnus-secondary-select-methods > '(nnimap "Gmail" > (nnimap-address "imap.gmail.com"))) > > (require 'gnus-demon) > (gnus-demon-add-handler 'gnus-demon-scan-news 15 5) > > When Gnus hangs, *Messages* shows: > > 20130625T141848.814> nnimap read 0k from imap.gmail.com > > I can easily hit `C-g' to quit, and then a `g' will usually work fine > again. I also use two other IMAP accounts, but this problem seems to > occur only with Gmail. It seems I've been wrong. Although the message above suggests its a gmail problem, hitting C-g with debug-on-error set to t, I get such a backtrace that tells me that we're actually hanging while getting new news from the nntp server news.eclipse.org. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (quit) signal(quit nil) byte-code("\204=07.\301 \210\302\303\304\"\207" [debug-on-quit nntp-clos= e-server signal quit nil] 3) byte-code("\306 \n#\210=0B\205.=00\307=0B\310\311#.\312\216\310\313\314\= 217.*\310\207" [-group -server -connectionless nntp-connection-timeout -tim= er nntp-with-open-group-internal nntp-possibly-change-group run-at-time nil= #[nil ".\n ;\203.=00\306 !\202.=00 \307\211.=1C.=1D.\2037.=0D\211A.@\211.= \2037. =0B\211A@\262.=3D\203.=00=0B@.\307\211.\204.=00\f\205S.\310\f!\311>\= 203G.\f\202S.\312\313\f!!\210\314=0B\n\".\307-\211.=0F\205^.\313.=0F!\211.= =10\205q.\315.=10!\316=3D\205q.\312.=10!*\207" [nntp-server-buffer buffer n= ntp-connection-alist entry process alist get-buffer nil process-status (ope= n run) nntp-kill-buffer process-buffer delq buffer-size 0 -process -buffer]= 5] ((byte-code "\203.\301!\210\301\207" [-timer nnheader-cancel-timer] = 2)) (funcall -bodyfun) ((quit (byte-code "\204=07.\301 \210\302\303\304\"\= 207" [debug-on-quit nntp-close-server signal quit nil] 3)))] 4) nntp-with-open-group-function(nil "Eclipse" nil #[nil "\306!\307 @@ @\"\= 310\311.=1B.=1Dr.q\210\312.=19).\205\347.=0E.\205\347.r.q\210.\211.=1B\2052= .\313\314.=1B!!)\203_.\nb\210\315.=1C\203C.\316\202D.\317\312\320#\203P.=0B= T.\2029.`.=0B.=1AW\203_.\321 \210\202%.\322 \210.=1C\204\225.ed{.=1Drq\210= \323 \210.=1E\203.\324.=1D!\202\201.=0E.c\210eb\210*rq\210\325\f.=1F\320#= )\202\346.eb\210\315\326\312\320#\203\253.\310\224\311y\210`|\210\202\230.e= d{.=1Drq\210\323 \210.=1E\203\303.\324.=1D!\202\305.=0E.c\210eb\210*rq\21= 0\327\330 @8:\203\337.\330 @8\202\340.\f.=1F\312\320$)),\207" [nntp-server-= buffer infos last-point received method buf nntp-find-connection-buffer gnu= s-find-method-for-group 0 1 nil buffer-live-p get-buffer re-search-forward = "^[.]" "^[0-9]" t nntp-accept-response nnheader-strip-cr erase-buffer mm-st= ring-to-multibyte gnus-groups-to-gnus-format "^[.2-5]" gnus-active-to-gnus-= format 4 nntp-retrieval-in-progress count buffer nntp-server-list-active-gr= oup string enable-multibyte-characters gnus-active-hashtb] 6]) nntp-finish-retrieve-group-infos("Eclipse" (("nntp+Eclipse:eclipse.platfo= rm" 3 ((1 . 88998)) ((unexist) (seen (87239 . 87463) (87500 . 88082) (88084= . 88618) (88633 . 88931) (88935 . 88939) (88954 . 88970) (88972 . 88998)) = (reply 87887)) "nntp:Eclipse") ("nntp+Eclipse:eclipse.tools.emf" 3 ((1 . 64= 863)) ((unexist) (seen (52299 . 53329) (53331 . 53344) (53346 . 55520) (555= 22 . 55616) (55618 . 55875) (55877 . 57349) (57351 . 58852) (58863 . 59243)= (59245 . 59742) (59744 . 62436) (62438 . 62644) (62730 . 63862) (63888 . 6= 4498) (64505 . 64575) (64647 . 64679) (64727 . 64863)) (reply 57415 57417 5= 7419 60049 60051 60516 60638)) "nntp:Eclipse")) 2) gnus-finish-retrieve-group-infos((nntp "Eclipse" (nntp-address "news.ecli= pse.org")) (("nntp+Eclipse:eclipse.platform" 3 ((1 . 88998)) ((unexist) (se= en (87239 . 87463) (87500 . 88082) (88084 . 88618) (88633 . 88931) (88935 .= 88939) (88954 . 88970) (88972 . 88998)) (reply 87887)) "nntp:Eclipse") ("n= ntp+Eclipse:eclipse.tools.emf" 3 ((1 . 64863)) ((unexist) (seen (52299 . 53= 329) (53331 . 53344) (53346 . 55520) (55522 . 55616) (55618 . 55875) (55877= . 57349) (57351 . 58852) (58863 . 59243) (59245 . 59742) (59744 . 62436) (= 62438 . 62644) (62730 . 63862) (63888 . 64498) (64505 . 64575) (64647 . 646= 79) (64727 . 64863)) (reply 57415 57417 57419 60049 60051 60516 60638)) "nn= tp:Eclipse")) 2) gnus-read-active-for-groups((nntp "Eclipse" (nntp-address "news.eclipse.o= rg")) (("nntp+Eclipse:eclipse.platform" 3 ((1 . 88998)) ((unexist) (seen (8= 7239 . 87463) (87500 . 88082) (88084 . 88618) (88633 . 88931) (88935 . 8893= 9) (88954 . 88970) (88972 . 88998)) (reply 87887)) "nntp:Eclipse") ("nntp+E= clipse:eclipse.tools.emf" 3 ((1 . 64863)) ((unexist) (seen (52299 . 53329) = (53331 . 53344) (53346 . 55520) (55522 . 55616) (55618 . 55875) (55877 . 57= 349) (57351 . 58852) (58863 . 59243) (59245 . 59742) (59744 . 62436) (62438= . 62644) (62730 . 63862) (63888 . 64498) (64505 . 64575) (64647 . 64679) (= 64727 . 64863)) (reply 57415 57417 57419 60049 60051 60516 60638)) "nntp:Ec= lipse")) 2) gnus-get-unread-articles(nil nil nil) gnus-group-get-new-news(nil) call-interactively(gnus-group-get-new-news nil nil) command-execute(gnus-group-get-new-news) --8<---------------cut here---------------end--------------->8--- Since I don't need to read groups from that server anymore, I've just removed it and the hangs seem to be gone. Well, still it would be nice if there was some sensible way for dealing with unresponsive servers, e.g., like aborting after some seconds. My main problem with the hangs was that IRC servers to that I've been connected using rcirc disconnect after some time if they cannot contact the client anymore. So if I didn't notice the hang, chances were high I got accidentally kicked out of my running IRC sessions. Bye, Tassilo