Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

sysctl.conf

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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content