I dont yet know if this is the reason...
I am looking if jetty has some limit on accepting connections.. 

./zahoor


On 18-Apr-2013, at 12:52 PM, J Mohamed Zahoor <zah...@indix.com> wrote:

> 
> Thanks for this.
> The reason i asked this was.. when i fire 30 queries simultaneously from 30 
> threads using the same CloudSolrServer instance, 
> some queries gets fired after a delay.. sometime the delay is 30-50 seconds...
> 
> In solr logs i can see.. 20+ queries get fired almost immediately... but some 
> of them gets fired late..
> 
> i increased the connections per host from 32 to 200.. still no respite...
> 
> ./zahoor
> 
> On 18-Apr-2013, at 12:20 AM, Shawn Heisey <s...@elyograg.org> wrote:
> 
>> ModifiableSolrParams params = new ModifiableSolrParams();
>>  params.set(HttpClientUtil.PROP_MAX_CONNECTIONS, 1000);
>>  params.set(HttpClientUtil.PROP_MAX_CONNECTIONS_PER_HOST, 200);
>>  HttpClient client = HttpClientUtil.createClient(params);
>>  LBHttpSolrServer lbServer = new LBHttpSolrServer
>>    (client, "http://localhost/solr";);
>>  lbServer.removeSolrServer("http://localhost/solr";);
>>  SolrServer server = new CloudSolrServer(zkHost, lbServer);
> 

Reply via email to