You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2016/08/27 19:36:20 UTC

[jira] [Resolved] (SOLR-9374) Speed up Jmx MBean retrieval for FieldCache

     [ https://issues.apache.org/jira/browse/SOLR-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shalin Shekhar Mangar resolved SOLR-9374.
-----------------------------------------
       Resolution: Fixed
    Fix Version/s: 6.3
                   master (7.0)

Thanks Tim!

> Speed up Jmx MBean retrieval for FieldCache
> -------------------------------------------
>
>                 Key: SOLR-9374
>                 URL: https://issues.apache.org/jira/browse/SOLR-9374
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: JMX, web gui
>    Affects Versions: 6.1, master (7.0)
>            Reporter: Tim Owen
>            Assignee: Shalin Shekhar Mangar
>            Priority: Minor
>             Fix For: master (7.0), 6.3
>
>         Attachments: SOLR-9374.patch
>
>
> The change made in SOLR-8892 allowed for Jmx requests for MBean info to skip displaying the full contents of FieldCache entries, and just return the count.
> However, it still computes all the field cache entry info but throws it away and uses only the number of entries. This can make the Jmx MBean retrieval quite slow which is not ideal for regular polling for monitoring purposes. We've typically found the Jmx call took over 1 minute to complete, and jstack output showed that building the stats for this bean was the culprit.
> With this patch, the time is much reduced, usually less than 10 seconds. The response contents are unchanged.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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