cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samal <sa...@wakya.in>
Subject Re: gossiper problem
Date Fri, 15 Jul 2011 05:10:14 GMT
well I am not a JVM guru, but it seem server has memory problem.


> 13 10:44:57,748 Gossiper.java (line 579) InetAddress /10.63.61.74 is now
> UP****
>
>  INFO [Timer-0] 2011-07-13 15:56:44,630 Gossiper.java (line 181)
> InetAddress /10.63.61.74 is now dead.****
>
>  INFO [GMFD:1] 2011-07-13 15:56:44,653 Gossiper.java (line 579) InetAddress
> /10.63.61.74 is now UP****
>
>  INFO [Timer-0] 2011-07-13 16:03:24,391 Gossiper.java (line 181)
> InetAddress /10.63.61.72 is now dead.
>

It is swapping due to memory need, recommended!! disable swap. rather die
with OOM than swapping.


INFO [GC inspection] 2011-07-13 03:12:06,153 GCInspector.java (line 110) GC
> for ConcurrentMarkSweep: 1097 ms, 371528920 reclaimed leaving 17677528 used;
> max is 1187840000****
>
>  INFO [GC inspection] 2011-07-13 03:12:07,351 GCInspector.java (line 110)
> GC for ParNew: 466 ms, 20619976 reclaimed leaving 157240232 used; max is
> 1187840000****
>
>  INFO [GC inspection] 2011-07-13 03:25:54,378 GCInspector.java (line 110)
> GC for ParNew: 283 ms, 26850072 reclaimed leaving 154180424 used; max is
> 1187840000****
>
>  INFO [GC inspection] 2011-07-13 06:29:58,092 GCInspector.java (line 110)
> GC for ParNew: 538 ms, 17358792 reclaimed leaving
>



My cassandra version is **0.6.3**, and the configuration about gc on
> storage_conf.xml is ****
>
> <GCGraceSeconds>864000</GCGraceSeconds>
>



> JVM configuration is as following:****
>
> JVM_OPTS=" \****
>
>         -ea \****
>
>         -Xms**256M** \****
>
>         -Xmx**1G** \****
>
>         -XX:+UseParNewGC \
>


> Can I decrease the JVM_OPTS to –Xms**128M** –Xmx**512M** to avoid swap,
> the data saved in cassandra is small, I do not need so much memory.
>

Reducing max head size wont solve problem, i think it will do more
swapping.
data only does not only count for memory requirement, but no. of memtables,
as each CF has separate memtable and its size, compaction, caching, read


You should upgrade to 0.7 or later.


/samal

Mime
View raw message