# Relay restarts?

**URL:** <https://forum.torproject.org/t/relay-restarts/4995>\
**Category:** Relay Operator\
**Created:** [October 3, 2022, 12:38pm UTC](https://forum.torproject.org/t/relay-restarts/4995 "2022-10-03T12:38:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guybrush](https://forum.torproject.org/user_avatar/forum.torproject.org/guybrush/32/1136_2.png) [@Guybrush](https://forum.torproject.org/u/Guybrush)\
**Post date:** [October 3, 2022, 12:38pm UTC](https://forum.torproject.org/t/relay-restarts/4995/1 "2022-10-03T12:38:24Z")

</div>

My 0.4.5.10 relay restarts after 4-5 days. No warnings in the log file.

The hardware is ok, Raspberry Pi 4. Has worked before.

Ddos attack?

---

<div class="post-metadata">

**Author:** ![Guybrush](https://forum.torproject.org/user_avatar/forum.torproject.org/guybrush/32/1136_2.png) [@Guybrush](https://forum.torproject.org/u/Guybrush)\
**Post date:** [October 11, 2022, 7:14am UTC](https://forum.torproject.org/t/relay-restarts/4995/2 "2022-10-11T07:14:00Z")

</div>

Now restart after 1-2 days. ☹

```auto
Oct 11 00:00:33.000 [notice] Tor 0.4.5.10 opening new log file.
Oct 11 05:49:35.000 [notice] Heartbeat: Tor's uptime is 12:00 hours, with 49858 circuits open. I've sent 49.03 GB and received 47.74 GB. I've received 343109 connections on IPv4 and 0 on IPv6. I've made 13123 connections with IPv4 and 0 with IPv6.
Oct 11 05:49:35.000 [notice] While not bootstrapping, fetched this many bytes: 9665347 (server descriptor fetch); 540 (server descriptor upload); 897336 (consensus network-status fetch); 152995 (microdescriptor fetch)
Oct 11 05:49:35.000 [notice] Circuit handshake stats since last time: 356/356 TAP, 1636068/1640243 NTor.
Oct 11 05:49:35.000 [notice] Since startup we initiated 0 and received 0 v1 connections; initiated 0 and received 0 v2 connections; initiated 0 and received 0 v3 connections; initiated 0 and received 286956 v4 connections; initiated 9651 and received 39259 v5 connections.
Oct 11 05:49:35.000 [notice] DoS mitigation since startup: 19 circuits killed with too many cells. 256486 circuits rejected, 156 marked addresses. 0 connections closed. 0 single hop clients refused. 672936 INTRODUCE2 rejected.

```

The last line, “672936 INTRODUCE2 rejected”, sounds bad?

Regars Guybrush

---

<div class="post-metadata">

**Author:** ![Vort](https://forum.torproject.org/user_avatar/forum.torproject.org/vort/32/63_2.png) [@Vort](https://forum.torproject.org/u/Vort)\
**Post date:** [October 11, 2022, 9:06am UTC](https://forum.torproject.org/t/relay-restarts/4995/3 "2022-10-11T09:06:02Z")

</div>

It may be that OS restarts process because it uses too much RAM.  
During DDoS relays [started to consume more RAM, than usually](https://forum.torproject.org/t/memory-limits-for-tor-process/3961), maybe you have not enough it to withstand DDoS.  
Can you try: 1. Monitor RAM usage of your computer. 2. Install latest version of Tor (there were fixes for RAM consumption in it).

---

<div class="post-metadata">

**Author:** ![system](https://forum.torproject.org/uploads/default/original/2X/d/d3424bed34f4ec18b2e99178c2801ba6dfb655d6.png) [@system](https://forum.torproject.org/u/system)\
**Post date:** [October 15, 2022, 6:20am UTC](https://forum.torproject.org/t/relay-restarts/4995/4 "2022-10-15T06:20:22Z")

</div>

Closed on October 15, 2022, 6:20am UTC

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

---

<div class="post-metadata">

**Author:** ![Guybrush](https://forum.torproject.org/user_avatar/forum.torproject.org/guybrush/32/1136_2.png) [@Guybrush](https://forum.torproject.org/u/Guybrush)\
**Post date:** [October 15, 2022, 11:33am UTC](https://forum.torproject.org/t/relay-restarts/4995/5 "2022-10-15T11:33:53Z")

</div>

Installing the latest version of Tor solved the problem. Also fixed the automatic update so now Tor should update automatically. Thanks
