Author Topic: rc-4050-20101006  (Read 4800 times)

Offline trapper1204

  • Newbie
  • *
  • Posts: 8
rc-4050-20101006
« on: November 08, 2010, 09:52:31 PM »
Ever since I started using the 4 branch of Roundcube, I have been having performance issues.

it appears to be with Roundcube and Dovecot Sort.

Problem.
When the date column is visible, Roundcube can take up to 30 seconds to display an inbox with less than 1000 messages.

When the date column is turned roundcube is incredibly fast again.
Messages display instantly.


Is roundcube doing the sorting in the .4 branches?
My server is Dovecot 1.2.6 and it supports Sort and Thread.
The .2 and .3 branches were much much faster.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
rc-4050-20101006
« Reply #1 on: November 09, 2010, 12:39:46 AM »
Howto_Performance ? Roundcube Webmail

Quote

Here's the list of options with impact on performance¶
'index_sort', 'message_sort_col'¶
Messages listing is a main task of a mail client. Sorting is expensive. First of all you should use an IMAP server with SORT capability. If message list displaying is still too slow you should set 'message_sort_col' to 'date' and enable 'index_sort'. The order (ASC/DESC) is not important.
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Drakon

  • Jr. Member
  • **
  • Posts: 45
rc-4050-20101006
« Reply #2 on: June 28, 2011, 05:21:38 AM »
Rosali, the HowTo Performance document doesn't works for me. I have Apache2, Courier-Imap and imapproxy installed on the same machine. When I try to click on any folder that contains more than 5000 e-mails it takes a long time to open. I configured Apache2 with IpV4 only (Listen 0.0.0.0:80).

I don't know what else I can do.

Can you help me?

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
rc-4050-20101006
« Reply #3 on: June 28, 2011, 05:23:49 AM »
Check if your IMAP server supports IMAP SEARCH. Most probably that's the issue ...
« Last Edit: June 28, 2011, 06:57:04 AM by rosali »
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline Drakon

  • Jr. Member
  • **
  • Posts: 45
rc-4050-20101006
« Reply #4 on: June 28, 2011, 06:01:05 AM »
When I configure Microsoft Outlook 2007 with IMAP works fine and fast. The IMAP SEARCH is only for Roundcube?

Thanks Rosali.

Regards,
Jose.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,033
rc-4050-20101006
« Reply #5 on: June 28, 2011, 06:39:36 AM »
Check if your Courier has enabled SORT. Set sort col to "None" (there's no index_sort option in 0.5/0.6). Set enable_caching=false. Enable imap_debug to see what is sent to the IMAP server and what is slow.

Offline Drakon

  • Jr. Member
  • **
  • Posts: 45
rc-4050-20101006
« Reply #6 on: June 28, 2011, 07:05:48 AM »
In my courier config:
Quote
IMAP_CAPABILITY="IMAP4rev1 UIDPLUS CHILDREN NAMESPACE THREAD=ORDEREDSUBJECT THREAD=REFERENCES SORT QUOTA IDLE"

IMAP_DISABLETHREADSORT=0


In my Roundcube config:
Quote
$rcmail_config['enable_caching'] = false;


I will test with "imap_debug" enabled..

Regards,
Jose.