[horde] Apache Performance tuning with Horde

Michael M Slusarz slusarz at horde.org
Tue Dec 16 17:36:29 UTC 2014


Quoting Patrick De Zordo <patrick at spamreducer.eu>:

>> In current versions of Horde, there is essentially nothing that should be
>> causing a CPU spike for more than a second.  If so, you have likely found
> a
>> bug.  In this case, there's a good chance that there is not a bug in our
> code
>> but rather the way an external device has implemented a protocol
>> (ActiveSync).
>>
>> michael
>>
>> ___________________________________
>> Michael Slusarz [slusarz at horde.org]
>
> Dear Michael,
> thank you for your response, I *think* there is a BUG or maybe possible
> optimization possibility in horde..
>
> First of all, I'm using horde from GIT master, so last version possible.
> We are using dovecot as our mail-backend with some little optimized
> parameters (it's more the basic installation..).
> We are connecting to the test servers with a normal xDSL connection, so
> there is some delay on transmission.
>
> In small accounts, let's say a couple of folders and maybe 100 messages
> there is just a little spike, maybe some milliseconds long;
> but, in heavy accounts, I am speaking about 150 folders and 25k messages in
> it, there is introduced a very big delay + CPU spike for some seconds (~2-6
> sec) on every message change (new message coming in, mark as read, move from
> one folder to another..
>
> How do you handle this changes in code? Could it be possible you are looping
> thru all the folders every time something is changing on one message?

No.  In fact, we loop through the mailbox list once per session.

Almost sounds like you are using non-sequence sort, and the IMAP  
server does not support the SORT capability.  In that case, every  
mailbox change requires the *client* to download the header of every  
message in order to do the sorting client-side.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the horde mailing list