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  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: RE: Asyn not automatically reconnecting
From: "Daykin, Evan" <[email protected]>
To: Mark Rivers <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Fri, 2 Mar 2018 21:37:25 +0000
I am using kill -s <TERM,KILL> <PID>.  However, I tried this again and it seems like it was pure chance it worked this way the first time. The only consistent way it works is if the entire device is restarted *without* specifically killing the client process first. 

-----Original Message-----
From: Mark Rivers [mailto:[email protected]] 
Sent: Friday, March 02, 2018 3:19 PM
To: Daykin, Evan <[email protected]>
Cc: [email protected]
Subject: RE: Asyn not automatically reconnecting

How are you killing the client with SIGKILL vs SIGTERM?  I may try to write a simple server that we can test with, killing it both ways.

Mark


> -----Original Message-----
> From: Daykin, Evan [mailto:[email protected]]
> Sent: Tuesday, February 27, 2018 12:18 PM
> To: Mark Rivers <[email protected]>
> Cc: [email protected]
> Subject: RE: Asyn not automatically reconnecting
> 
> 
> Here's something interesting: asyn behaves correctly for us *only* 
> when the client application is killed with SIGKILL, rather than 
> SIGTERM. This results in TCP retransmissions and/or refused 
> connections, then normal operation after a short while.  Is it possible asyn is [un]intentionally not retrying the connection if it is closed gracefully?

References:
Asyn not automatically reconnecting Daykin, Evan
RE: Asyn not automatically reconnecting Daykin, Evan
RE: Asyn not automatically reconnecting Daykin, Evan
RE: Asyn not automatically reconnecting Daykin, Evan
RE: Asyn not automatically reconnecting Daykin, Evan
RE: Asyn not automatically reconnecting Daykin, Evan

Navigate by Date:
Prev: RE: Asyn not automatically reconnecting Mark Rivers
Next: RE: Asyn not automatically reconnecting Mark Rivers
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: Asyn not automatically reconnecting Mark Rivers
Next: Re: Asyn not automatically reconnecting Torsten Bögershausen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 02 Mar 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·