From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76962 Path: news.gmane.org!not-for-mail From: Vincent Bernat Newsgroups: gmane.emacs.gnus.general Subject: Re: How to debug hangs during message fetching Date: Sat, 19 Feb 2011 10:45:49 +0100 Organization: One Piece Message-ID: References: <87ipww6pzc.fsf@member.fsf.org> <87ei7k9ii7.fsf@gnus.org> <87aai86ov2.fsf@member.fsf.org> <87mxm8838o.fsf@gnus.org> <8762sw6nuc.fsf@member.fsf.org> <87fws0827j.fsf@gnus.org> <87oc6o588z.fsf@member.fsf.org> <87hbcg57e5.fsf@member.fsf.org> <87sjvre1a5.fsf@gnus.org> <87oc6fvunf.fsf@member.fsf.org> <87d3mtng18.fsf@babel.ls.fi.upm.es> <87vd0jpr27.fsf@gnus.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298108762 6828 80.91.229.12 (19 Feb 2011 09:46:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Feb 2011 09:46:02 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25295@lists.math.uh.edu Sat Feb 19 10:45:58 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 1PqjO2-0005Kt-EG for ding-account@gmane.org; Sat, 19 Feb 2011 10:45:58 +0100 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 1PqjNz-0002VF-UZ; Sat, 19 Feb 2011 03:45:56 -0600 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 1PqjNy-0002Uo-39 for ding@lists.math.uh.edu; Sat, 19 Feb 2011 03:45:54 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PqjNw-0001N8-TF for ding@lists.math.uh.edu; Sat, 19 Feb 2011 03:45:54 -0600 Original-Received: from bart.luffy.cx ([78.47.78.131]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PqjNv-0000fj-AR for ding@gnus.org; Sat, 19 Feb 2011 10:45:51 +0100 Original-Received: by bart.luffy.cx (Postfix, from userid 65534) id E282614862; Sat, 19 Feb 2011 10:45:50 +0100 (CET) Original-Received: from neo.luffy.cx (unknown [IPv6:2a01:e35:8b01:4710:11a:6f5e:2264:ef75]) by bart.luffy.cx (Postfix) with ESMTPS id 83547141CE for ; Sat, 19 Feb 2011 10:45:50 +0100 (CET) Original-Received: by neo.luffy.cx (Postfix, from userid 500) id ABBB597; Sat, 19 Feb 2011 10:45:49 +0100 (CET) In-Reply-To: <87vd0jpr27.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 16 Feb 2011 14:12:16 -0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (x86_64-pc-linux-gnu) X-PGP-KeyID: 0xF22A794E X-PGP-Fingerprint: 5854 AF2B 65B2 0E96 2161 E32B 285B D7A1 F22A 794E X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76962 Archived-At: Hi! I have similar problem when using `gnus-group-get-new-news'. However, It does not happen each time. If I ask for new news by hand, it never happens. It seems to happen only when the refresh is initiated by gnus demon. I have something like this: (defun vince-gnus-demon-scan-mail-and-update () (vince-gnus-demon-scan-mail-or-news-and-update 2)) (gnus-demon-add-handler 'vince-gnus-demon-scan-mail-and-update 20 1) (defun vince-gnus-demon-scan-news-and-update () (vince-gnus-demon-scan-mail-or-news-and-update 3)) (gnus-demon-add-handler 'vince-gnus-demon-scan-news-and-update 30 20) Running by hand those two functions does not trigger the bug. gnus-demon-handlers list only contain those two functions. If I refresh the I have only one nnimap backend so it is easy to see which one hangs. The hang happens with "nnimap read 30k" in the minibuffer. This is always the same "30k". The nnimap buffer ends with something like that: 14679 OK [READ-ONLY] Select completed. * OK [CLOSED] Previous mailbox closed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS ()] Read-only mailbox. * 77 EXISTS * 0 RECENT * OK [UIDVALIDITY 1176456138] UIDs valid * OK [UIDNEXT 78] Predicted next UID * OK [HIGHESTMODSEQ 1] Highest 14680 OK [READ-ONLY] Select completed. * OK [CLOSED] Previous mailbox closed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft gnus-forward) * OK [PERMANENTFLAGS ()] Read-only mailbox. * 13108 EXISTS * 0 RECENT * OK [UIDVALIDITY 1169990978] UIDs valid * OK [UIDNEXT 13463] Predicted next UID * OK [HIGHESTMODSEQ 1] Highest 14681 OK [READ-ONLY] Select completed. * OK [CLOSED] Previous mailbox closed. * FLAGS (\Answered \Flagged \Deleted \Seen \Draft) * OK [PERMANENTFLAGS ()] Read-only mailbox. * 7059 EXISTS * 0 RECENT * OK [UIDVALIDITY 1297203672] UIDs valid * OK [UIDNEXT 7060] Predicted next UID * OK [HIGHESTMODSEQ 7061] Highest 14682 OK [READ-ONLY] Select completed. 14683 OK NOOP completed. 14685 OK NOOP completed. 14687 OK NOOP completed. 14689 OK NOOP completed. Process *nnimap* processus arr.t. I am currently using 9adfe4a952f2b51c1080ab941930ef5e831cf1d9 but it happened with more recent checkouts (I did downgrade because of Gcc and auth-sources problem). It happens with this commit too (for example): 37efc98493b86d09a0a2d198030884ebedeafc75. The IMAP server is dovecot. -- BOFH excuse #195: We only support a 28000 bps connection.