[horde] Horde performance with ActiveSync?

Michael J Rubinsky mrubinsk at horde.org
Tue Apr 10 17:05:44 UTC 2018


Quoting Sebastian Arcus <s.arcus at open-t.co.uk>:

> On 10/04/18 15:41, Arjen de Korte wrote:
>> Citeren Sebastian Arcus <s.arcus at open-t.co.uk>:
>>
>>> I have a Horde 5.2.17 + PHP 5.6.35 + Postgresql 9.2 + Lighttpd  
>>> 1.4.49 with 10 iPhones/iPads in ActiveSync/Exchange mode. The  
>>> users have fairly large Inboxes - some of them of 20 000+ emails.  
>>> On IMAP that is not causing any issues, and hardly any load on the  
>>> server.
>>
>> Which IMAP server do you use? Is it local to the webserver?
>
> Thank you for replying. I use Dovecot which runs on the same server as Horde.


Assuming the load you are seeing is still present after the devices'  
initial sync, that kind of load makes me think there might be some  
sync loop going on. Are the devices acting as expected? It might help  
to enable the activesync logging to see what is going on with the  
devices. Just actively listening for changes should be minimal load.  
Even with lots of mail being pushed and/or server intensive  
activities, like searching all email boxes only rarely bumps cpu usage  
over 10% for me. Like Arjen suggested though, make sure you have  
things like MODSEQ/QRSYNC enabled on your IMAP server. If you are  
using a default dovecot install, you probably already do, but it might  
be worth checking just in case.

Also, some older iOS versions (thinking around iOS 7 or so if IIRC)  
had some major issues with ActiveSync, this is going back quite a  
while, but thought I'd mention it just in case.


>>
>>> It is the first setup I am doing with more than 1-2 devices in  
>>> Exchange mode, and I am trying to get a sense of what performance  
>>> is 'normal' or expected.
>>
>> The load should be negliable for just two devices. What are the  
>> $conf[activesync] settings from horde/config/conf.php?
>
> Two devices is what I run on the other Horde setups I have. This one  
> has 10 iPhones/iPads.
>
> Here are the ActiveSync settings:
>
> $conf['activesync']['params']['driverconfig'] = 'horde';
> $conf['activesync']['storage'] = 'Sql';
> $conf['activesync']['emailsync'] = true;
> $conf['activesync']['version'] = '14.1';
> $conf['activesync']['auth']['type'] = 'basic';
> $conf['activesync']['autodiscovery'] = 'full';
> $conf['activesync']['outlookdiscovery'] = false;
> $conf['activesync']['logging']['type'] = false;
> $conf['activesync']['ping']['heartbeatmin'] = 60;
> $conf['activesync']['ping']['heartbeatmax'] = 2700;
> $conf['activesync']['ping']['heartbeatdefault'] = 480;
> $conf['activesync']['ping']['deviceping'] = true;
> $conf['activesync']['ping']['waitinterval'] = 15;
> $conf['activesync']['enabled'] = true;
>
>
>>
>>> The server is only an Intel Core2 4400, with not too much other  
>>> load on it, but since configuring Horde with ActiveSync it is  
>>> spending almost all the time with 2-3 php-cgi processes, each with  
>>> 30%-50% cpu core load. There is virtually no access through the  
>>> Horde web interface, so it seems to me that these php-cgi  
>>> processes are serving exclusively ActiveSync sessions.
>>
>> Each device connected through ActiveSync will have its own process  
>> on the server for as long as the device is connected. But the load  
>> of these processes should be minimal.
>>
>>> I know it can be a vague question, or at least one with a complex  
>>> answer, but would anybody with experience in running Horde with  
>>> ActiveSync say that the above load sounds about right? I have  
>>> implemented as many of the Horde tuning tips I could implement so  
>>> far - and I am happy to look into tweaking things further. But if  
>>> ActiveSync with Horde is just heavy on the cpu anyway, I will just  
>>> look into upgrading the hardware.
>>>
>>> Any advice gratefully appreciated.
>>
>> See also https://wiki.horde.org/activesync for recommendations on  
>> what extensions for your IMAP server you should be looking for.
>>
>>
> -- 
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org



-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 9272 bytes
Desc: PGP Public Key
URL: <https://lists.horde.org/archives/horde/attachments/20180410/5e4369b3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 821 bytes
Desc: PGP Digital Signature
URL: <https://lists.horde.org/archives/horde/attachments/20180410/5e4369b3/attachment-0003.bin>


More information about the horde mailing list