Kentico 10 - Content Staging w/ Smart Search Indexing Enabled

Dylan McDonald asked on February 22, 2017 22:15

I'm having an issue with Kentico, hotfix 10.0.10, where I stage a large chunk of content. When I disable Smart Search Indexing on both servers, the content stages as expected. Is this a performance issue? IIS configuration issue? Or something else?

The error I receive is:

The worker thread has been aborted, this might have been caused by the application restart. Please check if the action succeeded and repeat the action if not.

The event log on my server is as follows:

Image Text

Thanks,

Dylan McDonald

Recent Answers


Trevor Fayas answered on February 22, 2017 23:32

If you identified that the Smart Search is causing the lock ups, you can adjust the Scheduled Task that runs the Smart Search queue and set it to only operate every couple minutes or once an hour, etc. That helped in some cases.

Also be careful that two smart searches are not looking at the same object, that can cause locks when they both try to access the same object and freeze.

1 votesVote for this answer Mark as a Correct answer

Dylan McDonald answered on February 22, 2017 23:41

@Trevor - Thanks! I will configure the scheduled tasks and give that a try. What do you mean about the smart searches looking at the same object? I have two instances of the same site (Dev and QA), each of which have their own site/cms files and own database.

0 votesVote for this answer Mark as a Correct answer

Dylan McDonald answered on February 22, 2017 23:52

@Trevor - It appears the only two scheduled tasks related to search are shown in the screenshot below. The first one is set to execute every 4 hours and the second one is disabled.

Image Text

0 votesVote for this answer Mark as a Correct answer

Trevor Fayas answered on February 23, 2017 00:18

Okay so that looks good then for the timing.

In terms of smart searches referencing the same object, i mean if you have 2 smart searches on the same site, that both will hit a single document (example, you have a full-site scan, and another that scans a sub-section, they will both be triggered when a document in the subsection is changed). We have run into lock ups because of that situation in the past.

Anything in the Kentico Event log? Post it here and i'll try to help decipher it.

0 votesVote for this answer Mark as a Correct answer

Dylan McDonald answered on February 23, 2017 00:33

@Trevor - Nothing in the Event Log except a bunch of SYNCALLTASKS, STARTAPP, ENDAPP events.

0 votesVote for this answer Mark as a Correct answer

Dylan McDonald answered on February 23, 2017 23:30

@Trevor - I think I'm making some progress. I've tracked down a consistent error when making requests to my Dev/QA sites related to Lucene.Net.v3.dll. The Lucene dll files exist in the respective CMS/bin folders. See following screenshot:

Image Text

0 votesVote for this answer Mark as a Correct answer

Dylan McDonald answered on February 23, 2017 23:50

@Trevor - Which led me to this URL and seems to have solved my issue: Troubleshooting Smart search on Azure

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.