[GitHub] [lucene-solr] rahulgoswami opened a new pull request #740: SOLR-12550 - distribUpdateSoTimeout for configuring socket timeouts in solrcloud doesn't take effect for updates.

2019-06-23 Thread GitBox
rahulgoswami opened a new pull request #740: SOLR-12550 - distribUpdateSoTimeout for configuring socket timeouts in solrcloud doesn't take effect for updates. URL: https://github.com/apache/lucene-solr/pull/740 # Description Found this issue on Solr

Re: Socket Timeouts

2019-05-05 Thread Erick Erickson
stance. > **/ > public void open() throws IOException { > if(cache == null) { > client = new HttpSolrClient.Builder(baseUrl).build(); > } else { > client = cache.getHttpSolrClient(baseUrl); > } > > I need to make this particular case configurable, so

Re: Socket Timeouts

2019-05-05 Thread Gus Heck
class="HttpShardHandlerFactory"> > ${socketTimeout:60} > ${connTimeout:6} > > > > > > -- > *From:* Gus Heck > *Sent:* Sunday, May 5, 2019 1:35 PM > *To:* dev > *Subject:* Socket Timeouts > &g

Re: Socket Timeouts

2019-05-05 Thread Martin Gainty
both connectionTimeout and socketTimeout are declared in $SOLR_HOME/solr.xml ${socketTimeout:60} ${connTimeout:6} From: Gus Heck Sent: Sunday, May 5, 2019 1:35 PM To: dev Subject: Socket Timeouts I'm working with a client that

Re: Socket Timeouts

2019-05-05 Thread Kevin Risden
ke this particular case configurable, so that I can get > results from a very long running query, but I sense that there is a much > wider problem in that we don't seem to have any organized plan for how > socket timeouts are set/managed in the code. > > What thoughts have people had on this front? > > -Gus > > -- > http://www.needhamsoftware.com (work) > http://www.the111shift.com (play) >

Socket Timeouts

2019-05-05 Thread Gus Heck
ular case configurable, so that I can get results from a very long running query, but I sense that there is a much wider problem in that we don't seem to have any organized plan for how socket timeouts are set/managed in the code. What thoughts have people had on this front? -Gus -- http

Re: Solr connection/socket timeouts

2014-08-05 Thread Ramkumar R. Aiyengar
I agree we need conservative defaults. I thought 10 mins is reasonable. Obviously there will be longer requests, but that's where I would have thought notice in CHANGES.txt would hopefully be good enough, you are already looking at expert cases in such cases. If some other number is more reasonable

Re: Solr connection/socket timeouts

2014-08-05 Thread Mark Miller
Part of the issue is picking the right numbers I think. Some of our calls can legit take a *long* time.  I think timeouts become a little more important with SolrCloud over ‘legacy mode’ Solr. Anyway, IMO, at some point we should introduce large defaults. It’s been on my mind before. A good di

Solr connection/socket timeouts

2014-08-05 Thread Ramkumar R. Aiyengar
Currently HttpShardHandlerFactory and DUH2 set socket and connection timeouts to unlimited by default. Should there be some finite default instead? With the current defaults, a machine crash for example will lead to requests in progress hang and occupy threads till the process is shut down, which d