cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: GC Storm
Date Sun, 13 Jun 2010 03:27:09 GMT
On Sat, Jun 12, 2010 at 7:46 PM, Anty <> wrote:
> Hi:ALL
> I have 10 nodes cluster ,after inserting many records into the cluster, i
> compact each node by nodetool compact.

5000 uncompacted sstables is unusual.  did you disable compaction
during your inserts?  that is dangerous.

> during the compaciton process ,something  wrong with one of the 10 nodes ,
> when the size of the compacted temp file rech nearly 100GB( before
> compaction ,the size is ~240G)

sounds like it just didn't have enough memory to compact 5000 sstables
at once.  not very surprising.

a better approach: let it perform minor compactions normally, and when
it is done with that (no compaction in progress and
compactionmanager.pendingtasks == 0), then issue the major compaction
if you still want to.

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message