[Spread-users] shutting down spread daemon cleanly

Ryan Caudy rcaudy at gmail.com
Thu Oct 28 10:08:20 EDT 2004


Yes.  Use spmonitor to instruct your daemons to exit.  We also have a
stand-alone tool made by stripping out some of the monitor code that
can be used to send a single command of that sort, suitable for
scripting, but I don't think it's public anywhere.  If you need it,
let me know, and I'll try to get you the source code.

Cheers,
Ryan

On Thu, 28 Oct 2004 10:03:01 -0400, Paul Rubel <prubel at bbn.com> wrote:
> Good morning,
> 
> We are using spread and have some automated tests that start start and
> stop spread daemons. We would like to stop the daemon from outside the
> process, i.e. with kill. However, we have had some problems when using
> kill, especially on Solaris.
> 
> When the daemon is killed on solaris it often leaves its socket in the
> TIME_WAIT state. When we go to start up a new daemon it fails because
> the socket isn't available. Is there a way to ensure a clean shutdown
> of the daemon?
> 
>     thank you for your help,
>       Paul
> 
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
> 


-- 
---------------------------------------------------------------------
Ryan W. Caudy
<rcaudy at gmail.com>
---------------------------------------------------------------------
Bloomberg L.P.
<rcaudy1 at bloomberg.net>
---------------------------------------------------------------------
[Alumnus]
<caudy at cnds.jhu.edu>         
Center for Networking and Distributed Systems
Department of Computer Science
Johns Hopkins University          
---------------------------------------------------------------------




More information about the Spread-users mailing list