还有两个相关的职位
nospamlogger.java已达到最大内存使用量cassandra
在cassandra中,已达到最大内存使用量(536870912字节),无法分配1048576字节的块
但他们的要求并不完全相同。我要求彻底理解这个信息的含义是什么?这似乎并没有影响我的潜伏期。
我做了一个 nodetool cfstats
```
SSTable count: 5
Space used (live): 1182782029
Space used (total): 1182782029
Space used by snapshots (total): 0
Off heap memory used (total): 802011
SSTable Compression Ratio: 0.17875764458149868
Number of keys (estimate): 34
Memtable cell count: 33607
Memtable data size: 5590408
Memtable off heap memory used: 0
Memtable switch count: 902
Local read count: 4689
Local read latency: NaN ms
Local write count: 51592342
Local write latency: 0.035 ms
Pending flushes: 0
Percent repaired: 0.0
Bloom filter false positives: 0
Bloom filter false ratio: 0.00000
Bloom filter space used: 120
Bloom filter off heap memory used: 80
Index summary off heap memory used: 291
Compression metadata off heap memory used: 801640
Compacted partition minimum bytes: 447
Compacted partition maximum bytes: 2874382626
Compacted partition mean bytes: 164195240
Average live cells per slice (last five minutes): NaN
Maximum live cells per slice (last five minutes): 0
Average tombstones per slice (last five minutes): NaN
Maximum tombstones per slice (last five minutes): 0
Dropped Mutations: 0
对我来说,延迟看起来很好。
我还做了直方图
百分位sstables writerelatency readlatency partitionsize cellcount
50% 0.00 35.43 0.00 1629722 35425
75% 0.00 42.51 0.00 129557750 2346799
95% 0.00 61.21 0.00 668489532 14530764
98% 0.00 73.46 0.00 2874382626 52066354
99% 0.00 88.15 0.00 2874382626 52066354
最小0.00 11.87 0.00 447 11
最大值0.00 785.94 0.00 2874382626 52066354
在我看来这些数据还不错!那么Cassandra在抱怨什么呢?
1条答案
按热度按时间cidc1ykv1#
这篇jira中的评论有一个解释:https://issues.apache.org/jira/browse/cassandra-12221
引用:
邓伟补充了一条评论-2016年7月18日05:01
见Cassandra-5661。这是一个限制randomaccessreader使用的堆外内存量的上限,如果需要,可以通过cassandra.yaml中的文件\u cache\u size\u in\u mb来更改限制。