Gnus development mailing list
 help / color / mirror / Atom feed
From: Nevin Kapur <nevin@jhu.edu>
Subject: Inordinate delay while exiting a particular group
Date: Wed, 17 Jul 2002 23:20:57 -0400	[thread overview]
Message-ID: <m3d6tlvi06.fsf@fermat.mts.jhu.edu> (raw)

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



                 reply	other threads:[~2002-07-18  3:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3d6tlvi06.fsf@fermat.mts.jhu.edu \
    --to=nevin@jhu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).