I have some problems of communication between an IOC and a client, both
running on different machines on the same subnetwork on a similar
environment (Epics v 13.4.7 under linux redhat 9.0 kernel 2.4.20-8).
At the beginning of the startup of the IOC, process variable values can
be got without problems from a client (either a simple command line or a
php script), but after a while, the data is not available any more and
the following message shows up on the IOC side :
CAS: request from 192.168.101.21:55894 => "bad resource ID"
CAS: Request from 192.168.101.21:55894 => cmmd=12 cid=0xffffffff type=0
count=0 postsize=0
CAS: Request from 192.168.101.21:55894 => available=0x1 N=0
paddr=(nil)
CAS: forcing disconnect from 192.168.101.21:55894
Would someone have an idea of what's going on ?
I have no guesses at this point, but instead a few questions.
O Is this Linux running on a typical Intel x86 computer?
O What does the output from the "casr 10" command, typed into the IOC's
console when the failure is occurring, provide?
O I would also look at the cpu, memory, and socket consumption in the IOC's
host using top and netstat.
O Is 192.168.101.21 the IP address of the host for the client that isn't
able to connect, or does the host IP in the message vary?
O Does the IOC appear to be functioning correctly in other respects when
this occurs?
O Does the IOC have any layered products (such as drivers) installed when
this occurs?
Jeff
-----Original Message-----
From: Christophe Moins [mailto:[email protected]]
Sent: Monday, July 17, 2006 6:08 AM
To: [email protected]
Subject: CA communication problems
Hello,
I have some problems of communication between an IOC and a client, both
running on different machines on the same subnetwork on a similar
environment (Epics v 13.4.7 under linux redhat 9.0 kernel 2.4.20-8).
At the beginning of the startup of the IOC, process variable values can
be got without problems from a client (either a simple command line or a
php script), but after a while, the data is not available any more and
the following message shows up on the IOC side :
CAS: request from 192.168.101.21:55894 => "bad resource ID"
CAS: Request from 192.168.101.21:55894 => cmmd=12 cid=0xffffffff type=0
count=0 postsize=0
CAS: Request from 192.168.101.21:55894 => available=0x1 N=0
paddr=(nil)
CAS: forcing disconnect from 192.168.101.21:55894
Would someone have an idea of what's going on ?
Thanks for your help
Christophe