Magnus Hagander mha
Tue Sep 20 22:30:48 PDT 2005
> Hi All...
> 
> I was wondering if anyone had any code that monitors a slon 
> and, if it stops, restarts it?  If so, would you be willing 
> to share?  I have servers in other places and, very 
> occasionally, connectivity is briefly lost, which kills the slon.
> 
> Thanks very much...

Couldn't you just run it under a shellscript that automatically restarts
it? Something like:

while [ true ]; do
 /path/to/slon -commandline
done

Or start it from init, which will handle respawning and also throttling
if something bad happens..

//Magnus


More information about the Slony1-general mailing list