Hi, using roundcube 0.4beta I see very slow performance when double clicking on an email before it finally displays the email (45 secs) - this is in a large inbox of some 33,000 messages (with threading enabled).
The inbox itself displays quickly (1-2 secs), emails displayed in the preview window display instantly, it's simply double clicking an email to open it which is extremely slow (regardless of whether the preview window is displayed).
The issue appears to be threading related - if I disable threading on the inbox then there is no delay on double clicking, only if I ask for the inbox to be threaded is there a delay opening an email
This seems to be confirmed by the log files from the mail server (Dovecot) which shows the imap requests on opening the message as follows:
cp01 CAPABILITY sel1 SELECT "INBOX" FH12 UID FETCH 52231 (UID RFC822.SIZE FLAGS INTERNALDATE BODYSTRUCTURE BODY.PEEK[HEADER.FIELDS (DATE FROM TO SUBJECT REPLY-TO IN-REPLY-TO CC BCC CONTENT-TRANSFER-ENCODING CONTENT-TYPE MESSAGE-ID REFERE NCES DISPOSITION-NOTIFICATION-TO X-PRIORITY X-DRAFT-INFO)]) thrd1 THREAD REFS US-ASCII ALL s SORT (ARRIVAL) US-ASCII ALL fuid FETCH 33027 (UID) fuid FETCH 32991 (UID) fuid FETCH 33006 (UID) fuid FETCH 6738 (UID) lsb LSUB "" "*" ftch0 UID FETCH 52231 (BODY.PEEK[1]) I LOGOUT
And in particular the corresponding "thrd1" response is a huge list of all the threads in the inbox. Top shows that there is a ton of load due to the php task. However, although I haven't yet looked at the code, I really don't see why we need a list of all the message threads when opening just an individual message?
Does anyone have a suggestion as to a possible fix?
Thanks
Ed W _______________________________________________ List info: http://lists.roundcube.net/users/