[
https://issues.apache.org/jira/browse/SOLR-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15442112#comment-15442112
]
ASF subversion and git services commented on SOLR-9374:
-------------------------------------------------------
Commit b1b933eb43730a819a37ab0b33d78b09df838b33 in lucene-solr's branch
refs/heads/master from [~shalinmangar]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=b1b933e ]
SOLR-9374: Speed up Jmx MBean retrieval for FieldCache
> 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
> 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]