We are seeing memory swap issues on cassandra nodes. We are running DataStax Enterprise 2.1.1. Each node with 6CPU 16GB memory.
The heap is setup as follows
MAX_HEAP_SIZE="8G"
HEAP_NEWSIZE="800M"
Here's what we are seeing on the server.. Any idea why we are seeing the swap issue and how can we resolve it
top - 09:43:06 up 36 days, 19:25, 1 user, load average: 0.00, 0.03, 0.02
Tasks: 169 total, 1 running, 168 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.2%us, 0.1%sy, 0.0%ni, 96.6%id, 3.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16435996k total, 15833124k used, 602872k free, 465808k buffers
Swap: 2068400k total, 2068356k used, 44k free, 5466128k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
4479 casadmin 23 0 268g 12g 3.9g S 0.7 78.8 5595:34 /usr/java/jre1.6.0_29/bin/java -ea -javaagent:/opt/nosql/dse-2.1.1/resources/cassandra/lib/jamm-0.2.5.jar -
21326 sr88197 15 0 12756 1180 844 R 0.7 0.0 0:00.01 top
31548 casadmin 18 0 507m 114m 9580 S 0.7 0.7 184:30.81 /usr/java/jre1.6.0_29/bin/java -Xmx40M -Xms40M -Djavax.net.ssl.trustStore=ssl/agentKeyStore -Djavax.net.ssl
