From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45701 Path: main.gmane.org!not-for-mail From: Nevin Kapur Newsgroups: gmane.emacs.gnus.general Subject: Inordinate delay while exiting a particular group Date: Wed, 17 Jul 2002 23:20:57 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1026962598 30790 127.0.0.1 (18 Jul 2002 03:23:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 18 Jul 2002 03:23:18 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17V1sr-00080V-00 for ; Thu, 18 Jul 2002 05:23:17 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17V1qu-0005Or-00; Wed, 17 Jul 2002 22:21:16 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 17 Jul 2002 22:21:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id WAA10237 for ; Wed, 17 Jul 2002 22:21:27 -0500 (CDT) Original-Received: (qmail 24500 invoked by alias); 18 Jul 2002 03:20:59 -0000 Original-Received: (qmail 24495 invoked from network); 18 Jul 2002 03:20:58 -0000 Original-Received: from fermat.mts.jhu.edu (128.220.17.18) by gnus.org with SMTP; 18 Jul 2002 03:20:58 -0000 Original-Received: (from nevin@localhost) by fermat.mts.jhu.edu (8.11.6/8.11.6) id g6I3KvC25846; Wed, 17 Jul 2002 23:20:57 -0400 X-Authentication-Warning: fermat.mts.jhu.edu: nevin set sender to nevin@jhu.edu using -f Original-To: ding@gnus.org X-Face: #i!d%y+1tilG}1ua9z&9waMLqE>H+;pUwWFetZe]4uWiv;VE:GHLnT1\Gj]>l^(]R#}sD@E"(@?vMv,yb@`?32;i~D$6x6m*%!3gPyp-rb$}.%QpxZ!3Y+jESN5[s7SL_68Sc`Aek)A$M|h++b/2VjR.k+Tw4X+0a%:K-kcUeMZ(rs?}v\eG({5J&IPS Mail-Followup-To: ding@gnus.org Original-Lines: 52 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.4 (Honest Recruiter, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45701 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45701 I have an nnimap group where I route all my junk. It has the following group parameters: ((total-expire . t) (agent-predicate . junk) (expiry-wait . immediate) (expiry-target . delete)) I check this infrequently. Each time I exit this group, it takes a *really* long time for the expiry process to complete, something on the order of 5-6 seconds, during which the load on my machine skyrockets. Normally, exiting a group takes a fraction of a second. I can't figure out how to track this down. Here's the result of profile-key-sequence: Function Name Ticks %/Total Call Count ============================= ===== ======= ========== re-search-forward 1426 92.537 750 (in garbage collection) 33 2.141 expand-file-name 19 1.233 1399 file-exists-p 19 1.233 698 file-name-as-directory 9 0.584 1390 format 8 0.519 902 insert-file-contents-internal 4 0.260 11 write-region-internal 4 0.260 11 = 2 0.130 12573 princ 2 0.130 3 get-buffer-create 1 0.065 37 delete-backward-char 1 0.065 15 gnus-agent-group-path 1 0.065 688 set-window-buffer 1 0.065 5 check-menu-syntax 1 0.065 592 gnus-parse-complex-format 1 0.065 2 gnus-agent-expire 1 0.065 1 gnus-compress-sequence 1 0.065 28 read 1 0.065 204 gnus-dribble-enter 1 0.065 3 when 1 0.065 12565 accept-process-output 1 0.065 9 prin1-to-string 1 0.065 3 message 1 0.065 18 string-match 1 0.065 2214 -------------------------------------------------------------- Total 1541 100.000 One tick = 1 ms Any ideas as to how to debug this? -Nevin