[horde] High load with enabled activesync - Horde 5.1.2

Sascha Schmidt sascha at schmidt.ps
Tue Sep 10 10:54:01 UTC 2013


  Zitat von Arjen de Korte <arjen+horde at de-korte.org>:

> What is the value of $conf[activesync][ping][waitinterval]? Looking at
> the above log, it looks like it is not set. This could be the reason why
> it is now continuously looking for changes. That's definitly not what
> you want. Try setting it to something like 60 seconds or so.


After changing the configuration values to:
conf['activesync']['enabled'] = true;
$conf['activesync']['emailsync'] = true;
$conf['activesync']['version'] = '14.1';
$conf['activesync']['logging']['path'] = '/var/log/horde';
$conf['activesync']['logging']['type'] = 'custom';
$conf['activesync']['ping']['forcedheartbeat'] = 60;
$conf['activesync']['ping']['deviceping'] = false;
$conf['activesync']['ping']['waitinterval'] = 60;

The behaviour has changed. Now I've got pings/updates/polls every 10
seconds. But 10 seconds is not what I've configured.

2013-09-10T12:48:50+02:00 INFO: [25403] Fetching changes for tasks using
MODSEQ.
2013-09-10T12:48:50+02:00 INFO: [25403] Found 0 message changes in @Tasks at .
2013-09-10T12:48:50+02:00 INFO: [25403] Initializing state for collection:
INBOX.0-SPAM.Spamverdacht, synckey:
{522ef898-d424-479d-aa4b-31b1c0a80204}11
2013-09-10T12:48:50+02:00 INFO: [25403] Loading state for synckey
{522ef898-d424-479d-aa4b-31b1c0a80204}11
2013-09-10T12:48:50+02:00 INFO: [25403] Found 1 changes remaining from
previous SYNC.
2013-09-10T12:48:50+02:00 NOTICE: [25403] Skipping 086b0452 because it is
not PINGable.
2013-09-10T12:48:50+02:00 INFO: [25403] Initializing state for collection:
INBOX.Sent, synckey: {522ef8a6-1be8-4940-94a3-31b1c0a80204}5
2013-09-10T12:48:50+02:00 INFO: [25403] Loading state for synckey
{522ef8a6-1be8-4940-94a3-31b1c0a80204}5
2013-09-10T12:48:50+02:00 NOTICE: [25403] Skipping e7b4d8c7 because it is
not PINGable.
2013-09-10T12:48:50+02:00 INFO: [25403] Sleeping for 10 seconds.

A "waitinterval" of 60 would be much better. But only 10 seconds seem the
be accepted.. I've configured the version to 14.1 to get the "notes" sync
feature, too.

Greets
Sascha


More information about the horde mailing list