[imp] Opening folders painfully slow - SOLVED
lst_hoe02 at kwsoft.de
lst_hoe02 at kwsoft.de
Tue Nov 10 14:47:39 UTC 2009
Zitat von Paul Gardiner <lists at glidos.net>:
> Just singed up the the list to ask a question and then found the
> solution before I'd manage to ask. Thought I'd post anyway in
> case it helped someone else in a search.
>
> I have a few fairly big folders, one around 50,000 messages. I was
> finding these would take ages to open. Worse, when a large folder
> did eventually open, something had timed out, and I was shown
> no message. Checking my server, it still had an imap process
> whirring away. When that eventually stopped, retrying to open the
> folder would be successful, but - I think - only because the
> messages had all been pulled into the server's memory file cache.
> In any case, opening the folder again at a later date would
> fail.
>
> The solution was simple. In the imp config, under the Server tab,
> I had sort_limit set to 0. I set it to 1000, and now everything
> zips along at breakneck speed. I can't believe I'v had this set
> up wrongly for the years I've been using imp, but there ya go.
>
> One question I still have. Is the need for this setting because
> of the imap server I'm using? I use courier. Might another
> handle sorted request more efficiently? Or might I not have
> the best configuration set up for courier?
>
> Cheers,
> Paul.
It depends what field you use to sort. Most IMAP server have some
index on most common searched/sorted fields so sorting by this fields
would be quick, all others painful slow with many messages in the inbox.
Regards
Andreas
More information about the imp
mailing list