2009/3/24 A.L.E.C alec@alec.pl:
Joan wrote:
Good morning, I'm a roundcube user since some time, when it was alpha and recently did a couple of new installs and it has been always quite fast. With Latest stable 0.2.1 I saw a important penalty in performance. It's taking 5 or 6 seconds for anything i.e. logging,compose a mail or to send a mail. Digging on the forums and this list I couldn't find any information related, the only thing is this unaswered post: http://www.roundcubeforum.net/issues-bugs/4099-slow-performance-first-time-u...
I attached the main.inc.php and the dovecot.conf
For tests, try to disable caching. For performance, set imap_auth_type, imap_root, imap_delimiter. In dovecot.conf enable login_greeting_capability. You can also uncomment console() calls in lib/imap.inc to debug IMAP conversation.
Finally we nailed down the problem to dovecot. In the default config file there is the pam method by default to autenticate. Altough we only need sql there was a remaining pam { } That was the default so sql was only used as a fallback taking a large amount of time.
Now roundcube is blazing fast.
Cheers _______________________________________________ List info: http://lists.roundcube.net/users/