Comment 1 for bug 1532328

Revision history for this message
Andrew Johnson (anj) wrote :

Confirmed:

tux$ time caget this-is-not-a-real-pv
Channel connect timed out: 'this-is-not-a-real-pv' not found.

real 0m1.012s
user 0m0.005s
sys 0m0.005s

tux$ export EPICS_CA_NAME_SERVERS=nomachine
tux$ time caget this-is-not-a-real-pv
../iocinf.cpp: Parsing 'EPICS_CA_NAME_SERVERS'
 Bad internet address or host name: 'nomachine'
Channel connect timed out: 'this-is-not-a-real-pv' not found.

real 0m1.020s
user 0m0.006s
sys 0m0.006s

tux$ export EPICS_CA_NAME_SERVERS=tux
tux$ time caget this-is-not-a-real-pv
CAC: Unable to connect because "Connection refused"
Channel connect timed out: 'this-is-not-a-real-pv' not found.
CAC TCP socket shutdown error was Transport endpoint is not connected

real 0m30.015s
user 0m0.003s
sys 0m0.010s

If there is a real name-server (or an IOC) on the host with no such PV, the failure is fast again:

tux$ time caget this-is-not-a-real-pv
Channel connect timed out: 'this-is-not-a-real-pv' not found.

real 0m1.010s
user 0m0.007s
sys 0m0.006s