Thank you Shawn, 

Found out the timeout can be increased in the solr.xml but going to go with the 
async approach instead. It gives a much better overview on the status of the 
backup, which is something we need for monitoring purposes. 

Thanks, 

Daniel


-----Original Message-----
From: Shawn Heisey <apa...@elyograg.org> 
Sent: 30 January 2020 19:23
To: solr-user@lucene.apache.org
Subject: Re: Timeout occurred while waiting response from server

On 1/30/2020 4:28 AM, Gell-Holleron, Daniel wrote:
> I'm having trouble when trying to back up my Solr collection. I send the 
> request through and eventually I'll be prompted with a timeout error from.
> 
> Is there a timeout setting that can be changed so I can increase the amount 
> of time it takes before a timeout? I have 4 Solr nodes, with 1 shard on each 
> node. Each with 8GB of Java memory allocated to it. Current data size overall 
> is 6GB so I'm surprised I'm getting this error.

The Collections API has a 3 minute timeout.  The request would probably 
complete even though you got an error, but I am not 100% sure about that.

If you have something that takes longer than this, you should make the 
request async.  This will return immediately and put the request in the 
background.  You can then make additional calls to check on its status.

Thanks,
Shawn

Reply via email to