You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "patrick o'leary (JIRA)" <ji...@apache.org> on 2010/10/21 01:22:22 UTC

[jira] Created: (SOLR-2184) Allow configuration of max connections for shards

Allow configuration of max connections for shards
-------------------------------------------------

                 Key: SOLR-2184
                 URL: https://issues.apache.org/jira/browse/SOLR-2184
             Project: Solr
          Issue Type: Improvement
            Reporter: patrick o'leary


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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


[jira] Updated: (SOLR-2184) Allow configuration of max connections for shards

Posted by "patrick o'leary (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

patrick o'leary updated SOLR-2184:
----------------------------------

    Attachment: SOLR-2184.patch

Provides the ability to configure the 
MultiThreadedHttpConnectionManager MaxConnectionsPerHost & MaxTotalConnections

Which are currently hard coded to 20 and 10,000 respectively, these should be configurable to suit your hardware specifications.

{code}
<requestHandler name="/search" class="org.apache.solr.handler.component.SearchHandler">
    <lst name="defaults">
      <str name="echoParams">explicit</str>
    </lst>
    <int name="shard-max-conn-per-host">100</int>
    <int name="shard-max-total-conn">10000</int>
   
  </requestHandler>
{code}


> Allow configuration of max connections for shards
> -------------------------------------------------
>
>                 Key: SOLR-2184
>                 URL: https://issues.apache.org/jira/browse/SOLR-2184
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: patrick o'leary
>         Attachments: SOLR-2184.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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org