Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  Index 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
<== Date ==> <== Thread ==>

Subject: tnetDrv behavior
From: Peregrine McGehee <peregrin@apo.nmsu.edu>
To: tech-talk@aps.anl.gov
Date: Fri, 05 Jul 2002 15:20:18 -0600
In tracking down an apparent channel access failure, we 
discovered that the terminal server driver (tnetDrv) behaves 
badly when the addressed terminal server port is logged out.

Specifically, the combination of the default high priority
(3) of the tTnet task coupled with the lack of a timeout
argument in the following causes the IOC to lock up.

  if (select (FD_SETSIZE, &readFds, NULL, NULL, NULL) == ERROR)
        {
            logMsg ("tnetDev: ERROR--select 0x%x\n",
                getErrno, NULL, NULL, NULL, NULL, NULL);
            break;
        }

Deletion of the tTnet task restored both channel access and
telnet communications.

We will add a default timeout argument to this select call - unless
other tnetDrv users have already done so.

- Peregrine
-- 
Peregrine M. McGehee		(505) 437-6822
Sloan Digital Sky Survey	Apache Point Observatory

Navigate by Date:
Prev: Re: GreenSpring memory Andrew Johnson
Next: Re: waveform calculations Alexei Dmitrovski
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
Navigate by Thread:
Prev: Re: waveform calculations Alexei Dmitrovski
Next: 3.14 vs g++ Jim Thomas
Index: 1994  1995  1996  1997  1998  1999  2000  2001  <20022003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017 
ANJ, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·