[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-relays] Updating relay using killall -hup command
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@xxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
> https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays
_______________________________________________
tor-relays mailing list
tor-relays@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-relays