debugging ldap synchronisation


We are trying to synchronise Confluence 3.5.13 (linux-tomcat) with a vldap (openLdap).

our Ldap contains about 32000 users and 650 roles (groups).

When The synchronisation start. It takes more than 25 hours to finish. An exemple here where the synchroniseMembership took more than 4 hour for one group...???

2012-09-11 19:12:52,737 INFO [QuartzScheduler_Worker-10] [directory.ldap.cache.AbstractCacheRefresher] synchroniseMemberships found [ 20473 ] remote user-group memberships, [ 0 ] remote group-group memberships in [ 14164385ms ]
2012-09-11 19:13:33,127 WARN [QuartzScheduler_Worker-10] [] addUserMembershipsForGroup Could not add the following missing users to group [ PRO-WIKI-INDUS-LECTEUR ]: [HEULING-ALT, VEGAMOLINAC]
2012-09-11 19:13:33,127 INFO [QuartzScheduler_Worker-10] [] addUserMembershipsForGroup added [ 20471 ] user members to [ PRO-WIKI-INDUS-LECTEUR ] in [ 40374ms ]
2012-09-11 19:13:35,115 INFO [QuartzScheduler_Worker-10] [directory.ldap.cache.AbstractCacheRefresher] synchroniseMemberships found [ 1 ] remote user-group memberships, [ 0 ] remote group-group memberships in [ 1949ms ]

Does someone knows what classes to debug or what to look for in this situation.

thanks for help.


1 answer

1 accepted

This widget could not be displayed.

Hello Michael,

As far as I know something that would help you on this would be adding the Crowd library to the Logs, this line should be added com.atlassian.crowd under Admin > Logging & Profiling.

However I'm not really sure if this will add everything you need. Someone else should give you a better response, but will give you a path at least.

Another thing to sum this up, you could break your LDAP into smaller pieces if you want, for Region, or for category or even for Tree structure.



Hi Guilherme,

sorry for being late in answering you.

Thanks for your post. I checked and mark this classes in debug:


It helped me a lot in finding a clue, not the solution but some clues.

one is that the virtual ldap server was really bad with his own caches. So it's better now.

thanks again.


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Published Tuesday in Confluence

Add-on evaluation with confluence templates

Atlassian market place contains number of Apps/Addons which improves the capability of out of the box Atlassian products. It is good to follow a plugin evaluation process before install add-ons. So t...

137 views 12 6
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you