Re: OOM during batch_mutate

2011-02-08 Thread Jonathan Ellis
No, on 0.6 copying settings for a 32GB machine to a 16GB machine would also be a great way to OOM. The difference is that you had to set memtable thresholds globally in the xml file in 0.6, instead of being able to do it per-columnfamily from the cli. On Tue, Feb 8, 2011 at 10:40 AM, Chris Burrou

Re: OOM during batch_mutate

2011-02-08 Thread Chris Burroughs
On 02/07/2011 06:05 PM, Jonathan Ellis wrote: > Sounds like the keyspace was created on the 32GB machine, so it > guessed memtable sizes that are too large when run on the 16GB one. > Use "update column family" from the cli to cut the throughput and > operations thresholds in half, or to 1/4 to be

Re: OOM during batch_mutate

2011-02-08 Thread Patrik Modesto
On Tue, Feb 8, 2011 at 00:05, Jonathan Ellis wrote: > Sounds like the keyspace was created on the 32GB machine, so it > guessed memtable sizes that are too large when run on the 16GB one. > Use "update column family" from the cli to cut the throughput and > operations thresholds in half, or to 1/4

Re: OOM during batch_mutate

2011-02-07 Thread Jonathan Ellis
Sounds like the keyspace was created on the 32GB machine, so it guessed memtable sizes that are too large when run on the 16GB one. Use "update column family" from the cli to cut the throughput and operations thresholds in half, or to 1/4 to be cautious. On Mon, Feb 7, 2011 at 9:00 AM, Patrik Mode

Re: OOM during batch_mutate

2011-02-07 Thread Patrik Modesto
On Mon, Feb 7, 2011 at 15:44, sridhar basam wrote: > Looks like you don't have a big enough working set from your GC logs, there > doesn't seem to be a lot being reclaimed in the GC process. The process is > reclaiming a few hundred MB and is running every few seconds. How big are > your caches? T

Re: OOM during batch_mutate

2011-02-07 Thread sridhar basam
Looks like you don't have a big enough working set from your GC logs, there doesn't seem to be a lot being reclaimed in the GC process. The process is reclaiming a few hundred MB and is running every few seconds. How big are your caches? The probable reason that it works the first couple times when

Re: OOM during batch_mutate

2011-02-07 Thread Patrik Modesto
Just tried current 0.7.1 from cassandra-0.7 branch and it does the same. OOM after three runs. -Xm* setting is computed by cassandra-env.sh like this: -Xms8022M -Xmx8022M -Xmn2005M What am I doing wrong? Thanks, Patrik On Mon, Feb 7, 2011 at 14:18, Patrik Modesto wrote: > I forgot to mention

Re: OOM during batch_mutate

2011-02-07 Thread Patrik Modesto
I forgot to mention I use 0.7.0 stable version. HTH, Patrik