Author Topic: How to make a roundcube installation faster...  (Read 1946 times)

Offline voltron81

  • Jr. Member
  • **
  • Posts: 42
How to make a roundcube installation faster...
« on: May 18, 2010, 09:37:34 AM »
Hi to everybody.
I'm installing roundcube 0.3.1 on a quite slow machine that will collect the emails from external and, with roundcube, I can read that emails offline. So all the traffic of roundcube is in a local network.

Instead of apache, I've installed lighttpd.

The installation of roundcube is done without any problem, but to login or to surf on roundcube webpage it's taking quite a lot of time... there is any way to make it faster?

I guess the problem is that PHP is using quite a lot of energy...

Thanks
Michele

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,533
    • http://SKaero.com/
How to make a roundcube installation faster...
« Reply #1 on: May 18, 2010, 10:08:57 AM »
Check out Howto_Performance ? Roundcube Webmail you may also want to try RoundCube 0.4 beta or the SVN there newer and may be faster.

Offline voltron81

  • Jr. Member
  • **
  • Posts: 42
How to make a roundcube installation faster...
« Reply #2 on: May 20, 2010, 08:19:25 AM »
Thanks Skaero for your reply.
I had a look to the webpage that you suggested me.
I've changed some values, but I can not see any dirrerence... :(

I've setup:
pagesize = 20
preview_pane = TRUE
enable_caching = FALSE (since the IMAP connection is on the same machine)
imap_auth_type = "plain"
smtp_auth_type = 'PLAIN'

Am I wrong in something?
I was also reading how to setup the imap proxy, and at the end I setup it, but of course it's exatly the same (since the IMAP connection is on the same machine, so che IMAP proxy have just no sense).

Any suggestion?
Probably a problem between PHP and lighttpd?

Thanks
Michele

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,533
    • http://SKaero.com/
How to make a roundcube installation faster...
« Reply #3 on: May 20, 2010, 08:39:52 AM »
Quote from: voltron81;27559

Am I wrong in something?

Are far I can see it looks fine, you may have reached the limits of your machine or it could be a problem with something else like php or the mail server.
Quote from: voltron81;27559

Probably a problem between PHP and lighttpd?

I have never used lighttpd so I don't know, it won't hurt to do a install and see if it runs any faster.

Offline voltron81

  • Jr. Member
  • **
  • Posts: 42
How to make a roundcube installation faster...
« Reply #4 on: June 03, 2010, 04:34:40 AM »
Hi guys,
I've realized that setting up priority for all the processes that are running I can save a bit of CPU and now roundcube is working better.

There is a way to setup priority (in this case high priority) to ipam and php5-cgi?
I'm asking that because I know how to setup priority on a PID, but this 2 processes are running with a different PID everytime that they are called...


Thanks
Michele