As the number of users and processes in our system increases, we find that the identity cache refresh took longer to complete, affecting our K2 server performance.
May I know if we can configure the identity cache refresh schedule? In particular, are we able to set the refresh to run only after office hours or set the frequency of the update.
This can be done by tweaking the cache timeout values in the identity table. You will also need to set the expiry date of all the identity entries. See the following documentation for more information: http://help.k2.com/onlinehelp/k2blackpearl/icg/4.6.1/webframe.html#Tweaking_identity_cache_performance_for_the_K2_Server.html
However, note that it is not recommended to force refresh the cache at specific timings. Firstly, as all users are refreshed at the same time at e.g. 7am, the high load will put a considerable strain on your AD server. Additionally, not all users may be refreshed at exactly e.g. 7am, so subsequently after every 12 hrs, the timings will likely to differ. Lastly if a new user is added, it will only be reflected after 12 hrs when the cache is refreshed.