ldap query speed


we have a working 5.9.5 Nuxeo platform connected to Active Directory. Everyhting is fine, but the first connection to Nuxeo is slow (20 seconds, sometimes more), due to the fact that Nuxeo need to populate its ldap cache information. I guess this is due to the size of the Active Directory, We have ~ 10000 users inside.

Is there a way to lower this ldap cache popluation? I tried to change querySizeLimit, cacheMaxSize but it doesn't seems to have significant change.


Nicolas Zin

0 votes

1 answers



We have the same case here with LDAP, about 50K users and several thousands groups. The worst case is group computation when you access a user profile. The solution was not found through Nuxeo configuration but with a local slave LDAP server

Forgot to mention that Nuxeo binds to the slave LDAP server with a manager account so that ACLs are not computed. Don't know if that applies to AD.


There is a way to control this cache size, but there are things you may want to check:

  • is the cache filled with a lot of entries? (in which case it would be interesting to understand what triggers the loading of all these entries)
  • bad network access to the LDAP server (that would explain why once entry is in cache, the latency is not visible anymore)
0 votes