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

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

Tim Owen created SOLR-9374:
------------------------------

             Summary: 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
            Priority: Minor


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