How to clean up CAM Queues?

Document ID : KB000052209
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

To solve issues where applications cannot properly communicate via CAM due to performance problems and timeouts, the solution provides tasks to be considered when cleaning the CAM Queues.

Solution:

Run the camstat command on the systems experiencing bad CAM performance (camping timeouts), and then review the camstat output as displayed as in the sample below:

C:\>camstat
 
CAM - <nodename>      Version 1.12 (Build 28) up 0 days 8:22
 
Host                  proto state  port  Qlen  m/sent  m/recv  retry  disc  RTO
--------------------- ----- ----- ----- ----- ------- ------- ------ ----- ----
<nodename1>            udp   ---   4104     0     337     333      0     0    1
 
Application            proto state port   Qlen  m/sent m/recv  retry  disc  hold
---------------        ----- ----- ----- ----- ------- ------- ------ ----- ----
CAI006892-00000         tcp   CON  4105     2       0       1      0     0   60
CAI003260-00053         tcp   CON  4105     0     512     512      0     0   60
CAI002508-00000         tcp   CON  4105     0       8       8      0     0   60
CAI003260-00020         tcp   CON  4105     0       6       6      0     0   60
CAI003260-00000         tcp   CON  4105     0     152     152      0     0   60
LOGONNOTIFIER           tcp   DIS   4105    0       0       1      0     0   60
RCMANAGER               tcp   CON  4105     0      11      11      0     0   60
CAITRMAGENT             tcp   CON  4105     0       0       0      0     0   60
CFNOTIFY                tcp   CON  4105     0       1       0      0     0   60
CAI002796-00001         tcp   CON  4105     0       3       3      0     0   60
CAI002796-00000         tcp   CON  4105     0      25      25      0     0   60
U-CFCERTEX              tcp   CON  4105     0       0       0      0     0   60
CAI002544-00000         tcp   CON  4105     0      14      14      0     0   60
CAI002460-00000         tcp   CON  4105     0     443     443      0     0   60
$U-CSMAGENT             tcp   CON  4105     0       3       6      0     0   60
U-CSMAGENT              tcp   CON  4105     0       0       0      0     0   60
CAI001876-00000         tcp   CON  4105     0      65      65      0     0   60
U-NS                    tcp   CON  4105     0       0       0      0     0   60
U-NSC                   tcp   CON  4105     0       0       0      0     0   60
CAI004084-00002         tcp   CON  4105     0       4       4      0     0   60
CAI004084-00000         tcp   CON  4105     0      29      29      0     0   60
CAI000584-00000         tcp   CON  4105     0    1969    1969      0     0   60
CcnfAgentWorker         tcp   CON  4105     0    5279    5277      0     0   60
U-CAF                   tcp   CON  4105     0     558     558      0     0   60
U-SM                    tcp   CON  4105     0      12      12      0     0   60
 
Hosts 1 - 0 cots (0 active), 1 udp, total queued 0, ave qlen 0.0
Applications 25 (24 active), total queued 2, ave qlen 0.1
Load average (m/s): send 0.68, 0.07, 0.41, receive 0.15, 0.07, 0.41
Total messages: sent 12374, received 12362
Supported Protocols: UDP, TCP

The CAM queues are the names listed under Application column.

The values in the Qlen column indicate the number of outstanding CAM requests.

These are stored in the %CAI_MSQ%\qlocal and %CAI_MSQ%\qremote folders.

To cleanup a CAM queue execute the following command: camq -c -d <queue name>