Author Topic: Roundcube with hmailserver performance  (Read 8081 times)

Offline playedalive

  • Newbie
  • *
  • Posts: 6
Roundcube with hmailserver performance
« on: February 23, 2011, 07:22:32 PM »
Hi

I am dealing with mailboxes with thousands of messages in each folder. Obviously running  a search against this is slow. VERY SLOW.

Are there any recommendations on how to boost performance. When i run a search on a folder with that many messages i can see the hmail process hitting 99% cpu.

I am indexing the message with a mysql database.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Roundcube with hmailserver performance
« Reply #1 on: February 24, 2011, 02:20:07 AM »
I think, you should ask on hmailserver forum.

Offline rosali

  • Hero Member
  • *****
  • Posts: 2,533
Roundcube with hmailserver performance
« Reply #2 on: February 25, 2011, 12:55:55 AM »
hMailserver is rather resource consuming the more messages you have in an IMAP folder.

Did you enable hMailserver Message Indexing?

Performance
Regards,
Rosali
__________________
MyRoundcube Project (commercial)

Offline playedalive

  • Newbie
  • *
  • Posts: 6
Roundcube with hmailserver performance
« Reply #3 on: February 25, 2011, 05:57:12 PM »
Yep i have enabled indexing, I ave now installed the latest alpha 5.4 and it has improved performance quite considerably.

Although i notice that when doing a search, roundcube has a 60 second timeout. I watch the imap logs as the search is running and it looks like roundcube stops if it doesn't get a response after 60 seconds. Is there any way to increase this as i cant find it in any of the source files.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Roundcube with hmailserver performance
« Reply #4 on: February 25, 2011, 11:54:59 PM »
You can change the value of the imap timeout in /config/main.inc.php with the $rcmail_config['imap_timeout'] option, but its set to 0 (no limit) by default so its probably PHP timing out. You should be able to verify that by checking your error log.

Offline playedalive

  • Newbie
  • *
  • Posts: 6
Roundcube with hmailserver performance
« Reply #5 on: February 26, 2011, 05:44:02 PM »
thanks, im not able to get to my system right now, would it be this value in php i would need to alter:

PHP: set_time_limit - Manual

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Roundcube with hmailserver performance
« Reply #6 on: February 27, 2011, 03:38:42 AM »
Possibly but more likely it would be max_execution_time.