SharePoint 2013 – Crawling Hanged to Stopping

My SharePoint site was extremely slow, receiving timeout errors and all the queries were taking alot of time so the reason was my crawling status was hanged for 2 days on “Stopping”, I tried to investigate and then had to run below script to reset its status to “Idle” and then every thing was fine.


Get-SPEnterpriseSearchCrawlContentSource -SearchApplication “Search Service Application 1” | ForEach-Object {

     if ($_.CrawlStatus -ne “Idle”)
         Write-Host “Stopping currently running crawl for content source $($_.Name)…”
         do { Start-Sleep -Seconds 1 }
         while ($_.CrawlStatus -ne “Idle”)

After the crawl state becomes “Idle” then reconfigure the incremental and full crawl and monitor constantly.

Monitoring is the best tool for a SharePoint Administrator.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.