[
https://issues.apache.org/jira/browse/SOLR-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15442114#comment-15442114
]
ASF subversion and git services commented on SOLR-9374:
-------------------------------------------------------
Commit 5a16f1526057c5faac1f552d4e4caa364a50fccf in lucene-solr's branch
refs/heads/branch_6x from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5a16f15 ]
SOLR-9374: Speed up Jmx MBean retrieval for FieldCache
(cherry picked from commit b1b933e)
> 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: [email protected]
For additional commands, e-mail: [email protected]