What JVM are you running on? What, if any, memory constraints are you passing to the process? On Mar 22, 2014 10:48 AM, "prem yadav" <ipremya...@gmail.com> wrote:
> Hi, > I have a 3 node cassandra test cluster. The nodes have 4 GB total memory/2 > cores. Cassndra run with all default settings. > But, the cassandra process keeps getting killed due to OOM. Cassandra > version in use is 1.1.9. > here are the settings in use: > > compaction_throughput_mb_per_sec: 16 > row_cache_save_period: 0 > encryption_options: > keystore: conf/.keystore > internode_encryption: none > truststore: conf/.truststore > algorithm: SunX509 > cipher_suites: [TLS_RSA_WITH_AES_128_CBC_SHA, > TLS_RSA_WITH_AES_256_CBC_SHA] > > protocol: TLS > store_type: JKS > multithreaded_compaction: false > #authority: org.apache.cassandra.auth.AllowAllAuthority > populate_io_cache_on_flush: false > storage_port: 7000 > key_cache_save_period: 14400 > hinted_handoff_throttle_delay_in_ms: 1 > trickle_fsync_interval_in_kb: 10240 > rpc_timeout_in_ms: 10000 > dynamic_snitch_update_interval_in_ms: 100 > column_index_size_in_kb: 64 > thrift_framed_transport_size_in_mb: 15 > hinted_handoff_enabled: true > dynamic_snitch_reset_interval_in_ms: 600000 > reduce_cache_capacity_to: 0.6 > snapshot_before_compaction: false > request_scheduler_options: {weights: null, default_weight: 5, > throttle_limit: 80} > request_scheduler: org.apache.cassandra.scheduler.RoundRobinScheduler > incremental_backups: false > commitlog_sync: periodic > trickle_fsync: false > rpc_keepalive: true > max_hint_window_in_ms: 3600000 > commitlog_segment_size_in_mb: 32 > thrift_max_message_length_in_mb: 16 > request_scheduler_id: keyspace > cluster_name: TVCASCLU002 > memtable_flush_queue_size: 4 > index_interval: 128 > authenticator: com.datastax.bdp.cassandra.auth.PasswordAuthenticator > authorizer: com.datastax.bdp.cassandra.auth.CassandraAuthorizer > auth_replication_options: > replication_factor : 3 > # DC1: 3 > row_cache_size_in_mb: 0 > row_cache_provider: SerializingCacheProvider > dynamic_snitch_badness_threshold: 0.1 > commitlog_sync_period_in_ms: 10000 > auto_snapshot: true > concurrent_reads: 32 > in_memory_compaction_limit_in_mb: 64 > endpoint_snitch: org.apache.cassandra.locator.PropertyFileSnitch > flush_largest_memtables_at: 0.75 > reduce_cache_sizes_at: 0.85 > partitioner: org.apache.cassandra.dht.RandomPartitioner > saved_caches_directory: /var/lib/cassandra/saved_caches > ssl_storage_port: 7001 > > rpc_port: 9160 > commitlog_directory: /var/lib/cassandra/commitlog > > rpc_server_type: sync > compaction_preheat_key_cache: true > concurrent_writes: 32 > data_file_directories: [/var/lib/cassandra/data] > initial_token: 56713727820156410577229101238628035242 > seed_provider: > - class_name: org.apache.cassandra.locator.SimpleSeedProvider > parameters: > > > rpc_server_type: sync #changed from sync to hsha > > rpc_min_threads: 2 > rpc_max_threads: 64 > > How do I resolve this? > >