From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/76845 Path: news.gmane.org!not-for-mail From: egallego@babel.ls.fi.upm.es (Emilio =?utf-8?Q?Jes=C3=BAs?= Gallego Arias) Newsgroups: gmane.emacs.gnus.general Subject: Re: How to debug hangs during message fetching Date: Wed, 16 Feb 2011 23:18:27 +0100 Organization: TKE Message-ID: <87pqqr8vyk.fsf@babel.ls.fi.upm.es> 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 1297894835 20555 80.91.229.12 (16 Feb 2011 22:20:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 16 Feb 2011 22:20:35 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M25184@lists.math.uh.edu Wed Feb 16 23:20:30 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 1PppjT-0002qU-WD for ding-account@gmane.org; Wed, 16 Feb 2011 23:20:24 +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 1PppjS-0001s8-Ky; Wed, 16 Feb 2011 16:20:22 -0600 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 1PppjR-0001ro-4F for ding@lists.math.uh.edu; Wed, 16 Feb 2011 16:20:21 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PppjD-0002ik-KJ for ding@lists.math.uh.edu; Wed, 16 Feb 2011 16:20:21 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PppjC-0002I9-Sf for ding@gnus.org; Wed, 16 Feb 2011 23:20:06 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PppjC-0002YX-Jk for ding@gnus.org; Wed, 16 Feb 2011 23:20:06 +0100 Original-Received: from 138.red-81-36-86.dynamicip.rima-tde.net ([81.36.86.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Feb 2011 23:20:06 +0100 Original-Received: from egallego by 138.red-81-36-86.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 16 Feb 2011 23:20:06 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 138.red-81-36-86.dynamicip.rima-tde.net X-Url: https://babel.ls.fi.upm.es/~egallego/ User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:uaw4Ybt905utDB0cZx21HDa3rPs= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:76845 Archived-At: Lars Ingebrigtsen writes: >> This happens in a dovecot server using nnimap. It happens at start and >> whenever I press g or M-g. Then I need to press C-g in order to get out >> of the hang. debug-on-quit does not work. > > Hm. Hm. That change shouldn't affect the code path for `M-g' at all, > so I don't understand why reverting that change would make `M-g' work. > > But it does, very much, affect what `g' does. It basically makes nnimap > issue an EXAMINE for all the mailboxes on (secondary) backends that have > no groups subscribed. g and M-g works OK, but I have to press C-g in order for them to finish, otherwise I get messages "nnimap read 24k [800 times]" etc... Then after the C-g I can proceed almost as normal. debug-on-quit reports nothing useful :( >> | 680 OK [READ-ONLY] Select completed. >> | >> | Process *nnimap* terminado (killed) > > Hm. > > If you go to the "*nnimap dovecot ...*" buffer and eval > > (nnimap-send-command "EXAMINE %S" "#mailman.mtp-dev") > > what happens? Sorry Lars, should I do this with the code enabled (hang happens) or with the code commented out? Keep in mind that #mailman.mtp-dev is read-only IMAP group. Thanks for your help, Emilio