Resource throttling for searches
If you add more than 50 mailboxes to a search, you encounter a
slight problem in that Exchange cannot display keyword statistics for
the search simply because the search is likely to impose a large
overhead on servers to gather the keywords when information from more
than 50 mailboxes is reviewed. The error message EAC displays (Figure 16)
is a little misleading because you might assume that Exchange is
limited in terms of the number of mailboxes that search supports. You
can still perform an estimate of a search, review search results,
retrieve information, and store it in a search mailbox, even if you
lack one of the very useful tools available in Exchange to assess
search effectiveness.
The
resources any Exchange process can consume are constrained by
throttling policies. You can amend the policy to increase the number of
resources available to searches. First, to see the categories of search
resources the default throttling policy governs, run the
Get-ThrottlingPolicy command:
Get-ThrottlingPolicy | Format-List *Discovery*
The following list describes the meanings of the settings that govern searching:
DiscoveryMaxConcurrency The maximum number of searches a single user can perform concurrently
DiscoveryMaxMailboxes The maximum number of mailboxes that can be searched for estimate purposes (for which you can see statistics for keywords)
DiscoveryMaxKeywords The maximum number of keywords that can be specified in the query used for an eDiscovery search
DiscoveryMaxMailboxResultsOnly The maximum number of mailboxes from which a search can copy results to a discovery mailbox
DiscoveryPreviewSearchResultsPageSize The maximum number of results that can be shown on a single page in a search preview
DiscoveryMaxKeywordsPerPage The maximum number of keywords that EAC can display on a page when viewing search statistics
The
issue that you run into with mailboxes is controlled by the
DiscoveryMaxMailboxes setting. By increasing this value from 50 to 120
or more (the current search covers 119 mailboxes), you won’t see the
error condition afterward. However, the default global throttling
policy provided with Exchange 2013, which applies to all users unless a
specific throttling policy has been assigned to them, is read-only.
Therefore, you must create a new throttling policy and set increased
values in it and then assign that policy to the users who will run
eDiscovery searches from EAC or EMS. Any value that is not set will be
inherited from the global throttling policy.
To create a new
throttling policy, run the New-ThrottlingPolicy command and set the
scope for the new policy to Regular so it can be applied to user
mailboxes:
New-ThrottlingPolicy –Name 'Discovery Throttling Policy' –ThrottlingPolicyScope Regular
Next, update whatever settings you need to increase:
Set-ThrottlingPolicy –Identity 'Discovery Throttling Policy' –DiscoveryMaxMailboxes 150 –DiscoveryMaxKeyWords 1000
Finally,
assign the new policy to the users who need to run eDiscovery searches.
Typically, these are the members of the Discovery Management role group.
Set-Mailbox –Identity 'Tony Redmond' –ThrottlingPolicy 'Discovery Throttling Policy'
Increasing
the values for resources assigned through throttling policies should be
done only when absolutely required. You do not want to order an
eDiscovery search that absorbs so many system resources on a server
that it cannot adequately respond to user requests.