5

I am noticing that the Tridion Content Manager Search Host is consistently running at higher than expected CPU and Memory.

My understanding is that Tridion Content Manager Search Host is just a Tomcat instance hosting SOLR, so why would it require so much CPU and memory?

Looking in %TRIDION_HOME%\Search\solr-data\tridion\index the data files inside are constantly churning, changing name and size

enter image description here

1
  • "the data files inside are constantly churning, changing name and size" - I am sure this is default SOLR behaviour as I have seen it stand alone SOLR setup. There may be huge cpu and memory consumption in case you have a huge amount of content getting updated via multiple authors - Is it the case with your env? Commented Oct 26, 2016 at 10:26

2 Answers 2

7

The culprit was Sync-TcmSearchIndex. It was scheduled to run every evening.

This was resulting in a huge Search Queue (items or be indexed) and an ever churning search index

enter image description here

Sync-TcmSearchIndex is now disabled, and will only be ran as required e.g. out of date search index due to environment sync

To remove items from the queue, you can run Remove-TcmQueueMessages followed by the corresponding queue name:

PublishQueue

Purge publish queue messages.

DeployQueue

Purge content deployment messages.

SearchQueue

Purge search queue messages.

WorkflowAgentQueue

Purge workflow queue messages.

BatchQueue

Purge batch queue messages.

1

You can approach Reindexing Search Queue in another manner. As following documentation states, you can execute reindex PER Publication.

That being said, you can schedule every publication separately at certain intervals to decrease total number of messages. The number of process items will still be the same, only difference is that it will be evenly spread at certain period of time.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.