EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: asyn/stream reconnect problems
From: Eric Norum <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Tue, 29 Jan 2008 08:21:40 -0600
On Jan 29, 2008, at 6:59 AM, Benjamin Franksen wrote:


Anyway, we are now focussing on how to restart soft IOCs from the iocsh, so
that we have at least a fallback inplace.



There were some discussions about this a few months ago. Here's one of my messages:


Ralph Lange would like to have the capability for a soft IOC to reboot itself. The easy way to handle this would be to have the IOC main program fork and wait, run the IOC in the child, when the child wants to reboot it would exit with a magic code -- the parent process would detect this then fork again and the process would repeat. Of course this extra overhead would be performed only when requested -- when a '-R' option is specified,perhaps.

The problem, of course, is Windows. Without cygwin, what can be done?

After some discussion we decided that an easy and portable approach is to run the soft IOC from a perl (or python or tcl or whatever) script and have that script restart the IOC when the IOC terminates. You could limit this to perform the restart only when the IOC terminated with a specific code, if desired.


--
Eric Norum <[email protected]>
Advanced Photon Source
Argonne National Laboratory
(630) 252-4793



References:
RE: asyn/stream reconnect problems Mark Rivers
Re: asyn/stream reconnect problems Dirk Zimoch
Re: asyn/stream reconnect problems Benjamin Franksen

Navigate by Date:
Prev: Re: asyn/stream reconnect problems Benjamin Franksen
Next: Engineer Position at SNS White, Karen S.
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: asyn/stream reconnect problems Benjamin Franksen
Next: Re: asyn/stream reconnect problems Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  <20082009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·