# Reindex debuging

**URL:** <https://discuss.elastic.co/t/reindex-debuging/325772>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [February 16, 2023, 8:01pm UTC](https://discuss.elastic.co/t/reindex-debuging/325772 "2023-02-16T20:01:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [February 16, 2023, 8:01pm UTC](https://discuss.elastic.co/t/reindex-debuging/325772/1 "2023-02-16T20:01:41Z")

</div>

Hi

I'm going through some of troubleshooting for reindex process by bulkprocessor

Under that proc

```auto
Failed to execute bulk request. Reason: <mark>java.net.SocketTimeoutException</mark>: 8,000 milliseconds <mark>timeout</mark> <mark>on</mark> <mark>connection</mark>

```

bulkprocessor request has set up below config

```auto

        builder.setBulkActions(1000);
        builder.setConcurrentRequests(4);
        builder.setFlushInterval(5000);
        builder.setBackoffPolicy(BackoffPolicy
                .constantBackoff(TimeValue.timeValueMillis(8000), 3));

```

```auto
        "refresh_interval" : "60s",
        "number_of_shards" : "3",

```

```auto
catalog-202302020058032 p STARTED 10161485 18gb 10.124.103.174 elastic-master-2
catalog-202302020058032 r STARTED 10161485 17.8gb 10.124.102.243 elastic-master-0
catalog-202302020058031 p STARTED 10058481 17.8gb 10.124.103.174 elastic-master-2
catalog-202302020058031 r STARTED 10058481 18gb 10.124.101.162 elastic-master-1
catalog-202302020058030 r STARTED 10064472 18.1gb 10.124.102.243 elastic-master-0
catalog-202302020058030 p STARTED 10064472 18gb 10.124.101.162 elastic-master-1

```

from the trace capture by dynatrace I saw that respone time is ~8,8s so it's a little behind an expectation.  
But I need to know what was happened on elasticsearch side because I'm getting such 52 attempts _of timeout and all the new dates have been uploaded to elasticsearch even I didn't find any retry._ why???? How can I debug that process?

yes and this is so clear for me because below condition doesn't match  
`(e instanceof RemoteTransportException && ((RemoteTransportException)e).status() == RETRY_STATUS && this.backoff.hasNext())`

---

<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:** [March 16, 2023, 8:01pm UTC](https://discuss.elastic.co/t/reindex-debuging/325772/2 "2023-03-16T20:01:56Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
