Documentum Session Creation Slowness Issue

We have one custom DFC based application. We have created session using DFC. Now once there are 15-20 concurrent users trying to access this application session creating taking lots of time. Also once out action is completed we are immediately releasing the session.
We have used below code spinet to create the session

IDfSession dfSession = null;
try {
LOGGER.info("Creating repository session for user: " + techUserName);
IDfClientX clientx = new DfClientX();
IDfClient client = clientx.getLocalClient();
IDfLoginInfo loginInfo = clientx.getLoginInfo();
loginInfo.setUser(techUserName);
String decryptedPasswd = RegistryPasswordUtils.decrypt(techUserPasscode);
loginInfo.setPassword(decryptedPasswd);
IDfSessionManager sessionManager = client.newSessionManager();
sessionManager.setIdentity(repoName, loginInfo);
dfSession = sessionManager.getSession(repoName);
} catch (DfException e) {
LOGGER.log(Level.SEVERE, "Error in createSession method", e);
throw new ServiceRuntimeException(e);
}
return dfSession;

Any idea how we can increase the speed?
Do we have to do any kind of tuning? If yes in which area?

@Documentumguru
@DFC @dfc @dfc_6.7

Comments

  • Hi,
    try newSession(repoName) instead.
    Check on Content Server side count of session logs (run dm_LogPurge if needed).
    Check count of Audit records in docbase (run dm_AuditMgt job if needed).

    MEOW

  • Ok will check and let you know