Hi,
I've recently migrated to svn-trunk and since then I find that the initial loading of messages is very slow. With an inbox with ~2200 messages it takes more than 30 sec to load. After that, switching pages is relatively fair (~5 sec), but only if I happen to switch during keepalive.
It seems that it fetches all the headers instead of only the first 40 (as suggested by pagesize).
I'm on Courier-IMAP with an empty message_sort_col. I do not have caching enabled, are there any known problems remaining with it?
Any suggestions?
Kristof _______________________________________________ List info: http://lists.roundcube.net/users/
On 22.06.2010 13:06, Kristof Bajnok wrote:
Hi,
I've recently migrated to svn-trunk and since then I find that the initial loading of messages is very slow. With an inbox with ~2200 messages it takes more than 30 sec to load. After that, switching pages is relatively fair (~5 sec), but only if I happen to switch during keepalive.
In every case there's the same list action code executed. Only difference is that initial loading is executed in parallel with getunread action.
It seems that it fetches all the headers instead of only the first 40 (as suggested by pagesize).
I'm on Courier-IMAP with an empty message_sort_col. I do not have caching enabled, are there any known problems remaining with it?
Threads? Enable imap_debug and attach logs/imap here.
On Tuesday 22 June 2010 13.39.03 A.L.E.C wrote:
I'm on Courier-IMAP with an empty message_sort_col. I do not have caching enabled, are there any known problems remaining with it?
Threads? Enable imap_debug and attach logs/imap here.
It's definitely the sorting, which takes an awful lot of time with a couple of thoundsands of messages. Interestingly, it's only a problem with courier- imap.
Is it possible to disable sorting as a whole? I thought an empty message_sort_col was meant to do this.
Kristof _______________________________________________ List info: http://lists.roundcube.net/users/
On 22.06.2010 15:42, Kristof Bajnok wrote:
It's definitely the sorting, which takes an awful lot of time with a couple of thoundsands of messages. Interestingly, it's only a problem with courier- imap.
Is it possible to disable sorting as a whole? I thought an empty message_sort_col was meant to do this.
Works for me. List view mode = List, Sorting column = None. SORT is not executed. I cannot help you without the log.
On Tuesday 22 June 2010 15.56.02 A.L.E.C wrote:
Is it possible to disable sorting as a whole? I thought an empty message_sort_col was meant to do this.
Works for me. List view mode = List, Sorting column = None. SORT is not executed. I cannot help you without the log.
There are two distinct issues. One is that SORT sucks on courier imap for whatever reason. The other is that I can not disable sorting in RC, as it's shown up in the logs.
[I've got hard time cleaning up the related lines of the logs together because it's having a moderate load. However if I manually copy the C: lines to an imap connection (telnet), I can see long delay only after the SORT command.]
So the RC-related problem is: why does it keep sorting messages, even if I click on 'save' after setting 'None' sorting? To be precise, 'None' is in effect during the session but is restored to 'Date' on subsequent logins. And why is not "None" the default, as suggested by the comment above $rcmail_config['message_sort_col'] = ''; ?
[I know, you most probably want the SQL logs now, which I'm not able to provide at the moment. Meanwhile you may have an idea about what's going wrong, until I can prepare them.]
Thanks for your help.
Kristof _______________________________________________ List info: http://lists.roundcube.net/users/