If you see, there were number of All time blocking under Native-Transport-Request in tpstats.
Two thing need to be adjusted.
max_queued_native_transport_requests=1024
which can be set in cassandra-env.sh file by adding line.
-Dcassandra.max_queued_native_transport_requests=1024
And in cassandra.yaml
native_transport_max_threads: 128
use command to see the changes.
watch -d nodetool tpstats
and
netstat -tupawn | grep 9042 | grep ESTABLISHED | wc -l
***
No comments:
Post a Comment