You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Alexey Serba (Commented) (JIRA)" <ji...@apache.org> on 2012/02/07 23:53:03 UTC

[jira] [Commented] (SOLR-3053) Add Verbose MBean Stats Option to Solr Cache's

    [ https://issues.apache.org/jira/browse/SOLR-3053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202899#comment-13202899 ] 

Alexey Serba commented on SOLR-3053:
------------------------------------

There's FastLRUCache showItems parameter to display last accessed items ( see also SOLR-2789 )
                
> Add Verbose MBean Stats Option to Solr Cache's
> ----------------------------------------------
>
>                 Key: SOLR-3053
>                 URL: https://issues.apache.org/jira/browse/SOLR-3053
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Grant Ingersoll
>            Priority: Minor
>
> Sometimes when debugging, it would be nice if we could get stats about what is actually in the Solr cache, or at least the size of some of the bigger items.  For instance, on the filterCache, it is nice to know what the size of the DocSets are.  This can be helpful for debugging heap related issues.
> The proposed way of doing this is to make a config option that, when set to true, spits out appropriate information.  It's not totally clear what the best way to implement this is to be generic for the objects in the cache, but I have some code now that does this when the value in the cache is a DocSet, which is the primary thing I happen to care about at the moment.  I'm open to suggestions and could also be talked out of this all together.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org