cancel
Showing results for 
Search instead for 
Did you mean: 

ldap query speed

nicolas_1
Champ in-the-making
Champ in-the-making

Hi,

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.

Regards,

Nicolas Zin

3 REPLIES 3

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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

pibou_Bouvret
Elite Collaborator
Elite Collaborator

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.

Anahide_Tchertc
Elite Collaborator
Elite Collaborator

Hi,

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)