[RCU] Slow displaying INBOX with thousands emails
harke at dlrg.de
Sat Oct 27 10:51:57 CEST 2018
i have the same problem in my installation. i'm using 1.3.7 and 1.4-beta
to test the performance.
everytime RC gets in touch with the mailserver the speed slows down. if
there is only contact with the db (settings for example) the speed is ok.
Alec, thanks for the hints. i get:
[27-Oct-2018 08:28:55.046979]: <cb98mc7a> settings [3.9 MB/4.2 MB]:
[27-Oct-2018 08:28:56.841621]: <cb98mc7a> settings/identities [3.9
MB/4.2 MB]: 0.1268 sec
[27-Oct-2018 08:28:58.022314]: <cb98mc7a> settings/edit-identity [4.7
MB/5.0 MB]: 0.2692 sec
[27-Oct-2018 08:28:59.351677]: <cb98mc7a> settings/plugin.managesieve
[4.9 MB/5.1 MB]: 0.6408 sec
[27-Oct-2018 08:29:59.707223]: <cb98mc7a> settings/refresh [3.3 MB/3.7
MB]: 0.0836 sec
[27-Oct-2018 08:36:51.834207]: <cb98mc7a> settings/responses [3.9 MB/4.2
MB]: 0.1180 sec
[27-Oct-2018 08:36:53.852503]: <cb98mc7a> settings/identities [3.9
MB/4.2 MB]: 0.1564 sec
[27-Oct-2018 08:36:54.978280]: <cb98mc7a> settings/edit-identity [4.7
MB/5.0 MB]: 0.1311 sec
[27-Oct-2018 08:36:58.066700]: <cb98mc7a> settings/folders [5.3 MB/5.6
MB]: 0.8678 sec
[27-Oct-2018 08:37:00.482370]: <cb98mc7a> settings/preferences [3.9
MB/4.2 MB]: 0.0907 sec
[27-Oct-2018 08:37:01.904104]: <cb98mc7a> settings/edit-prefs [5.0
MB/5.5 MB]: 0.2720 sec
i think the speed is fine there.
If there is contact with the mailserver i receive:
[27-Oct-2018 10:27:21 +0200]: <cb98mc7a> mail [4.9 MB/5.3 MB]: 8.3537 sec
[27-Oct-2018 10:27:22 +0200]: <cb98mc7a> mail/getunread [4.2 MB/4.7 MB]:
[27-Oct-2018 10:27:22 +0200]: <cb98mc7a> mail/list [5.0 MB/5.1 MB]:
[27-Oct-2018 08:27:47.544593]: <cb98mc7a> mail/list [4.8 MB/4.9 MB]:
[27-Oct-2018 08:27:49.191417]: <cb98mc7a> mail/list [5.4 MB/5.5 MB]:
[27-Oct-2018 08:27:57.451979]: <cb98mc7a> mail/list [6.4 MB/6.7 MB]:
[27-Oct-2018 08:27:59.868111]: <cb98mc7a> mail/list [5.0 MB/5.2 MB]:
[27-Oct-2018 08:28:30.835897]: <cb98mc7a> mail/refresh [4.5 MB/4.7 MB]:
IMAP debugging says that the speed is also ok, but maybe i am searching
at the wrong place? For example i get:
[27-Oct-2018 08:27:57.325247]: <cb98mc7a> [F154] S: A0009 OK Fetch
completed (0.001 + 0.000 secs).
[27-Oct-2018 08:27:57.431208]: <cb98mc7a> [F154] S: A0011 OK
Getquotaroot completed (0.001 + 0.000 secs).
Enabling messages_cache changes nothing. Using Redis the same..
Maybe someone has another hint to debug my performance issues or another
configuration mode to test.
Am 27.10.2018 um 08:12 schrieb A.L.E.C:
> On 10/26/18 6:03 PM, Alexey wrote:
>>> Maybe it's parsing the THREAD response, but I don't know. It also is
>>> FETCHing messages for a hundred threads, no?
>> Fetching is extremely fast (0.004 + 0.000 + 0.003 secs).
> So, you're showing the imap server timings. Note the response need to be sent and parsed
> by the client.
> hint: you can configure $config['log_date_format'] = 'd-M-Y H:i:s.u' to get microsecond
> precision in the log. It might not work on old PHP versions.
> hint: you can set $config['performance_stats'] = true to log real time of the PHP script
> execution into logs/console.log.
More information about the users