Re: Advice on memory warning

2013-04-25 Thread aaron morton
There have been a lot of discussions about GC tuning on the mail thread. Here's a really quick set of guidelines I use, please search the mail archive if it does not answer your question. If heavy GC activity correlates with cassandra compaction, do one or more of: * reduce concurrent_compactio

Re: Advice on memory warning

2013-04-24 Thread Michael Theroux
Hello, Just to wrap up on my part of this thread, tuning CMS compaction threshold (-XX:CMSInitiatingOccupancyFraction) to 70 appears to resolved my issues with the memory warnings. However, I don't believe this would be a solution to all the issues mentioned below. Although, it does make sens

Re: Advice on memory warning

2013-04-23 Thread Haithem Jarraya
We are facing similar issue, and we are not able to have the ring stable. We are using C*1.2.3 on Centos6, 32GB - RAM, 8GB-heap, 6 Nodes. The total data ~ 84gb (which is relatively small for C* to handle, with a RF of 3). Our application is heavy read, we see the GC complaints in all nodes, I cop

Re: Advice on memory warning

2013-04-23 Thread Ralph Goers
We are using DSE, which I believe is also 1.1.9. We have basically had a non-usable cluster for months due to this error. In our case, once it starts doing this it starts flushing sstables to disk and eventually fills up the disk to the point where it can't compact. If we catch it soon enough

Re: Advice on memory warning

2013-04-22 Thread Alain RODRIGUEZ
I would have said the exact opposite, but I am not really sure. I have configured the threshold to 80% of the heap since I have 8GB heap. I think the purpose of this threshold is to keep a security margin to avoid OOMing. C* can be configured with 1GB heap so the margin is about 250MB. On a 8GB he

Re: Advice on memory warning

2013-04-21 Thread Derek Williams
The CMS compaction threshold is usually set to 75% as well, it might help to set it lower to 70% to see if that resolves these warnings as Cassandra will start CMS GC before it hits the 75% warning. There is also a setting to lower the max amount of memory used for compacting each row. This may ca

RE: Advice on memory warning

2013-04-21 Thread moshe.kranc
My experience (running C* 1.2.2): 1. I also observe that this occurs during compaction. 2. I have never yet seen a node recover from this state. Once it starts complaining about heap, it starts a death spiral, i.e., futile attempts to fix the situation. Eventually the node starts running GC fo