cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedict (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7034) commitlog files are 32MB in size, even with a 64bit OS and jvm
Date Tue, 15 Apr 2014 18:54:16 GMT


Benedict commented on CASSANDRA-7034:

Your statement is that your files are 32Mb in size. This is correct. On all VMs they should
be 32Mb in size, and there should be at most 32 of them on a 64-bit architecture, except when
the data directories are behind the commit log, in which case there can be more. On a 32-bit
architecture there would be only 1 commit log file.

> commitlog files are 32MB in size, even with a 64bit  OS and jvm
> ---------------------------------------------------------------
>                 Key: CASSANDRA-7034
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Donald Smith
> We did a rpm install of cassandra 2.0.6 on CentOS 6.4 running 
> {noformat}
> > java -version
> Java(TM) SE Runtime Environment (build 1.7.0_40-b43)
> Java HotSpot(TM) 64-Bit Server VM (build 24.0-b56, mixed mode)
> {noformat}
> That is the version of java CassandraDaemon is using.
> We used the default setting (None) in cassandra.yaml for commitlog_total_space_in_mb:
> {noformat}
> # Total space to use for commitlogs.  Since commitlog segments are
> # mmapped, and hence use up address space, the default size is 32
> # on 32-bit JVMs, and 1024 on 64-bit JVMs.
> #
> # If space gets above this value (it will round up to the next nearest
> # segment multiple), Cassandra will flush every dirty CF in the oldest
> # segment and remove it.  So a small total commitlog space will tend
> # to cause more flush activity on less-active columnfamilies.
> # commitlog_total_space_in_mb: 4096
> {noformat}
> But our commitlog files are 32MB in size, not 1024MB.
> OpsCenter confirms that commitlog_total_space_in_mb is None.
> I don't think the problem is in, because when I run it manually and
echo the  values of the version variables I get:
> {noformat}
> jvmver=1.7.0_40
> JVM_ARCH=64-Bit
> {noformat}

This message was sent by Atlassian JIRA

View raw message