How to increase solr resources with maximumPoolSize and maxConnectionsPerHost
search cancel

How to increase solr resources with maximumPoolSize and maxConnectionsPerHost

book

Article ID: 291635

calendar_today

Updated On:

Products

Carbon Black EDR (formerly Cb Response)

Issue/Introduction

To increase resources for solr in order to get increased performance.

Environment

  • EDR Server: 7.8.0 - 7.9.0

Resolution

  1. On Primary and all Secondary nodes, edit /etc/cb/solr6/core_conf/solr.xml
  2. Change the line: 
<int name="maximumPoolSize">256</int> 
to... 
<int name="maximumPoolSize">512</int>
  1. And also change the line:
<int name="maxConnectionsPerHost">128</int> 
to 
<int name="maxConnectionsPerHost">256</int>
  1. Restart the cluster.

Additional Information

  • Care should be taken when adjusting these settings to not overwhelm the server(s)
  • Other values can be used, and testing should be done to find the values for the deployment.