[Tickets #7789] too much IMAP traffic with IMP 4
bugs at horde.org
bugs at horde.org
Thu Dec 18 19:01:41 UTC 2008
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/7789
------------------------------------------------------------------------------
Ticket | 7789
Created By | earl.fogel at usask.ca
Summary | too much IMAP traffic with IMP 4
Queue | IMP
Version | 4.3
Type | Bug
State | Unconfirmed
Priority | 2. Medium
Milestone |
Patch |
Owners |
------------------------------------------------------------------------------
earl.fogel at usask.ca (2008-12-18 14:01) wrote:
I have IMP 3 and IMP 4 both running on the same server -- same
hardware, same operating system, same apache, same php. With IMP 3,
listing a mailbox takes less than 1 second. With IMP 4 it takes 5
seconds.
So, I used tcpdump to trace the IMAP traffic, and found IMP 4 is doing
far too much work.
My test mailbox has about 1000 messages, IMP is configured to display
100 per page.
With this setup, IMP 3 does 6 IMAP FETCHes, IMP 4 does 305 IMAP
FETCHes. In addition, it looks like IMP 4 is fetching the same group
of messages (106:125) over and over again.
IMP 3 IMAP Trace:
LOGIN ...
CAPABILITY
SELECT bulk
LSUB "" *
LIST "" INBOX
FETCH 1:20 (UID ENVELOPE BODY PEEK[HEADER.FIELDS (Newsgroups
Content-MD5 Content-Disposition Content-Language Content-Location
Followup-To References)] INTERNALDATE RFC822 SIZE FLAGS)
FETCH 21:1299 (UID INTERNALDATE RFC822 SIZE FLAGS)
SEARCH UNSEEN
FETCH 21:40 ...
FETCH 41,42:61
FETCH 62,63:82
FETCH 83,84:103
LOGOUT
IMP 4 IMAP Trace:
LOGIN ...
CAPABILITY
STATUS bulk ((MESSAGES.RECENT.UNSEEN.UIDNEXT.UIDVALIDITY)
EXAMINE bulk
UID FETCH 1 UID
UID FETCH 2 UID
UID FETCH 3 UID
...
UID FETCH 98 UID
UID FETCH 99 UID
UID FETCH 100 UID
FETCH.1,2:21.(ENVELOPE.BODY.PEEK[HEADER.FIELDS.(Newsgroups.Content-MD5.Content-Disposition.Content-Language.Content-Location.Followup-To.References)].INTERNALDATE.RFC822.SIZE.FLAGS)
FETCH 22,23:42 ...
FETCH 43,44:63 ...
FETCH 64,65:84 ...
FETCH 85,86:105 ...
GETQUOTAROOT bulk
FETCH 1,106:125 (BODYSTRUCTURE.FLAGS)
FETCH 1 BODY PEEK[HEADER]
FETCH 2,106:125 (BODYSTRUCTURE.FLAGS)
FETCH 2 BODY PEEK[HEADER]
FETCH 3,106:125 (BODYSTRUCTURE.FLAGS)
FETCH 3 BODY PEEK[HEADER]
...
FETCH 99,106:125 (BODYSTRUCTURE.FLAGS)
FETCH 99 BODY PEEK[HEADER]
FETCH 100,106:125 (BODYSTRUCTURE.FLAGS)
FETCH 100 BODY PEEK[HEADER]
LOGOUT
More information about the bugs
mailing list