cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: TheGC inspector's frequency
Date Wed, 01 Dec 2010 15:05:34 GMT
The key statement:

            if (gcw.getDuration() > MIN_DURATION_TPSTATS)
            {
                logStats();
            }

On Wed, Dec 1, 2010 at 2:44 AM, Ying Tang <ivytang0812@gmail.com> wrote:
> The GCInspector's start() method ,
> In this method ,
> StorageService.scheduledTasks.scheduleWithFixedDelay(t,
> INTERVAL_IN_MS, INTERVAL_IN_MS, TimeUnit.MILLISECONDS);
> t is Runnable t and it's run method is logIntervalGCStats.
> According to this code segment , the logIntervalGCStats should be run
> every second.
> But the log of cassandra  shows the logIntervalGCStats didn't run
> every second,it's  disorder .
> How this happened?
>
> --
> Best regards,
>
> Ivy Tang
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Mime
View raw message