Author Topic: Roundcube 1.4.3 really slow  (Read 2484 times)

Offline azarug

  • Newbie
  • *
  • Posts: 5
Roundcube 1.4.3 really slow
« on: April 13, 2020, 06:15:54 AM »
Hi,

I just finished installing Roundcube and everything works fine (send,recieve, ....). The problem is that its super slow loading; for example, takes for ever to show the email list.

I do the same from thunderbird and everything goes fast. I allso installed a alternative webmail (rainloop) and its fast when loading messages. Server show its not under heavy load either.

I think its Roundcube, but i dont really know where to start looking, im a 1st time roundcube user. Could someone point me in the correct direction?

Thanks for any help :-)

Info:

Roundcube 1.4.3
PHP 7.4.4
Postfix 3.3.1
Dovecot 2.2.36
Apache 2.4.37
roundcube "talks" to localhost (imap-login: Login: user=<xxx@xxx.xxx>, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, mpid=2896, TLS, session=<xxxxxxxxxxxxxxxxx>)

Offline JohnDoh

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2,850
Re: Roundcube 1.4.3 really slow
« Reply #1 on: April 14, 2020, 01:35:45 PM »
Please enable imap_debug and post the log.
Roundcube Plugins: Contextmenu, SpamAssassin Prefs, and moreā€¦

Offline azarug

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 1.4.3 really slow
« Reply #2 on: April 17, 2020, 02:39:06 AM »
Hi,

Thanks for putting the efford to help.

Attached is the log you asked for. Just removed email content info.

Any help will be appreciated.  :)

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Roundcube 1.4.3 really slow
« Reply #3 on: April 17, 2020, 07:55:13 AM »
The log looks normal, but there are delays on AUTHENTICATE PLAIN requests. So, investigate that on the dovecot's side.

BTW, you can configure log timestamp format to include milliseconds.

Offline azarug

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 1.4.3 really slow
« Reply #4 on: April 20, 2020, 05:37:29 AM »
Hi,

Thanks for the reply. Ill look further into dovecot configuration. What is the apropiate time to finish a login? In the log seems it look 3 seconds, but when im loading the message list in roundcube it takes much longet to show the message list.

[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] Connecting to ssl://127.0.0.1:993...
[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] S: * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN AUTH=LOGIN] Dovecot ready.
[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] C: A0001 ID ("name" "Roundcube" "version" "1.4.3" "php" "7.4.5" "os" "Linux" "command" "/roundcube/?_task=login")
[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] S: * ID ("name" "Dovecot")
[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] S: A0001 OK ID completed.
[17-Apr-2020 07:26:47 +0100]: <9pslppaa> [143C] C: A0002 AUTHENTICATE PLAIN ****** [37]
[17-Apr-2020 07:26:50 +0100]: <9pslppaa> [143C] S: A0002 OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS BINARY MOVE SNIPPET=FUZZY SPECIAL-USE] Logged in

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Roundcube 1.4.3 really slow
« Reply #5 on: April 20, 2020, 07:58:43 AM »
What exactly do you mean longer? There's several IMAP requests when you load the whole Mail UI, so it will sum up. Check also the browser console for some timings.

Offline azarug

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 1.4.3 really slow
« Reply #6 on: April 21, 2020, 02:08:28 AM »
Hi,

It takes around 10-12 seconds from login bottom press to show all messages (around 6 messages only). This happens everytime i show the inbox. I know it isnt much, but the sensation is it takes for ever and more if im moving between different menu areas back and forth.

Maybe im expecting too much and this are normal loading times, but i dont get that "waiting" feeling when i use thunderbird.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Roundcube 1.4.3 really slow
« Reply #7 on: April 21, 2020, 03:25:51 AM »
No, this is not normal.

Offline azarug

  • Newbie
  • *
  • Posts: 5
Re: Roundcube 1.4.3 really slow
« Reply #8 on: April 21, 2020, 06:55:19 AM »
Thanks for all the help, as suggested ill look into the email server side.