Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

igor.rmarinho_185445 avatar image
igor.rmarinho_185445 asked ·

How do I configure the heap size on Search nodes as recommended by OpsCenter BP service?

Hello,

I'm trying to implement some of the best practices suggest by OpsCenter, but I cannot find where to change the values and is not described on DataStax documentation.

Search nodes have improper heap sizeChecks to see if a Solr node has enough heap space.MediumNodeDailyAlert
For optimizing memory use for DSE search with Solr, the heap should be set to at least 14GB. Set the Solr node max heap to at least 14GB.

Where I can find this options ?

Thank you!

dseopscenterbest practices
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

@igor.rmarinho_185445 To set the maximum heap size on nodes, set both the -Xms and -Xmx flags in jvm.options (jvm-server.options in DSE 6.8.0):

-Xms31GB
-Xmx31GB

Hint: Search for the section "HEAP SETTINGS" in the file. See the Recommended Production Settings page for additional background information.

The recommended minimum heap size for DSE Search nodes in production is 24GB. See Capacity planning for DSE Search for more information. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks Erick!

0 Likes 0 · ·