<div dir="ltr">Hi Roger,<br><br>Some quick facts<br>- tor is enabled to auto-start when the system boots<br>- I do have nyx on that box, but I just run it every now and then (i.e. it does not run permanently)<br>- there is nothing else than tor on the box<br>- disc space is not an issue: 45G free on /root, 700M free on /boot and 53G free on /home<br><br>The other things to investigate are way beyond my linux competences<br>My best bet would be to perform a fresh install (OS+tor)<br><br>Thanks!<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Apr 6, 2020 at 11:11 AM Roger Dingledine <<a href="mailto:arma@torproject.org">arma@torproject.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Apr 06, 2020 at 11:01:09AM +0200, Totor be wrote:<br>
> I have upgraded recently my relays (totorbe*) to CentOS8 + tor 0.4.2.7 and<br>
> they all seemed to run properly<br>
> This morning, I just noticed a weird behavior on one of them (no idea since<br>
> when this is going on)<br>
> <br>
> When starting tor, it goes to the point of IP identification and then<br>
> starts shutting down ("Interrupt: we have stopped accepting new<br>
> connections...")<br>
> It attempts then to restart immediately and loops start --> interrupt --><br>
> start etc...<br>
> <br>
> Any idea where too start investigating??<br>
<br>
Hm!<br>
<br>
It sounds like whatever package you have auto-starts Tor if it notices<br>
that it's not running. That's not unreasonable, but also it ought to have<br>
some error count where it only tries to restart it a certain number of<br>
times per timeframe. This is something that either the package's init<br>
script should do, or that systemd's settings should handle.<br>
<br>
The bigger mystery for you is: why does Tor keep deciding to exit? It<br>
looks like something is sending it the equivalent of a ^C. What is doing<br>
that? This is the main thing to investigate.<br>
<br>
Maybe you are running some external tool like nyx, or your own script<br>
based on stem, which is killing it somehow?<br>
<br>
Maybe systemd is somehow deciding that after some timeout it needs to<br>
die? I find it interesting that you get these two lines right after each<br>
other each time:<br>
<br>
Apr 06 10:35:13.000 [notice] Signaled readiness to systemd<br>
Apr 06 10:35:13.000 [notice] Interrupt<br>
<br>
It's as though systemd is misinterpreting the signal from Tor, and<br>
deciding to kill it rather than be happy.<br>
<br>
So: I suspect "bug in centos package" as a good place to investigate.<br>
Maybe there is already a ticket open in your packaging system?<br>
<br>
Be sure also to check other more general issues like "do you have enough<br>
disk space?"<br>
<br>
--Roger<br>
<br>
_______________________________________________<br>
tor-relays mailing list<br>
<a href="mailto:tor-relays@lists.torproject.org" target="_blank">tor-relays@lists.torproject.org</a><br>
<a href="https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays" rel="noreferrer" target="_blank">https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays</a><br>
</blockquote></div>