[
https://issues.apache.org/jira/browse/SOLR-9374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shalin Shekhar Mangar reassigned SOLR-9374:
-------------------------------------------
Assignee: Shalin Shekhar Mangar
> 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]