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 | 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 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: cainfo does display host info |
From: | Ralph Lange <[email protected]> |
To: | Carl Schumann <[email protected]> |
Cc: | [email protected] |
Date: | Tue, 21 Jul 2009 16:48:40 -0400 |
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: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.[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 ~]$Thanks, Carl