Re: tac_plus with multi thread

From: Laurent Bercot <ska-supervision_at_skarnet.org>
Date: Tue, 08 Apr 2014 23:04:37 +0100

On 08/04/2014 22:59, Asif Iqbal wrote:
> Hi All,
>
> Can runit supervise multithreaded appliacation like tac_plus?
>
> tac_plus: https://github.com/mkouhei/tacacs-plus
>
> man tac_plus
>
> -G Remain in the foreground, but not single-threaded nor logging to the
> tty.

  Hi Asif,
  This is all a supervision framework needs. runsv will care of tac_plus -G
just fine.


> -g Single threaded mode. The daemon will only accept and service a
> single connection
> at a time without forking and without closing file descriptors.
> All log messages appear
> on standard output.
>
> This is intended only for debugging and not for normal service.

  Ugh. Someone should definitely point the authors to:
  http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/unix-daemon-design-mistakes-to-avoid.html

-- 
  Laurent
Received on Tue Apr 08 2014 - 22:04:37 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:44:18 UTC