git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [EXTERNAL] optimization to cassandra-env.sh


This is a very good explanation of CMS tuning for Cassandra:

http://thelastpickle.com/blog/2018/04/11/gc-tuning.html

(author Jon Haddad has extensive Cassandra experience – a super star in our field)

 

Sean Durity

From: Durity, Sean R <SEAN_R_DURITY@xxxxxxxxxxxxx>
Sent: Thursday, July 26, 2018 2:08 PM
To: user@xxxxxxxxxxxxxxxxxxxx
Subject: RE: [EXTERNAL] optimization to cassandra-env.sh

 

Check the archives for CMS or G1 (whichever garbage collector you are using). There has been significant and good advice on both. In general, though, G1 has one basic number to set and does very well in our use cases. CMS has lots of black art/science tuning and configuration, but you can test options on a “canary” node and tweak until it runs well.

 

If you need more help after looking back in the archives, we would need the Cassandra version, JVM type and version, jvm.options (or cassandra-env.sh) and what kinds of errors/gc you are seeing (GC logs can be helpful).

 

 

Sean Durity

From: R1 J1 <rjsoft100@xxxxxxxxx>
Sent: Thursday, July 26, 2018 1:28 PM
To: user@xxxxxxxxxxxxxxxxxxxx
Subject: [EXTERNAL] optimization to cassandra-env.sh

 

Any one has tried to optimize or change cassandra-env.sh in an server installation to make it use more heap size for garbage collection ?

Any ideas ? We are having some oom issues and thinking if we have options other than increasing RAM for that node.

 

Regards

 

 



The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.




The information in this Internet Email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this Email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. When addressed to our clients any opinions or advice contained in this Email are subject to the terms and conditions expressed in any applicable governing The Home Depot terms of business or client engagement letter. The Home Depot disclaims all responsibility and liability for the accuracy and content of this attachment and for any damages or losses arising from any inaccuracies, errors, viruses, e.g., worms, trojan horses, etc., or other items of a destructive nature, which may be contained in this attachment and shall not be liable for direct, indirect, consequential or special damages in connection with this e-mail message or its attachment.


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-cassandra-users/msg06604.html on line 138
Call Stack
#TimeMemoryFunctionLocation
10.0007372792{main}( ).../msg06604.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-cassandra-users/msg06604.html on line 138
Call Stack
#TimeMemoryFunctionLocation
10.0007372792{main}( ).../msg06604.html:0