Applies to: Centrify DirectControl 5.x and above
Question:
The first time adclient starts up as part of running adjoin, it seems to take an inordinate amount of time to start.
While it is reporting that it is initializing caches, dots are repeatedly echoed to stdout and several minutes later it gives the error:
Exception during cache load RecvWait out
..and the adjoin command returns. An alternate session on the host being used to check what is happening with adinfo, etc. indicates all is fine.
This test was repeated several times with several different systems and it seems to happen consistently. Subsequent startups of adclient seem to work.
Is there any reason for this?
Answer:
Starting from Centrify DirectControl 5.x, the agent pre-populates the cache (including all the roles and rights) and this can take time depending on how many zones, users, groups there are. Customers can quicken the adjoin process by using the 'i' flag (-i, --noinit Do not preload the cache) which will skip the pre-load of the cache.
This will not affect normal functionality in any way apart from after adclient starts up - any kind of query is going to be very slow as there is no initial cache present - particularly in large environments.