[tor-relays] Updating relay using killall -hup command

Michael Brodhead mkb_cbr at mac.com
Fri Jul 20 01:25:42 UTC 2018


You pretty much need language support to make that work. Erlang has had in-process upgrade capability for ages. I'm not aware of another language which does it. Functional languages have an advantage since the top-level loop is typically a function calling itself.

--mkb


> On Jul 19, 2018, at 12:00 AM, Andreas Krey <a.krey at gmx.de> wrote:
> 
> On Wed, 18 Jul 2018 15:01:36 +0000, Matt Traudt wrote:
> ...
>> No. You have to restart the process, thus the relay. (Can you update any
>> other program without restarting it entirely?
> 
> Wasn't exactly a feature but under SunOS/Solaris when you ran a program
> from an NFS mount, and recompiled it, the compiler would write into the
> existing file, and that would change the actual code mapping the program
> ran on (in its process).
> 
> Needless to say, in most cases of nontrivial changes this just lead
> to the program crashing.
> 
> - Andreas
> 
> -- 
> "Totally trivial. Famous last words."
> From: Linus Torvalds <torvalds@*.org>
> Date: Fri, 22 Jan 2010 07:29:21 -0800
> _______________________________________________
> tor-relays mailing list
> tor-relays at lists.torproject.org
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays



More information about the tor-relays mailing list