cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Cassandra Wiki] Update of "FAQ" by mriou
Date Fri, 24 Oct 2014 22:12:23 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for change notification.

The "FAQ" page has been changed by mriou:

Added recommended steps when running into bootstrapping issues during streaming.

   * [[#memlock|Cassandra dies with "java.lang.OutOfMemoryError: Map failed"]]
   * [[#opp|Why should I avoid order-preserving partitioners?]]
   * [[#clocktie|What happens if two updates are made with the same timestamp?]]
+  * [[#bootstreamfail|Why bootstrapping a new node fails with a "Stream failed" error?]]
@@ -450, +451 @@

+ <<Anchor(bootstreamfail)>>
+ == Why bootstrapping a new node fails with a "Stream failed" error? ==
+ Two main possibilities:
+   1. the GC may be creating long pauses disrupting the streaming process
+   2. compactions happening in the background hold streaming long enough that the TCP connection
+ In the first case, regular GC tuning advices apply. In the second case, you need to set
TCP keepalive to a lower value (default is very high on Linux). Try to just run the following:
+ $ sudo /sbin/sysctl -w net.ipv4.tcp_keepalive_time=60 net.ipv4.tcp_keepalive_intvl=60 net.ipv4.tcp_keepalive_probes=5
+ To make those settings permanent, add them to your /etc/sysctl.conf file.
+ Note: GCE's firewall will always interrupt TCP connections that are inactive for more than
10 min. Running the above command is highly recommended in that environment.
+ See [Partitioners].

View raw message