# Relay - Failed with result 'signal'

**URL:** <https://forum.cardano.org/t/relay-failed-with-result-signal/97838>\
**Category:** Operate a Stake Pool\
**Created:** [21 March 2022 12:25 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838 "2022-03-21T12:25:02Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ideal](https://avatars.discourse-cdn.com/v4/letter/i/e79b87/32.png) [@Ideal](https://forum.cardano.org/u/Ideal)\
**Post date:** [21 March 2022 12:25 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/1 "2022-03-21T12:25:02Z")

</div>

Hi all,

After each 24h one node of mine keeps shutting down with the following message:

```auto
cnode.service: Failed with result 'signal'.
Stopped Cardano Node.
Started Cardano Node.

```

After this crash/ error/ restart the node runs for 24h again and does it again. Other nodes of mine don’t get this error but I can’t seem to figure out what the problem might be.

Could someone explain to me what might be happening here or how to solve it?

Kind regards,  
Ideal

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [21 March 2022 14:55 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/2 "2022-03-21T14:55:28Z")

</div>

could be the topology updater or a job on crontab which is restarting the node once/24 hours

---

<div class="post-metadata">

**Author:** ![Ideal](https://avatars.discourse-cdn.com/v4/letter/i/e79b87/32.png) [@Ideal](https://forum.cardano.org/u/Ideal)\
**Post date:** [21 March 2022 19:47 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/3 "2022-03-21T19:47:39Z")

</div>

Other nodes of mine also restart but don’t show the same message. The node is still performing well so it doesn’t seem to be a serious issue. Still weird tho…

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [21 March 2022 19:55 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/4 "2022-03-21T19:55:45Z")

</div>

did u checked if there is a job on crontab to kill the node each 24 hours?

---

<div class="post-metadata">

**Author:** ![Ideal](https://avatars.discourse-cdn.com/v4/letter/i/e79b87/32.png) [@Ideal](https://forum.cardano.org/u/Ideal)\
**Post date:** [27 March 2022 20:58 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/5 "2022-03-27T20:58:59Z")

</div>

I have been monitoring the node for a while now. There is nothing on crontab and there are no other unusual messages in the journal. The node performs more than fine so I am kind of clueless now.

---

<div class="post-metadata">

**Author:** ![7.4d4](https://avatars.discourse-cdn.com/v4/letter/7/bc79bd/32.png) [@7.4d4](https://forum.cardano.org/u/7.4d4)\
**Post date:** [28 March 2022 12:29 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/6 "2022-03-28T12:29:48Z")

</div>

Is it when the memory gets exhausted? Do you have swap enabled?

You can check memory usage with:

```auto
free

```

If you run the following you will get an output showing your current RTS settings, missed slots, time your node has been running, and memory usage:

```auto
printf "%0.s-" {1..70}; echo; startsec=$(curl -s -H 'Accept: application/json' http:/localhost:12788 | jq '.cardano.node.metrics.nodeStartTime.int.val'); startdate="$(date -d @${startsec})"; nowsec=$(date '+%s'); nowdate="$(date)"; runhrs=$(( (nowsec - startsec) / 3600 )); runmins=$(( (nowsec - startsec) % 3600 / 60 )); rtsconf="$(ps aux | grep -Po "cardano-node\s.*\+RTS\s.*\-RTS")"; missedslots=$(curl -s -H 'Accept: application/json' http:/localhost:12788 | jq '.cardano.node.metrics.slotsMissedNum.int.val'); echo "Node Started: ${startdate} (Running: ${runhrs} hrs ${runmins} mins)"; echo "RTS settings: ${rtsconf}"; echo "Missed slots: ${missedslots}"; echo "Memory use:"; free;

```

Maybe that will give you some clues?

---

<div class="post-metadata">

**Author:** ![Ideal](https://avatars.discourse-cdn.com/v4/letter/i/e79b87/32.png) [@Ideal](https://forum.cardano.org/u/Ideal)\
**Post date:** [29 March 2022 12:34 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/7 "2022-03-29T12:34:37Z")

</div>

Thanks for the suggestion. This node still has 15GB of available RAM while operating. So, I don’t believe RAM is an issue. The last command also returns that the node hasn’t missed a slot so far.

I will leave it as is since I can’t seem to find the cause and the node is performing well. Thanks for the help!

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [29 March 2022 12:47 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/8 "2022-03-29T12:47:32Z")

</div>

check the restarting process and check if there are differences (the way how the nodes are restarted)

`sudo systemctl status cnode-tu-restart.service`

---

<div class="post-metadata">

**Author:** ![7.4d4](https://avatars.discourse-cdn.com/v4/letter/7/bc79bd/32.png) [@7.4d4](https://forum.cardano.org/u/7.4d4)\
**Post date:** [29 March 2022 12:52 UTC](https://forum.cardano.org/t/relay-failed-with-result-signal/97838/9 "2022-03-29T12:52:03Z")

</div>

The reason I was wondering about the memory and swap was because I had a similar issue some months ago.

When the haskell cardano-node runs its garbage collector it needs to allocate a lot of memory. If I recall correctly, the haskell system was allocating double its previous amount of memory which was blowing above my 16G RAM limit and causing the operating system to kill the process due to “out of memory” (oom) error.

I recall the log file showing kernel messages about killing the cardano-node process due to this oom error. Did you see any such errors in your logs?

Once I allocated 16G of swap the operating system didn’t kill the process any more.
