Freigeben über


How to throttle a BCS crawl

Throttling a BCS crawl is done the same way as other SharePoint crawls, using crawler impact rules.

The main trick is figure out what site name to use.  The most precise way is to use a combination of the LobSystem name and the LobSystemInstance name.  In my case it was "recipeslob_recipesinst" :

image

 

An alternative is to use the LobSystem name with a wildcard (e.g. recipeslob_*).

Now we can set our rule (click on “Crawler Impact Rules” in the Crawling group of the Search Service Application management in Central Admin:

image

From there click “Add Rule” and fill it in:

image

 

To see that it is working, watch the Search Gatherer - SharePointServerSearch / Threads Accessing Network prefmon counter.  In this screen shot you can see during the crawl only one thread accessing the network.  Also observer that the requests in my console output are going in a nice neat linear order:

image

Now I’ll change the rule to 4 and run again:

image

 

Notice that now there are four threads accessing the network and that the requests are coming in bunches.

Comments

  • Anonymous
    March 21, 2014
    Yes, great tip !
  • Anonymous
    January 25, 2016
    Matt, is there anything else that needs to occur to for the rule to take effect? I tried unsuccessfully throttling a custom connector built on the SIT framework.