Roundcube Community Forum

 

Very slow account gmail with 1000 messages

Started by mymail, January 03, 2013, 12:17:17 PM

Previous topic - Next topic

mymail

Hi,
I installed roundcube 0.8.4 on a server that connects to gmail using IMAP to get messages from a gmail account. In the gmail account there are many folders and inbox is very slow, there are about 1000 messages.
I changed the number of rows per screen at 20 but continued slow.
The cache is disabled
// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$rcmail_config['imap_cache'] = null;
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = false;


Best regards,

myMail

Yoni

There is no work around. It is slow...

// Type of IMAP indexes cache. Supported values: 'db', 'apc' and 'memcache'.
$rcmail_config['imap_cache'] = 'db';
// Enables messages cache. Only 'db' cache is supported.
$rcmail_config['messages_cache'] = true;

mymail

Hello,

I've changed the configuration, enabling the caching. Could you recommend me something else to improve the performance?

Best regards

mymail

alec

Do you know exactly what is slow? Enable imap_debug and check timing in the log. http://trac.roundcube.net/wiki/Howto_Performance

mymail

Hello,

Load the inbox takes 0.5 min. There are 10000 messages and shows 20 lines
What is the meaning of this lines?

[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10130 FETCH (UID 16468 RFC822.SIZE 5091)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10131 FETCH (UID 16469 RFC822.SIZE 43120)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10132 FETCH (UID 16470 RFC822.SIZE 215347)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10133 FETCH (UID 16471 RFC822.SIZE 185263)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10134 FETCH (UID 16472 RFC822.SIZE 7285)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10135 FETCH (UID 16473 RFC822.SIZE 10723)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10136 FETCH (UID 16474 RFC822.SIZE 12937)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10137 FETCH (UID 16475 RFC822.SIZE 516440)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10138 FETCH (UID 16476 RFC822.SIZE 45776)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10139 FETCH (UID 16477 RFC822.SIZE 22380)
[07-Jan-2013 11:31:03 +0100]: [9110] S: * 10140 FETCH (UID 16478 RFC822.SIZE 2639)

Best regards,

alec

Did you set sorting by message size? It looks like it fetches size of all messages to sort them. Or this is log of the "check folder size" feature.

mymail