Hi,
We recently had a OOME on multiple nodes of our application (5 tomcat nodes connecting to 9 C2 nodes),
and heap dump shows that more than 50% of heap is associated with a single Netty object instance.
Our C2 cluster was working properly, but webapp instances failure happened in the same time frame +/- few hours.
Current driver version : 2.1.6 (updated previously from 2.1.5).
Screenshot of Eclipse MAT :
--
Olivier Michallat
Driver & tools engineer, DataStax
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
Cluster.Builder builder = Cluster.builder();
builder.getConfiguration().getProtocolOptions().setCompression(ProtocolOptions.Compression.LZ4);
builder.withProtocolVersion(ProtocolVersion.V3);
builder.getSocketOptions().setReadTimeoutMillis(25000);
builder.getPoolingOptions().setPoolTimeoutMillis(25000);
builder.getPoolingOptions().setMaxSimultaneousRequestsPerHostThreshold(HostDistance.LOCAL, 2048);
builder.withReconnectionPolicy(new ConstantReconnectionPolicy(25000));
builder.withRetryPolicy(new LoggingRetryPolicy(AlwaysIgnoreRetryPolicy.INSTANCE));
builder.withLoadBalancingPolicy(new TokenAwarePolicy(new DCAwareRoundRobinPolicy(), true);
--
Olivier Michallat
Driver & tools engineer, DataStax
We are having the same problem
--
Olivier Michallat
Driver & tools engineer, DataStax