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
<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: waveform calculations Alexei Dmitrovski
- Next:
3.14 vs g++ Jim Thomas
- 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
2018
2019
2020
2021
2022
2023
2024
|