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  2008  2009  <20102011  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  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to shutdown/restart a soft-ioc from a (watchdog) record
From: Burkhard Kolb <[email protected]>
To: Ralph Lange <[email protected]>
Cc: [email protected]
Date: Thu, 18 Nov 2010 15:32:00 +0100
Hi Ralph,
yes, I tried that. It exits only the thread. Same happens also when I try "exit"
on the iocsh. If I do a ^X in procServ, it kills it immediately - fine.
But I wanted to automate this.
Burkhard
Am 18.11.2010 um 15:07 schrieb Ralph Lange:

> On 18.11.2010 03:02, Burkhard Kolb wrote:
>> [...]
>> The extra code is a library which uses RPC (sun...) to communicate. This is also the
>> component which apparently hangs until there is a "RPC Timeout" which actually takes
>> pretty long.
>> When the epicsExit call is executed the IOC hangs, the clients report after some
>> time the connection loss, but procServ does not restart the IOC because it's not completely
>> exited yet.
> 
> Have you tried the brute force method of just calling plain exit() from the subroutine record?
> The shutdown might be less orderly, but should be instant.
> 
> Ralph
> 



Replies:
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Andrew Johnson
References:
How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Andrew Johnson
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Burkhard Kolb
Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange

Navigate by Date:
Prev: Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange
Next: Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange
Next: Re: How to shutdown/restart a soft-ioc from a (watchdog) record Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  <20102011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·