<div dir="ltr">Anyone have any ideas on this?</div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Sep 5, 2015 at 10:22 PM, Paul Bronson <span dir="ltr"><<a href="mailto:signaldeveloper@gmail.com" target="_blank">signaldeveloper@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><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'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't done a single thing for the kolab install. This the first time I've worked with memcache. So here'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['default_host'] = 'localhost';</div><div> $config['default_port'] = 143;</div><div> $config['imap_delimiter'] = '/';</div><div> $config['imap_force_lsub'] = true;</div><div><br></div><div> // Caching and storage settings</div><div> $config['imap_cache'] = 'memcache';</div><div> $config['imap_cache_ttl'] = '10d';</div><div> $config['messages_cache'] = 'db';</div><div> $config['message_cache_ttl'] = '10d';</div><div> $config['session_storage'] = 'db';</div><div><br></div><div> // SMTP Server Settings</div><div> $config['smtp_server'] = 'tls://localhost';</div><div> $config['smtp_port'] = 587;</div><div> $config['smtp_user'] = '%u';</div><div> $config['smtp_pass'] = '%p';</div><div> $config['smtp_helo_host'] = $_SERVER["HTTP_HOST"];</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['smtp_server'] = 'tls://localhost';<br></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">that I can'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'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'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=<es1.domain.com-2281-1441500890-1-15740725055571902363></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'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'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="11211"</div><div>USER="memcached"</div><div>MAXCONN="1024"</div><div>CACHESIZE="1024"</div><div>OPTIONS="-l 127.0.0.1"</div><div>OPTIONS="-vv >> /var/log/memcached 2>&1"</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I tried increasing cache size, didn'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'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>
</blockquote></div><br></div>