Enterprise Vault Usage Analyzer failing with timeout error while querying the users from Active Directory.
Problem
Enterprise Vault Usage Analyzer fails with a timeout error while querying the users from Active Directory using LDAP query.
Error Message
In the event logs we see below, events are logged:
Event ID: 1018 Enterprise Vault Usage Analyzer report generation has failed with error(s):|Error #1: System.AggregateException: One or more errors occurred.|Error #2: System.DirectoryServices.DirectoryServicesCOMException: There is no such object on the server.|
In Dtrace we see the error below:
4957 16:42:30.446 [29648] (EVUsageAnalyzerService) <14880> EV-H {AD.GetLDAPQuerywAttributes} Exception: This operation returned because the timeout period expired.| Info: Diag:HRESULT: 800705b4 Type:System.Runtime.InteropServices.COMException ST: at System.DirectoryServices.SearchResultCollection.ResultsEnumerator.MoveNext()| at System.DirectoryServices.SearchResultCollection.get_InnerList()| at System.DirectoryServices.SearchResultCollection.get_Count()| at UsageAnalyzer.Usage.AD.GetLDAPQuerywAttributes(String LDAPFilter, String[] searchProperties, String domainName) Inner:None
Cause
By default, the Enterprise Vault Usage Analyzer runs with 20 threads. However, if Active Directory or Domain controller can not handle many LDAP requests, then it timesout.
Solution
Reduce the Enterprise Vault Usage Analyzer thread count. Contact Technical support to seek help on reducing the number of threads of EV Usage Analyzer.