# Msg suddenly disappears

**URL:** <https://discourse.nodered.org/t/msg-suddenly-disappears/27764>\
**Category:** General\
**Created:** [4 June 2020 12:40 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764 "2020-06-04T12:40:07Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [4 June 2020 12:40 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764/1 "2020-06-04T12:40:07Z")

</div>

I'm really confused on to what's happening here...  
I have a large array of 22,000++ records.  
Then I used split with fixed length of 3000 to split it to 7 messages.  
I used this trick to make the 7 loops run simultaneously.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/5/25385d1c9c466d51498d7fa47335dfd9becffbe3.png)

But as you can see in the image above, the flow suddenly breaks after more than 400++ loops. It's random, sometimes it breaks around 600++. But usually above 400++ loops.

What am I doing wrong here?

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 June 2020 13:38 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764/2 "2020-06-04T13:38:38Z")

</div>

Does the link node at the right join to the one below it on the left?

---

<div class="post-metadata">

**Author:** ![mikeh](https://avatars.discourse-cdn.com/v4/letter/m/258eb7/32.png) [@mikeh](https://discourse.nodered.org/u/mikeh)\
**Post date:** [4 June 2020 15:08 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764/3 "2020-06-04T15:08:10Z")

</div>

@Colin Yes it does.. and like what I said, it runs without problem and just crashes after a certain number of loops. Around 400++ maybe.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [4 June 2020 17:45 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764/4 "2020-06-04T17:45:15Z")

</div>

Add debug nodes and work out which node is causing the problem. If necessary configure then to output to the log so you can analyse it later if necessary.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [3 August 2020 17:45 UTC](https://discourse.nodered.org/t/msg-suddenly-disappears/27764/5 "2020-08-03T17:45:16Z")

</div>

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