lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "patrick o'leary (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-2184) Allow configuration of max connections for shards
Date Wed, 20 Oct 2010 23:30:24 GMT

     [ 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


Mime
View raw message