[ https://issues.apache.org/jira/browse/CASSANDRA-5661?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13714550#comment-13714550 ]
Pavel Yaskevich edited comment on CASSANDRA-5661 at 7/20/13 11:05 PM: ---------------------------------------------------------------------- Maybe that's side effect of theadlocals, i am not sure. We need recordStats() to expose some via JMX, FileCache uses separate metrics service as we track explicitly every get/release which are exposed via JMX the same way as the rest of Cassandra, i didn't do that for multiway yet but that would be a final step. Edit: I have also added onRemoval listener with the latest patch which does syscall to close the file among other things, which could have affected borrow/release latencies somehow. was (Author: xedin): Maybe that's side effect of theadlocals, i am not sure. We need recordStats() to expose some via JMX, FileCache uses separate metrics service as we track explicitly every get/release which are exposed via JMX the same way as the rest of Cassandra, i didn't do that for multiway yet but that would be a final step. > Discard pooled readers for cold data > ------------------------------------ > > Key: CASSANDRA-5661 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5661 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.2.1 > Reporter: Jonathan Ellis > Assignee: Pavel Yaskevich > Fix For: 2.0.1 > > Attachments: CASSANDRA-5661-global-multiway-cache.patch, > CASSANDRA-5661.patch, DominatorTree.png, Histogram.png > > > Reader pooling was introduced in CASSANDRA-4942 but pooled > RandomAccessReaders are never cleaned up until the SSTableReader is closed. > So memory use is "the worst case simultaneous RAR we had open for this file, > forever." > We should introduce a global limit on how much memory to use for RAR, and > evict old ones. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira