lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Pugh (Commented) (JIRA)" <>
Subject [jira] [Commented] (SOLR-2184) Allow configuration of max connections for shards
Date Tue, 06 Mar 2012 10:14:59 GMT


Eric Pugh commented on SOLR-2184:

I recently ran into this same problem when I moved from 10 to 60+ shards.  With 60+ shards,
I would get back frequent connection errors from various shards.   Changing the default max
connection per host to a larger number, like 2048 solved the problem.  When debugging this,
I saw that in Solr 4, the default value is much larger.  Here is a link to the commit:
     I don't know if this needs to be configurable, or just bumped up to a larger number,
like the 256 value from Solr 4.
> Allow configuration of max connections for shards
> -------------------------------------------------
>                 Key: SOLR-2184
>                 URL:
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: patrick o'leary
>         Attachments: SOLR-2184.patch, shard_request_hosts.patch
> Shard-ed requests are hard coded 
> {code}
> mgr.getParams().setDefaultMaxConnectionsPerHost(20);
> mgr.getParams().setMaxTotalConnections(10000);
> {code}
> We should allow config parameters such as
> shard-max-conn-per-host, shard-max-total-conn
> To allow you to tune as needed.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


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

View raw message