October 2018
Beginner to intermediate
348 pages
10h
English
The following adjustments to /etc/sysctl.conf are recommended. For starters, the default kernel value on max map counts will be too low, so adjust that to the following value:
vm.max_map_count = 1048575
If any of your firewalls or other network devices are configured to terminate long-lived, idle connections, you should adjust the TCP keepalive settings. These keep connections between nodes, data centers, and client apps from being forcibly disconnected:
net.ipv4.tcp_keepalive_time=60net.ipv4.tcp_keepalive_probes=3net.ipv4.tcp_keepalive_intvl=10
Additionally, adjusting the following settings allows the instance to be better equipped to handle the multitude of concurrent connections required by Cassandra (DataStax, 2018):
net.core.rmem_max=16777216 ...