incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <rc...@eventbrite.com>
Subject Re: Cassandra HANGS after some writes
Date Wed, 14 Aug 2013 17:13:27 GMT
On Tue, Aug 13, 2013 at 10:39 PM, Naresh Yadav <nyadav.ait@gmail.com> wrote:

> I made one single change in default cassandra.yaml, just to experiment.
>
> native_transport_min_threads: *1*
> native_transport_max_threads: *1*
>
> with max one single thread for native protocol requests i noticed some
> improvement, earlier with default yaml most of time it was failing after *
> 10K* combinations BUT with this it worked storing *30K* combinations out
> of 1lakh..
>

Most of the time, when your node "fails", it is because Java Garbage
Collection is failing. This is usually because you are writing faster than
you can flush to disk and also collect the garbage. Usually people inspect
the GC logs and/or use something like jconsole to inspect the JMX interface
of the JVM and the Cassandra metrics exposed there.

=Rob

Mime
View raw message