[ 
https://issues.apache.org/jira/browse/SOLR-5648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877553#comment-13877553
 ] 

Gregg Donovan commented on SOLR-5648:
-------------------------------------

We use this patch to to graph the number open searchers and the oldest searcher 
in Ganglia. It's very useful to have an overview of searcher health and for 
detecting possible leaks. 

!openSearchers.gif|Count of open searchers!

!oldestSearcherStaleness.gif|Age of oldest searcher!

> SolrCore#getStatistics() should nest open searchers' stats
> ----------------------------------------------------------
>
>                 Key: SOLR-5648
>                 URL: https://issues.apache.org/jira/browse/SOLR-5648
>             Project: Solr
>          Issue Type: Task
>            Reporter: Shikhar Bhushan
>            Priority: Minor
>         Attachments: SOLR-5648.patch, oldestSearcherStaleness.gif, 
> openSearchers.gif
>
>
> {{SolrIndexSearcher}} leaks are a notable cause of garbage collection issues 
> in codebases with custom components.
> So it is useful to be able to access monitoring information about what 
> searchers are currently open, and in turn access their stats e.g. 
> {{openedAt}}.
> This can be nested via {{SolrCore#getStatistics()}} which has a 
> {{_searchers}} collection of all open searchers.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to