Roundcube Community Forum

 

Roundcube Very SLOW

Started by technologicrepair, April 11, 2011, 02:27:06 PM

Previous topic - Next topic

technologicrepair

Running IIS 7.5; PHP 5.2.13; MySQL 5.5.5-m3
hMailServer 5.3.2-B1769

When I login to Roundcube as a user with a small inbox, it loads relatively quick.
When I login to roundcube with a user who has 10,540 emails, it takes approximately 60 seconds before the user will be able to view their mail.
Searching takes 1 - 2 minutes; changing folders takes another 60 seconds....
Everything is time consuming for the user when trying to interact with their large mailbox.

Why is this and how do I go about making it load faster?

Mich312

I have the same thing since a few weeks. Very problematic

SKaero

You can check out the RoundCube Performance Tuning: http://trac.roundcube.net/wiki/Howto_Performance but it sounds like your having a problem with the mail server, you could enable imap_debug and check the logs to verify.

technologicrepair

If you wouldn't mind - I have attached my imap logs - could you take a look and see what the problem might be?
I'm not sure what I should be looking for....

alec

As you can see in the log, SORT response tooks ca.15 seconds. So, this is slow IMAP server. You can disable sorting (set sorting column to None) to make the listing faster.

technologicrepair

I set $rcmail_config['message_sort_col'] = 'None';
However, when looking at the imap logs, it is still sorting - and there is still a 15 second lag while it runs through and builds the sorted array.
Any ideas?

rosali

You can disable SORT in hMailserver. However, I have hMailserver running with SORT extension and I don't experience long response times even on hugh mailboxes. Did you enable indexing in hMailserver? If you have still performance issues, I suggest to ask for support at hMailserver support forum. I'm quite sure, this is no Roundcube issue.
Regards,
Rosali

technologicrepair

I did not have indexing enabled.  I have turned it on and it is now indexing 31,000 emails.....  We'll see if this helps.  Thanks for the tip!

technologicrepair

Looks like enabling indexing solved the problem.
If only I knew it was disabled months ago!
Thanks so much!

rosali

Your welcome! I suggest to set "threading" worker thread priority to highest if you don't have lots of other services running on the hMailserver box.
Regards,
Rosali

alec

BTW, $rcmail_config['message_sort_col'] = 'None'; will not work, you should use $rcmail_config['message_sort_col'] = ''; I was talking about using UI to set the sorting.

talvins

Same problem for me but on Apache2 / Courier.
Roundcube, courier and maildirs is on the same machine.
Very very slow on folder (cur) containing > 5000 messages.

Drakon

We have the same problem. We have tunned with imapproxy and others. When we click on a folder it takes a long time to open, more than 5 seconds if this contains more than 3000 o 5000 e-mails.

Quote from: talvins;34310Same problem for me but on Apache2 / Courier.
Roundcube, courier and maildirs is on the same machine.
Very very slow on folder (cur) containing > 5000 messages.

Regards,

rosali

Please do not post duplicates!
Regards,
Rosali

eder

Hello everyone,

I'm experiencing the same performance problem on Roundcube with large mailboxes. I've already set the following parameters on main.inc.php:

$rcmail_config['dont_override'] = array('message_sort_col', 'message_sort_order');
$rcmail_config['message_sort_col'] = '';

So that the user can't change the sorting configurations. But when he clicks on the header of each column, the sorting command is still sent to server, making him to wait for a long period until an error is shown.

Is there a way to disable completely the sorting option for the user on Roundcube?

PS: If I'm posting it in the wrong place, I apologize - please let me know.