I installed Openfire a few days ago and hooked it up to our corporate LDAP server. All user and group details are detected find during the configuration tests.
We have 128 Group objects in our tree, but loading the “Group Summary” page in the admin console takes tens of minutes.
If I click on one of the group names once they’'ve appeared, it again takes ages (tens of minutes) to display the group details. I tried to enable Roster sharing by adding a contact list group name and clicking “Save Contact List Settings” but stopped it after 15 minutes or so of no action.
Originally the there was a problem with the cache running out of memory so I added some system properties:
cache.ldap.size = 10MB
cache.ldap.expirationTime = 10 minutes
cache.userGroup.size = 10MB
cache.userGroup.expirationTime = 10 minutes
Are these values high enough?
The debug log is now filled with:
2007.04.04 14:46:06 Created hashtable with context values, attempting to create context…
2007.04.04 14:46:06 … context created successfully, returning.
2007.04.04 14:46:12 Creating a DirContext in LdapManager.getContext()…
2007.04.04 14:46:12 Created hashtable with context values, attempting to create context…
2007.04.04 14:46:12 … context created successfully, returning.
Our LDAP is otherwise highly performant, so we don’'t think that is the cause. Any suggestions?
BTW, our groups are stored in a tree alongside the user tree (i.e. ou=Group, o=…) and we have 20,000 users so the search is probably wildly inefficient - is there any way we can point the group config at the group ou rather than the base ou?