On 7/21/2013 2:15 PM, Elio Tondo wrote:
On 20/07/2013 20:14, Grant wrote:
Can anything be done to speed up Roundcube on a Celeron 700 with 512MB RAM (maxed out) running Gentoo Linux? We're using the Chrome browser and the CPU is 95% idle when no one is logged into X. I'm getting reports of 30+ seconds to open an email.
You need to provide more detail, specifically the history of using RC on this Celeron 700 machine. I.e. did RC run fine in the past but now you have the 30s latency opening new mail? Or did you just recently (re)deploy this machine and the 30s latency has existed from the start? Do any other machines accessing this RC server also experience latency opening new messages?
Your problem is likely the amount of RAM; when you start X and Chrome, your client almost surely starts swapping, because there isn't enough RAM for the running processes. Roundcubemail uses AJAX which requires a fast javascript interpreter, and this makes things worse if your processes (including Chrome) are swapping.
On such low-end systems you should use a very lightweight browser instead of Chrome, even if this can give some limitations.
This is simple to check. With all apps running simply run "free -m" and post the output here.