lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vamsee Yarlagadda (JIRA)" <>
Subject [jira] [Updated] (SOLR-7159) Add httpclient connection stats to JMX report
Date Wed, 25 Feb 2015 11:47:04 GMT


Vamsee Yarlagadda updated SOLR-7159:
    Attachment: Screen Shot 2015-02-25 at 3.37.06 AM.png

Here is the first draft of the patch.

As per the latest 4.10 release, we have two separate http connection pools - UpdateShardHandler
(handles all the updates) and HttpShardHandler/HttpShardHandlerFactory (handles all queries).
And these two classes are created for every core setup. So i ended up adding the logic to
the existing MBean of every core to display the httpclient connection stats. (Screenshot attached).

Kindly let me know with any suggestions or comments. I will refine the patch accordingly.

> Add httpclient connection stats to JMX report
> ---------------------------------------------
>                 Key: SOLR-7159
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 4.10.3
>            Reporter: Vamsee Yarlagadda
>            Priority: Minor
>         Attachments: SOLR-7159.patch, Screen Shot 2015-02-25 at 3.37.06 AM.png
> Currently, we are logging the stats of httpclient as part of debug level.
> bq. 2015-01-20 13:47:48,640 DEBUG org.apache.http.impl.conn.PoolingClientConnectionManager:
Connection request: [route: {}->][total kept alive: 254;
route allocated: 100 of 100; total allocated: 462 of 10000]
> Instead, it would be good to expose these metrics via JMX for easy checking.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message