[tor-relays] killall -hup command

Keifer Bly keifer.bly at gmail.com
Wed Jul 4 07:14:03 UTC 2018


I already got the stable flag back this afternoon thanks. Just thought it was a thing to note.

From: Zac
Sent: Tuesday, July 3, 2018 11:57 PM
To: tor-relays at lists.torproject.org
Subject: Re: [tor-relays] killall -hup command

The 'kill' commands send various signals to processes, as defined in signals.h (see https://linux.die.net/man/7/signal).
-hup sends SIGHUP to the process(es), short for hangup. This historically was for when a serial connection was dropped, and the process needed to close / take action accordingly. For daemon processes, and more commonly with modern software, the response to SIGHUP is to re-read configuration files and restart the process.

It is likely the case that you are losing the stable flag because Tor drops existing connections in the process of restarting and reloading configuration when it receives SIGHUP. Someone more familiar with Tor internals might be able to confirm what exactly is happening there.

-MrDetonia
-------- Original Message --------
On 3 Jul 2018, 04:28, Keifer Bly < keifer.bly at gmail.com> wrote:


Hello,

So recently I rebooted my relay using the killall tor -hup command (while I was trying to mae some changes to my torrc file). My relays uptime was not changed at all by this, having a current uptime of about 6 days. However, I noticed today at http://torstatus.blutmagie.de/router_detail.php?FP=db1af6477bb276b6ea5e72132684096eee779d30

My relay lost the stable flag (which it had had for the last about two months). I know not to worry about exactly what flags I have all the time, but it raises the question of what eactly the killall -hup command does?

Thanks.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.torproject.org/pipermail/tor-relays/attachments/20180704/0d5aca2e/attachment.html>


More information about the tor-relays mailing list