EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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

Subject: CA Server disconnects
From: "Paul Sichta" <[email protected]>
To: <[email protected]>
Date: Wed, 29 Mar 2000 10:02:07 -0500
A few months ago I posted a message about the Alarm Handler (alh)
periodically disconnecting all its records to an IOC,  and then immediately
reconnecting.  This caused alh to alarm COMM INVALID.

It turns out that the disconnects occur exactly 2 hours, 11 mintes, and 15
seconds (that is 7875 seconds) after the most recent CA server 'send'.  I
can observe this server disconnect/reconnect on clients alh (1997 and 1999
versions), medm 2.3.4a,  and the save_set archiver.  The trick is to have an
alh CA client connection which has no alarm transitions for 2:11:15, or a
medm client which has no value change for 2:11:15.  CA connections with
other IOCs do not exhibit this disconnect behavior.

Solaris clients, mv177 server platform, CA V4.8

I have put an alarmcountfilter'd  'keepalive' record in the alh
configuration file which momentarily alarms every hour to reset the server's
'send' time.  Is there a real solution to this or am I missing something?


+=================================================+
(edited) Output from IOC console with CASDEBUG turned on:
+=================================================+

Client Name="owner1", Client Host="host1", V4.8, Channel Count=1
        TId=0X1D6A9E4, Protocol=TCP, Socket FD=12
        Secs since last send 7874.05, Secs since last receive 7874.05
        Unprocessed request bytes=0, Undelivered response bytes=0
        Remote Address xxx.xx.xx.xx Remote Port 57089 State=up

IOC>0x1d6a9e4 (CA client): CAS: Connection 12 Terminated
0x1d6ab14 (CA client): CAS: Recieved connection request
0x1d6ab14 (CA client): from addr xxx.xx.xx.xx, port 57137

IOC>casr 1
Channel Access Server V4.8
Client Name="owner1", Client Host="host1", V4.8, Channel Count=1
        TId=0X1D6AB14, Protocol=TCP, Socket FD=12
        Secs since last send   2.53, Secs since last receive   2.53
        Unprocessed request bytes=0, Undelivered response bytes=0
        Remote Address xxx.xx.xx.xx Remote Port 57137 State=up

IOC >

+=================================================+

--
Paul Sichta
Princeton Plasma Physics Laboratory
609-243-3477



Navigate by Date:
Prev: Re: MEDM widgets Thomas . Birke
Next: All outlinks not created equal?? Brian McAllister
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: MEDM widgets Robert Soliday
Next: All outlinks not created equal?? Brian McAllister
Index: 1994  1995  1996  1997  1998  1999  <20002001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·