Page 1 of 1

Very slow imap when opening new folder

Posted: Mon Nov 07, 2005 4:07 pm
by kali
I have migrated imap folders (from sendmail/imap server setup) to Scalix. I have used an easy migration by drag/drop in an imap client. Works fine.

BUT - when I then open the folder on the client on the Scalix server, it takes a LONG time to open the folder. I can see the Scalix server thrashing the hard drive. So... what is happening? With UW Imap - this does not happen. A new folder is opened by an imap client (whether Outlook, Thunderbird, whatever...) very quickly with list of headers streaming in at connection speed. Seconds at longest. But the Scalix server is taking 1 min+ to open up an imap folder.

I do notice that the imap server does not support server side SORT. Is that hurting performance with imap based connections? Other ideas?

Chris

Posted: Mon Nov 07, 2005 5:16 pm
by ScalixSupport
Does this happen every time you open the mailbox ?

You mention that this occurred after you migrated data from one client to another.
There is data that needs to be constructed relating to the structure of the message which can happen when a message is accessed for the first time or, if you run

Code: Select all

omtidyallu -M
, it will build the data for all messages in the message store.

This is specific to MIME client access such as POP and IMAP.

If this has been built correctly, subsequent access of the maibox should be quicker.

This is documented in the release notes in the "Known Issues and Workarounds" item of the Scalix Server section. Although it refers to upgrade from a previous version, it is also relevant for data migrations.

Cheers

Dave

Posted: Mon Nov 07, 2005 7:05 pm
by kali
Thanks. Happens first time you open the folder - so I think your diagnosis is correct.

Yes.... I did read that in the documentation, but in my defense, I have read a LOT of Scalix documentation in the last several days! I think that little piece must have gotten caught in the mental auto-delete.

And, yes - your suggestion did make a difference. It still takes a little while to open a new folder (after omtidyallu) but not nearly as long as it was before (and omtidy takes a while to complete as well). And once it has been accessed, then it is fine after that for all other clients.

Thanks for the quick (and accurate) answer. Very appreciated.
Chris