# Timeout when uploading document (\> 5 minutes)

**URL:** <https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697>\
**Category:** Elasticsearch\
**Created:** [November 13, 2012, 4:32pm UTC](https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697 "2012-11-13T16:32:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Andres\_G\_Aragoneses](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andres_g_aragoneses/32/2623_2.png) [@Andres\_G\_Aragoneses](https://discuss.elastic.co/u/Andres_G_Aragoneses)\
**Post date:** [November 13, 2012, 4:32pm UTC](https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697/1 "2012-11-13T16:32:29Z")

</div>

Hello!

We recently set up a pair of nodes to start ingesting documents (default  
setting shards=5), and with about 1 request per minute we're getting  
timeouts in some POST requests. This means that elasticsearch is not  
replying in 5 minutes time. In paramedic we see though that the indexing  
time is about 32 secs (which is high anyway compared to what we were  
expecting, but is way lower than 5 minutes! which is the default time out  
of the client-stack that makes the Http request).

We're using version 0.19.9. Does this ring a bell to anyone? Any bug that  
could have been fixed recently in newer versions which was affecting this  
one?

Thanks in advance.  
Andres

--

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [November 13, 2012, 5:27pm UTC](https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697/2 "2012-11-13T17:27:57Z")

</div>

Many questions:

Which client are you using? Are you bulk indexing or sending one index  
request per document? What is the size of your document/total size if bulk?

On Tue, Nov 13, 2012 at 8:32 AM, Andrés .G Aragoneses [knocte@gmail.com](mailto:knocte@gmail.com)wrote:

> Hello!
> 
> We recently set up a pair of nodes to start ingesting documents (default  
> setting shards=5), and with about 1 request per minute we're getting  
> timeouts in some POST requests. This means that elasticsearch is not  
> replying in 5 minutes time. In paramedic we see though that the indexing  
> time is about 32 secs (which is high anyway compared to what we were  
> expecting, but is way lower than 5 minutes! which is the default time out  
> of the client-stack that makes the Http request).
> 
> We're using version 0.19.9. Does this ring a bell to anyone? Any bug that  
> could have been fixed recently in newer versions which was affecting this  
> one?
> 
> Thanks in advance.  
> Andres
> 
> --

--

---

<div class="post-metadata">

**Author:** ![Andres\_G\_Aragoneses](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andres_g_aragoneses/32/2623_2.png) [@Andres\_G\_Aragoneses](https://discuss.elastic.co/u/Andres_G_Aragoneses)\
**Post date:** [November 13, 2012, 5:40pm UTC](https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697/3 "2012-11-13T17:40:03Z")

</div>

Client: .NET (Nest lib) in Debian (Mono)

One request per document.

Size of each document is minimal, small JSON object that more or less fits  
in a screen.

Right now the total number of documents in the cluster is 14,200 (26 MB).

(BTW I made a typo in my first message: we're obviously using PUT, not POST)

Thanks for your reply!

On 13 November 2012 17:27, Ivan Brusic [ivan@brusic.com](mailto:ivan@brusic.com) wrote:

> Many questions:
> 
> Which client are you using? Are you bulk indexing or sending one index  
> request per document? What is the size of your document/total size if bulk?
> 
> On Tue, Nov 13, 2012 at 8:32 AM, Andrés .G Aragoneses [knocte@gmail.com](mailto:knocte@gmail.com)wrote:
> 
> > Hello!
> > 
> > We recently set up a pair of nodes to start ingesting documents (default  
> > setting shards=5), and with about 1 request per minute we're getting  
> > timeouts in some POST requests. This means that elasticsearch is not  
> > replying in 5 minutes time. In paramedic we see though that the indexing  
> > time is about 32 secs (which is high anyway compared to what we were  
> > expecting, but is way lower than 5 minutes! which is the default time out  
> > of the client-stack that makes the Http request).
> > 
> > We're using version 0.19.9. Does this ring a bell to anyone? Any bug that  
> > could have been fixed recently in newer versions which was affecting this  
> > one?
> > 
> > Thanks in advance.  
> > Andres
> > 
> > --
> 
> --

--

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:04am UTC](https://discuss.elastic.co/t/timeout-when-uploading-document-5-minutes/9697/4 "2017-07-06T03:04:32Z")

</div>


