Maximum number of concurrent GAL sync requests

Maximum number of concurrent GAL sync requests

   KB 21728        Last updated on 07/12/2015  




0.00
(0 votes)


Purpose

Since ZCS 7.x, we have added throttling on the number of GAL sync clients the server handles. It can also be applied per domain level. When the number of GAL sync clients exceeds the configured maximum on zimbraGalSyncMaxConcurrentClients, then the server returns "no change" and the client (ZCO) will again request the update on the next attempt (depending on the sync schedule). Example shown on /opt/zimbra/log/mailbox.log:

concurrency - limit reached, turning away <client@domain.com> (zmsoap), busy sync clients

The default value of zimbraGalSyncMaxConcurrentClients is 2. Sometimes this can be an issue if you have several ZCO clients trying to sync the GAL during the same period. This has been observed in some busy environments, as ZCO clients will be unable or will take a long time to sync the GAL. This can be caused by a combination of:

  • A considerable number of ZCO clients trying to sync the GAL for the first time (new installations)
  • Network issues (sync latency is high)
  • A large GAL

Resolution

The value of zimbraGalSyncMaxConcurrentClients can be set to 0 (disable throttling) or it can be changed to a bigger value.

In ZCS 8.x or later please run:

zmprov mcf zimbraGalSyncMaxConcurrentClients 0 

Or for example, change it a maximum of 10:

zmprov mcf zimbraGalSyncMaxConcurrentClients 10

There is no need to restart mailboxd.

This throttle mechanism was designed to prevent performance issues at the server level (memory exhaustion and/or increase of cpu load), so we must be careful about setting this value too high although starting with ZCS 8.x, this should be less of an issue, since we allow multiple galsync accounts per domain and per server.

Additional Content

  • Bug 52816 - (SyncGalRequests flooding the heap)
  • Bug 53822 - (Support for multiple GAL sync accounts)


Verified Against: Zimbra Collaboration 8.6, 8.5, 8.0 Date Created: 02/27/2015
Article ID: https://wiki.zimbra.com/index.php?title=Maximum_number_of_concurrent_GAL_sync_requests Date Modified: 07/12/2015



Try Zimbra

Try Zimbra Collaboration with a 60-day free trial.
Get it now »

Want to get involved?

You can contribute in the Community, Wiki, Code, or development of Zimlets.
Find out more. »

Looking for a Video?

Visit our YouTube channel to get the latest webinars, technology news, product overviews, and so much more.
Go to the YouTube channel »


Wiki/KB reviewed by Fred Phil Jenny Last edit by Jorge de la Cruz
Jump to: navigation, search