# Cross Cluster hangs frequently

**URL:** <https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680>\
**Category:** Elasticsearch\
**Created:** [January 30, 2018, 6:05pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680 "2018-01-30T18:05:54Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![trevan](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@trevan](https://discuss.elastic.co/u/trevan)\
**Post date:** [January 30, 2018, 6:05pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/1 "2018-01-30T18:05:54Z")

</div>

I've been trying to get cross cluster to work between two geographically remote clusters. I've gotten it to work but frequently, it just stops working. Querying \_remote/info and remote indices hang indefinitely. But after some time (I don't know the length since I usually go do something else), it works again.

Is there some sort of logging that I can look at to see what is happening?

I'm running ES 5.6.2 in both clusters. Cluster A can talk to Cluster B on both the http transport and the es transport port. Cluster B can NOT talk to Cluster A, though. Only Cluster A is set up for cross cluster, though, so I believe that should not be an issue.

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [January 30, 2018, 6:10pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/2 "2018-01-30T18:10:54Z")

</div>

When it hangs, would you please take a stack dump on both clusters (use `jstack`) and share them?

---

<div class="post-metadata">

**Author:** ![trevan](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@trevan](https://discuss.elastic.co/u/trevan)\
**Post date:** [January 30, 2018, 6:25pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/3 "2018-01-30T18:25:17Z")

</div>

Which servers in the cluster should I run jstack on? In cluster A, we have almost 30 servers and the other has 3.

And do you want me to just paste them here?

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [January 30, 2018, 6:37pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/4 "2018-01-30T18:37:53Z")

</div>

Sorry for not being clear. The coordinating node in cluster A, and all nodes in cluster B (unless it's an outrageous number of nodes, in which case let us start with the gateway nodes in cluster B).

---

<div class="post-metadata">

**Author:** ![trevan](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@trevan](https://discuss.elastic.co/u/trevan)\
**Post date:** [January 31, 2018, 8:53pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/5 "2018-01-31T20:53:15Z")

</div>

I have the 4 files but I can't seem to upload them here. The upload appears to be limited to image files. How do you want me to share them?

Also, just to make sure I did it correctly, I waited for \_remote/info to hang. I then did a jstack -F pid of the node on cluster A that I had queried \_remote/info (I think that is what you mean by the coordinating node since I don't have special settings). I then ran jstack -F pid on the three nodes in cluster B.

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [February 1, 2018, 1:17am UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/6 "2018-02-01T01:17:05Z")

</div>

Would you be willing to email them? My email address is my first name at [elastic.co](http://elastic.co).

---

<div class="post-metadata">

**Author:** ![trevan](https://avatars.discourse-cdn.com/v4/letter/t/7feea3/32.png) [@trevan](https://discuss.elastic.co/u/trevan)\
**Post date:** [February 1, 2018, 2:38pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/7 "2018-02-01T14:38:55Z")

</div>

I sent you them in an email.

---

<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 1, 2018, 2:39pm UTC](https://discuss.elastic.co/t/cross-cluster-hangs-frequently/117680/8 "2018-03-01T14:39:16Z")

</div>

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