<div dir="ltr"><div style="font-size:12.8000001907349px">Okay guys, I have put a lot of research into this so bear with me. </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Here&#39;s what I am up against. I have been working with RC (roundcube) for a long time and I know some awesome mySQL tweaks that work wonders, etc. My tweaks haven&#39;t done a single thing for the kolab install. This the first time I&#39;ve worked with memcache. So here&#39;s my config before I proceed:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>    // IMAP Server Settings</div><div>    $config[&#39;default_host&#39;] = &#39;localhost&#39;;</div><div>    $config[&#39;default_port&#39;] = 143;</div><div>    $config[&#39;imap_delimiter&#39;] = &#39;/&#39;;</div><div>    $config[&#39;imap_force_lsub&#39;] = true;</div><div><br></div><div>    // Caching and storage settings</div><div>    $config[&#39;imap_cache&#39;] = &#39;memcache&#39;;</div><div>    $config[&#39;imap_cache_ttl&#39;] = &#39;10d&#39;;</div><div>    $config[&#39;messages_cache&#39;] = &#39;db&#39;;</div><div>    $config[&#39;message_cache_ttl&#39;] = &#39;10d&#39;;</div><div>    $config[&#39;session_storage&#39;] = &#39;db&#39;;</div><div><br></div><div>    // SMTP Server Settings</div><div>    $config[&#39;smtp_server&#39;] = &#39;tls://localhost&#39;;</div><div>    $config[&#39;smtp_port&#39;] = 587;</div><div>    $config[&#39;smtp_user&#39;] = &#39;%u&#39;;</div><div>    $config[&#39;smtp_pass&#39;] = &#39;%p&#39;;</div><div>    $config[&#39;smtp_helo_host&#39;] = $_SERVER[&quot;HTTP_HOST&quot;];</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I did notice that when I turn off tls on:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">$config[&#39;smtp_server&#39;] = &#39;tls://localhost&#39;;<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">that I can&#39;t log into RC, it seems to want to force me to use TLS, which I read somewhere else. Not sure if this is the culprit here.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">CHATTRSYNC is off on cyrus already (by default I guess?)</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I&#39;ve installed imapproxy which seems to be working as far as the logs are concerned, but I STILL get about 3-4-5 second delay when opening through email. I have since uninstalled the imapproxy... Memcache is working properly according to the simply ps aux command or memcache-tool command but it still seems slow on RC, doesn&#39;t seem to have made a difference. I get these constant logs:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>Sep  5 20:54:51 es1 imap[2281]: login: localhost [::1] <a href="mailto:johndoe@domain.com" target="_blank">johndoe@domain.com</a> PLAIN+TLS User logged in SESSIONID=&lt;es1.domain.com-2281-1441500890-1-15740725055571902363&gt;</div><div>Sep  5 20:54:51 es1 imap[2281]: USAGE <a href="mailto:johndoe@domain.com" target="_blank">johndoe@domain.com</a> user: 0.009998 sys: 0.006999</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">It logs everytime the user makes a click or opens an email. Again, imapproxy didn&#39;t work much.. I tried disabling TLS, tried changing the cache methods.. Have been doing research pretty much all day trying to tweak this. Some have said comment out the kolab files plugin, that didn&#39;t make any difference at all. Cyrus just seems to take forever for some reason.. I am talking 4-5 seconds waiting before the email even shows on the screen.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">memcache conf:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>PORT=&quot;11211&quot;</div><div>USER=&quot;memcached&quot;</div><div>MAXCONN=&quot;1024&quot;</div><div>CACHESIZE=&quot;1024&quot;</div><div>OPTIONS=&quot;-l 127.0.0.1&quot;</div><div>OPTIONS=&quot;-vv &gt;&gt; /var/log/memcached 2&gt;&amp;1&quot;</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I tried increasing cache size, didn&#39;t help (not that I thought it would either)... I am getting a little desperate here.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I changed php.ini to memory_limit = 4096M... Already kicked up my innodb performance settings tuned like my fast non-kolab servers.. I don&#39;t think its a mysql problem either.. The problem is with the </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Any ideas as to why this is so slow compared to my non-kolab RC install I have going right now (dovecot based)? </div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">By the way, this server has two active email accounts on it.. No load what so ever.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Kolab 3.4, centos 6</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I am not sure what else to try to make cyrus faster!!! Can someone suggest something?</div></div>