Roundcube Community Forum

 

Roundcube with hmailserver performance

Started by playedalive, February 23, 2011, 07:22:32 PM

Previous topic - Next topic

playedalive

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.

alec

I think, you should ask on hmailserver forum.

rosali

hMailserver is rather resource consuming the more messages you have in an IMAP folder.

Did you enable hMailserver Message Indexing?

Performance
Regards,
Rosali

playedalive

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.

SKaero

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.

playedalive

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

SKaero

Possibly but more likely it would be max_execution_time.