Symptom:
When using most of the DMS API calls, the Policy Server verifies that the user performing the operations is an administrator of the specified directory. The Policy Server does this by retrieving all the domains and their associated user directories. The problem arises when multiple threads try to verify the administrators at the same time. The contention for the locks on the cache slows the operation considerably.
Solution:
The solution to this problem was to add alternative methods that do no verify the administrator for each directory. The administrator is verified only once at login. The alternative methods do not fetch all the domains and user directories. The alternative methods were implemented by adding the NoAdminCheck suffix to the parallel method. For example, getDmsContext/getDmsContextNoAdminCheck.
STAR Issue: 19755226;1
| Copyright © 2011 CA. All rights reserved. | Email CA Technologies about this topic |