Incremental Crawling is in hung mode or crawls infinitely


Many a times, I have come across concerns that incremental crawl is crawling for a long time or it is crawling infinitely or it is in hung mode.


They would have stopped and restarted the Osearch but still the same behavior.


Here is one of the steps which can help us to come out of the situation.


On the SharePoint server, open the command prompt and go the bin location


Use stsadm -o sync -listolddatabases <days>










listolddatabases


A valid number of days, such as "2"


 


Lists content databases that have not been synchronized since n days. The presumption is that they have been deleted or moved.


If the command returns the list of databases that means that those databases have not been synchronized.


Now use stsadm -o sync -deleteolddatabases <days>










deleteolddatabases


A valid number of days


 


Performs the same operation as the listolddatabases parameter, except it deletes old records corresponding to these databases. It does not delete the databases themselves.


Restart the incremental crawl and check the behavior.


 


Comments (0)

Skip to main content