[Mono-list] Writing daemons in C# - SCM for Linux

Kai Strempel kstrempel@gmx.de
Fri, 22 Nov 2002 15:36:30 +0100 (MET)


> > Hello,
> > 
> > Mathias Hasselmann wrote...
> > >>I'm also voting for the mono based service manager. Additionally to
> the
> > >>compatibility issue I could imagine that we also would gain some
> > >>efficience from using a mono based service manager: See the Mono
> runtime
> > >>would be launched only once (potentially faster startup) and as long
> as
> > >>not explicitly requested to deal it different all the services could
> > >>life in appdomains of the same mono vm...
> > 
> > putting all services in one SysV process is a bad idea. Because, if one
> > hangs or crashed the hole mono::SCM is crushing. Appdomains are not the
> solut
> > ion.
> > For example if a p/invoke process crushed the appdomain has no change to
> > recover this process.
> 
> I'm not really involved in this discussion, but to me, this solution
> of having a mono-based service manager sounds a lot like creating
> a mono version of init for mono-based processes.
> 
> -- 
> Tim Coleman <tim@timcoleman.com>                       [43.43 N 80.45 W]
> BMath, Honours Combinatorics and Optimization, University of Waterloo
> Software Developer, Global Services, Open Text Corporation
> "Under capitalism, man exploits man.  Under communism, it's just the
>  opposite." -- J.K. Galbraith
> 

It sound a bit so. But we try to support the hole .NET service namespace. We
try to find a way that is between the init way and the .NET way for
registering, managing and running daemons on Linux.

Bye Kai...

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!