Experimental Physics and Industrial Control System
|
At some point during 3.14, the name resolution was moved into a separate
thread and handled asynchronously. (Before, there were situations, where
a DNS malfunction or misconfiguration could hang up an otherwise
perfectly working CA system.)
As a side effect, there's now a race condition when you ask for the CA
properties after connecting to a channel. If name resolution finishes
first, you get the name. If it's a bit too slow, you get nothing.
Installing a local caching name server increases the chance for the name
resolution to finish first. It is not needed for CA to work properly,
just for seeing the user/host info immediately.
BTW: a caching name server is not a bad idea, in general. Usually it
improves system stability in cases of DNS trouble.
Best regards,
Ralph
Dirk Zimoch wrote:
Hi Carl,
I think the problem started with 3.14.8. When you try again, you will
see that sometimes the host name is there and sometimes not. I think
the CA library is a bit impatient with the name server. Maybe Jeff can
have a look at some timeout.
Dirk
Carl Schumann wrote:
Hi,
I ran cainfo for a PV but did not get a result for host:
[schumann@smartcon1 ~]$ caget PD_MOD1:tstable
PD_MOD1:tstable /tmp/table_data.15901.dat
[schumann@smartcon1 ~]$ cainfo PD_MOD1:tstable
PD_MOD1:tstable
State: connected
Host: Access: read, write
Data type: DBR_STRING (native: DBF_STRING)
Element count: 1
[schumann@smartcon1 ~]$
Since the caget is working there would it appears have to be a host
of some sort. Is there an explanation for the blank host field?
Attempts to find an explanation at the ANL web site were unsuccessful.
Thanks,
Carl
- Replies:
- RE: cainfo does display host info Jeff Hill
- References:
- cainfo does display host info Carl Schumann
- Re: cainfo does display host info Dirk Zimoch
- Navigate by Date:
- Prev:
Re: labview w/ CA Paul Sichta
- Next:
Re: labview w/ CA Dale L. Brewe
- 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: cainfo does display host info Dirk Zimoch
- Next:
RE: cainfo does display host info Jeff Hill
- 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
|
ANJ, 31 Jan 2014 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|