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 distributed system requires timeouts for proper long term 
“chugging along”.

-- 
Mark Miller
about.me/markrmiller

On August 5, 2014 at 7:46:36 AM, Ramkumar R. Aiyengar ([email protected]) 
wrote:

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 doesn't seem 
desirable. These are all configurable, we could set some default (60s for conn, 
600s for socket?), let people know and have them up the limits if they really 
need it..

Thoughts?

Reply via email to