I followed the recommendations at 
http://www.datastax.com/documentation/cassandra/2.0/webhelp/index.html#cassandra/install/installRecommendSettings.html
 and did:

$ sudo swapoff -all

on each of the cassandra servers in my test cluster.

I noticed, though, that sometimes the cassandra server and other processes on 
one of the nodes suddenly crashed, with no messages indicating why.

It turns out that on that node there wasn't much memory, and I was running 
other processes, so when the OS detected that there was insufficient memory for 
an operation, it unceremoniously killed some processes.  Doing "sudo swapo -a" 
fixed the problem.  This happened on both CentOs 6.2 and CentOS 6.4.

So, if you do "sudo swapoff -all" make sure you're not going to run out of 
memory!

Donald A. Smith | Senior Software Engineer
P: 425.201.3900 x 3866
C: (206) 819-5965
F: (646) 443-2333
dona...@audiencescience.com<mailto:dona...@audiencescience.com>

[AudienceScience]

<<inline: image001.jpg>>

Reply via email to