Help Center/ MapReduce Service/ Component Operation Guide (LTS) (Ankara Region)/ Using Solr/ Common Issues About Solr/ What Can I Do If the CPU Usage Exceeds the Threshold Due to a Large Amount of Data Written to Solr?
Updated on 2024-11-29 GMT+08:00

What Can I Do If the CPU Usage Exceeds the Threshold Due to a Large Amount of Data Written to Solr?

Question

After multiple clients write a large amount of data to different collections in a Solr cluster simultaneously, multiple nodes in the cluster report alarms indicating that the CPU usage exceeds the upper threshold.

Answer

  • Symptom
    1. Multiple clients write a large amount of data to different collections in a Solr cluster simultaneously.
    2. After a period of time, multiple nodes in the cluster report alarms indicating that the CPU usage exceeds the upper threshold.
  • Cause

    The large amount of data written to collections occupies many CPU resources. As a result, the CPU usage may exceed the upper threshold, and corresponding alarms are reported.

  • Solution

    Reduce the number of concurrent threads or the number of clients that write data. You can also configure the static service pool of FusionInsight to use CPU resources with different quotas on nodes.