Hi,

Qs:
* Have you tried StreamingUpdateSolrServer?
* Newever version of Solr(J)?

When things hang, jstack your app that uses SolrJ and Solr a few times
and you should be able to see where they are stuck.

Otis
--
Search Analytics - http://sematext.com/search-analytics/index.html
Performance Monitoring - http://sematext.com/spm/index.html


On Mon, Oct 8, 2012 at 9:52 PM, Briggs Thompson
<w.briggs.thomp...@gmail.com> wrote:
> I am running into an issue of a multithreaded SolrJ client application used
> for indexing is getting into a hung state. I responded to a separate thread
> earlier today with someone that had the same error, see
> http://lucene.472066.n3.nabble.com/SolrJ-IOException-td4010026.html
>
> I did some digging and experimentation and found something interesting.
> When starting up the application, I see the following in Solr logs:
> Creating new http client, config:maxConnections=200&maxConnectionsPerHost=8
>
> The way I instantiate the HttpSolrServer through SolrJ is like the
> following
>
>         HttpSolrServer solrServer = new HttpSolrServer(serverUrl);
>         solrServer.setConnectionTimeout(1000);
>         solrServer.setDefaultMaxConnectionsPerHost(100);
>         solrServer.setMaxTotalConnections(100);
>         solrServer.setParser(new BinaryResponseParser());
>         solrServer.setRequestWriter(new BinaryRequestWriter());
>
> It seems as though the maxConnections and maxConnectionsPerHost are not
> actually getting set. Anyone seen this problem or have an idea how to
> resolve?
>
> Thanks,
> Briggs Thompson

Reply via email to