If you want a faster Kolab, read this.

Enrico Tagliavini enrico.tagliavini at gmail.com
Tue Sep 15 11:42:09 CEST 2015


You can configure two imap services in cyrus.conf one with TLS enabled
and the other without. I did it slightly different than Bron:

SERVICES {
    # add or remove based on preferences
    imapv4              cmd="imapd" listen="[<your IPv4 here>]:imap"
proto="tcp4" prefork=1
    imapv6              cmd="imapd" listen="[<your IPv6 here>]:imap"
proto="tcp6" prefork=1
    imaplocal           cmd="imapd -C /etc/imapd-local.conf"
listen="localhost:imap" prefork=10

and in imapd-local.conf simply set allowplaintext: yes and remove all
tls_* config references. Everything else same as your original
imapd.conf

For me removing TLS was quite a huge improvement for roundcube
responsiveness. However I could actually be happy if RC would be
faster in loading the message. Note this is the only slow operation.
Listing folders, for example, is almost instant. According to firefox
developer tools the request to load the message body takes between 0.2
to 1.5 seconds (and I'm on a gigabit line here, average latency
according to mtr to my server is 12 ms). Very inconsistent. I don't
see big I/O happening but there is some I/O wait sometimes, still not
very consistent and not necessarily related to the bad timing from
what I can see. I didn't investigated very deeply, just tried
something quick since I saw this thread.

Btw also mounting the partition with imap folders in it with noatime
(or relatime) options is probably going to help a bit.

I'm on Kolab 3.3.

On 15 September 2015 at 09:28, Aleksander Machniak
<machniak at kolabsys.com> wrote:
> On 09/15/2015 12:47 AM, Paul Bronson wrote:
>
>> [14-Sep-2015 13:52:55,000000 -0400]: <4rtsad2b> [B3E1] S: * OK
>
> BTW, there's a patch for Roundcube that enables microseconds in log
> timestamps. That would give you precise time of each command.
>
> https://github.com/roundcube/roundcubemail/commit/9aae1b7fc399b5d2cecb8f0d0df6a2ae4e749786
>
> --
> Aleksander Machniak
> Software Developer
> Kolab Systems AG: http://kolabsys.com
> PGP: 19359DC1
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list