Citrix ADC TCP Counters

Citrix ADC TCP Counters

book

Article ID: CTX133888

calendar_today

Updated On:

Description

This article contains information about the newnslog Transmission Control Protocol (TCP) counters and its brief description.

Using the Counters

Log on to the NetScaler using an SSH client, change to SHELL, navigate to the /var/nslog directory, and then use the ‘nsconmsg’ command to see comprehensive statistics using the different counters available. For the detailed procedure refer to Citrix Blog - NetScaler ‘Counters’ Grab-Bag!.

The newnslog TCP counters

The following table lists the newnslog TCP counters with a simple description of the counter.

CounterDescription
 tcp_tot_ServerOpenServer connections initiated by the NetScaler appliance after startup. This counter is reset when the appliance restarts.
 tcp_tot_ServerClosedTotal number of closed server connections
 tcp_tot_ClientOpenClient connections initiated on the NetScaler appliance after startup. This counter is reset when the appliance restarts.
 tcp_tot_ClientClosedTotal number of closed client connections
tcp_tot_synSYN packets received
 tcp_tot_syn_probeProbes from the NetScaler appliance to a server. The appliance sends a SYN packet to the server to check its availability and expects a SYN_ACK packet from the server before a specified response timeout.
 tcp_tot_fin_srvrFIN packets received from the server.
 tcp_tot_fin_clntFIN packets received from the clients.
 tcp_tot_timeWaitToSynSYN packets received on connections that are in the TIME_WAIT state. Packets cannot be transferred on a connection in this state.
 tcp_tot_timeWaitDataBytes of data received on connections that are in the TIME_WAIT state. Data cannot be transferred on a connection that is in this state.
 tcp_tot_clnt_flushedClient connections that are flushed because the client is idle for some time.
 tcp_tot_srvr_flushedServer connections that are flushed because there are no client requests in the queue for some time.
 tcp_tot_clnt_flushed_hoHalf-opened client connections that are flushed because the three-way handshakes are not complete.
  tcp_tot_srvr_flushed_hoHalf-opened server connections that are flushed because the three-way handshakes are not complete.
 tcp_tot_clnt_flushed_ahcActive half-closed client connections that are flushed because the client has closed the connection and there is no activity on the connection.
tcp_tot_srvr_flushed_ahcActive half-closed server connections that are flushed because the server has closed the connection and there is no activity on the connection.
 tcp_tot_clnt_flushed_phcPassive half-closed client connections that are flushed because the NetScaler appliance has closed the connection and there is no activity on the connection.
 tcp_tot_srvr_flushed_phcPassive half-closed server connections that are flushed because the NetScaler appliance has closed the connection and there is no activity on the connection.
tcp_err_badchecksumsPackets received with a TCP checksum error.
tcp_err_syn_n_syn_rcvdSYN packets received on a connection that is in the SYN_RCVD state. A connection goes into the SYN_RCVD state after receiving a SYN packet.
 tcp_err_syn_n_estSYN packets received on a connection that is in the ESTABLISHED state. A
SYN packet is not expected on an ESTABLISHED
connection.
 tcp_err_syn_giveupsAttempts to establish a connection on the NetScaler appliance that timed out.
 tcp_err_syn_sentbadackIncorrect ACK packets received on a connection that is in the SYN_SENT state. An incorrect ACK packet is the third packet in the three-way handshake that has an incorrect sequence number.
 tcp_err_syn_retransmitSYN packets resent to a server.
 tcp_err_fin_retransmitFIN packets resent to a server or a client.
 tcp_err_fin_giveupsConnections that were timed out by the NetScaler appliance because of not receiving the ACK packet after retransmitting the FIN packet four times.
 tcp_err_fin_dupNumber of duplicate FIN packets received
 tcp_err_rstReset packets received from a client or a server
 tcp_err_rst_not_estReset packets received on a connection that is not in the ESTABLISHED state
 tcp_err_rst_outof_wndReset packets received on a connection that is out of the current TCP Window
 tcp_err_rst_inTimewaitsReset packets received on a connection that is in the TIME_WAIT state. Packets cannot be transferred on a connection in the TIME_WAIT state.
 tcp_err_srvr_retransmitPackets retransmitted by a server. This usually occurs because the acknowledgement from the NetScaler appliance has not reached the server.
 tcp_err_clnt_retransmitPackets retransmitted by a client. This usually occurs because the acknowledgement from the NetScaler appliance has not reached the client.
 tcp_err_full_retransmitFull packets retransmitted by the client or the server
  tcp_err_partial_retrans mitPartial packet retransmits by a client or server because of congestion on the connection. This usually occurs because the Window advertised by the NetScaler appliance is not big enough to hold the full packet.
tcp_err_srvr_out_of_or derOut of order TCP packets received from a server.
tcp_err_clnt_out_of_or derOut of order TCP packets received from a client.
 tcp_err_hole_clientTCP holes created on a client connection. When out of order packets are received from a client, a hole             is created on the NetScaler appliance for each group of missing packets.
 tcp_err_hole_serverTCP holes created on a server connection. When out of order packets are received from a server, a hole is created on the NetScaler appliance for each group of missing packets.
tcp_err_cookie_pkt_seq_rejectSYN cookie packets rejected because they contain an incorrect sequence number.
 tcp_err_cookie_signat ure_rejectSYN cookie packets rejected because they contain an incorrect signature.
 tcp_err_cookie_pkt_se q_dropSYN cookie packets dropped because the sequence number specified in the packets is outside the  current Window.
 tcp_err_cookie_mssSYN cookie packets rejected because the maximum segment size (MSS) specified in the packets is incorrect.
 
 tcp_err_retransmit
TCP packets retransmitted. The NetScaler appliance attempts to retransmit the packet up to seven times, after which it resets the other half of the TCP connection.
 tcp_err_retransmit_giveupsThe number of times the NetScaler appliance terminates a connection after retransmitting the packet seven times on that connection.
 tcp_max_ClientsThe maximum number of connections that can be made from the system to the Web server(s) attached to it. This value is applied  globally to all attached servers.
 tcp_max_ReqPerConnThe maximum number of requests that the system can pass on a particular connection between the system and a server attached to it. If the Value is zero, then it allows an unlimited number of
requests to be passed.
 tcp_err_cip_allocNumber of times TCP level client header insertion failure
tcp_tot_ClientOpen_RateRate at which connections are opened in the system.
 tcp_tot_acl_bridgePackets matching a bridge Access Control List (ACL), which in transparent mode bypasses service processing.
 tcp_tot_acl_dropPackets dropped because they match ACLs with processing mode set to DENY.
 tcp_tot_acl_allowPackets matching ACLs with processing mode set to ALLOW. NetScaler appliance processes these packets.
 tcp_tot_acl_natPackets matching a NAT ACL, resulting in a NAT session.
tcp_tot_acl_hitsPackets matching an ACL.
 tcp_tot_acl_missPackets not matching any ACL.
 tcp_tot_sacl_bridgeTotal packets that matched a SimpleACL with action BRIDGE and got bridged by NetScaler appliance.
 tcp_tot_sacl_dropPackets dropped because they match Deny Simple ACL.
 tcp_tot_sacl_allowTotal packets that matched a Simple ACL with action ALLOW and got consumed by NetScaler appliance.
 tcp_tot_sacl_hitsPackets matching a simple ACL.
 tcp_tot_sacl_missPackets not matching any simple ACL.
 tcp_tot_sacl_countNumber of simple ACLs configured.
 tcp_tot_sacl6_bridgeTotal packets that matched a SimpleACL6 with action BRIDGE and got bridged by NetScaler appliance.
 tcp_tot_sacl6_dropPackets dropped because they match deny simple ACL6.
 tcp_tot_sacl6_allowTotal packets that matched a SimpleACL6 with action ALLOW and got consumed by NetScaler appliance.
 tcp_tot_sacl6_hitsPackets matching a simple ACL6.
 tcp_tot_sacl6_missPackets not matching any simple ACL6.
 tcp_tot_sacl6_countNumber of simple ACL6s configured.
 tcp_tot_acl6_bridgePackets matching a bridge IPv6 ACL, which in transparent mode bypasses service processing.
 tcp_tot_acl6_dropPackets dropped because they match IPv6 ACLs with processing mode set to DENY.
 tcp_tot_acl6_allowPackets matching IPv6 ACLs with processing mode set to ALLOW. NetScaler
appliance processes these packets.
 tcp_tot_acl6_natPackets matching a NAT ACL6, resulting in a NAT session.
 tcp_tot_acl6_hitsPackets matching an IPv6 ACL.
 tcp_tot_acl6_missPackets not matching any IPv6 ACL.
 pbr_tot_allowTotal packets that matched the PBR with action ALLOW
 pbr_tot_denyTotal packets that matched PBR with action DENY
 pbr_tot_hitsTotal packets that matched any PBR
 pbr_tot_missTotal packets that did not match any PBR
tcp_tot_rxpktsTCP packets received
tcp_tot_rxbytesBytes of TCP data received
tcp_tot_txpktsTCP packets transmitted
tcp_tot_txbytesBytes of TCP data transmitted
 pcb_tot_zombie_calledNumber of times the Zombie cleanup function is called.
Every time a connection is flushed, it is marked for cleanup. The Zombie cleanup function clears all these connections at predefined intervals.
 tcp_tot_synheldSYN packets held on the NetScaler appliance that are waiting for a server connection.
 tcp_tot_synheld_flushedSYN packets flushed on the NetScaler appliance because of no response from the server for three or more seconds.
 tcp_tot_fintimewaitcon nclosedearlyConnections closed on the NetScaler appliance because the number of connections in the TIME_WAIT state has exceeded the default value of 7000.
 tcp_err_any_portalloc_ failedPort allocations that have failed on a mapped IP address because the maximum limit of 65536 has exceeded or the mapped IP address is not configured.
 tcp_err_ip_portalloc_failedPort allocations that have failed on a subnet IP address or virtual server IP address because the maximum limit of 65536 has exceeded.
 tcp_err_stray_packetsPackets received on a connection whose state is not maintained on the NetScaler appliance.
 tcp_err_send_rstReset packets sent to a client or a server.
tcp_err_bad_state_con nectionsConnections that are not in a valid TCP state.
 tcp_tot_fast_retransmitTCP packets on which the NetScaler appliance performs a fast
retransmission in response to three duplicate acknowledgements or a partial acknowledgement.
The appliance assumes that the packet is lost and retransmits the packet before its time-out.
 tcp_err_1st_retransmitPackets retransmitted once by the NetScaler appliance.
tcp_err_2nd_retransmitPackets retransmitted twice by the NetScaler appliance.
 tcp_err_3rd_retransmitPackets retransmitted three times by the NetScaler appliance.
 tcp_err_4th_retransmitPackets retransmitted four times by the NetScaler appliance.
 tcp_err_5th_retransmitPackets retransmitted five times by the NetScaler appliance.
 tcp_err_6th_retransmitPackets retransmitted six times by the NetScaler appliance.
 tcp_err_7th_retransmitPackets retransmitted seven times by the NetScaler appliance. If this fails, the appliance terminates the connection.
 tcp_err_data_after_finBytes received following a connection termination request. This error is usually caused by reordering packets during transmission.
 tcp_err_thresholdReset packets dropped because the default threshold of 100 resets per 10 milliseconds has exceeded. This is a configurable value using the set rate Control command.
 tcp_err_oowindowPackets received that are out of the current advertised Window.
 tcp_err_in_congestion
_syndropped
SYN packets dropped because of network congestion.
 tcp_tot_bdg_mac_movedThe number of times bridging registered MAC moved
 tcp_tot_bdg_collisionsThe number of bridging table collisions
 tcp_err_bdg_mutedThe number of bridging related interface mutes
 bdg_tot_pktsThe total number of bridged traffic
 bdg_tot_MbitsThe total number of bridged Mbits
 tcp_cur_ServerConnServer connections, including connections in the Opening, Established, and Closing state.
 tcp_cur_ServerConnClosingServer connections in the Closing state, which indicates that the connection termination process has initiated but is not complete.
 tcp_cur_ServerConnEstCurrent server connections in the Established state, which indicates that data transfer can occur between the NetScaler appliance and the server.
 tcp_cur_ServerConnOpeningServer connections in the Opening state, which indicates that the handshakes are not yet complete.
  tcp_cur_ClientConnClient connections, including connections in the Opening, Established, and Closing state.
 tcp_cur_ClientConnClosingClient connections in the Closing state, which indicates that the connection termination process has initiated but is not complete.
 tcp_cur_ClientConnEstCurrent client connections in the Established state, which indicates that data transfer can occur between the NetScaler appliance and the client.
 tcp_cur_ClientConnOpeningClient connections in the Opening state, which indicates that the handshakes are not yet complete.
 tcp_cur_surgequeuelenConnections in the surge queue. When the NetScaler appliance cannot open a connection to the server, for example when maximum connections are reached, the appliance queues these requests.
 tcp_cur_GlobalReusePoolSpare connections available. To save time and resources in establishing another connection for a new client, the connection on the server is not closed after completing the request from the first client and is available for serving future requests.
 tcp_cur_active_server
_conn
Connections to a server currently responding to requests.
 tcp_cur_nServersThe number of physical servers that the NetScaler appliance has opened connections with.
 tcp_tot_reuse_hitTotal number of client transactions found with the server connection in the reuse-pool.

Issue/Introduction

This article contains information about the newnslog Transmission Control Protocol (TCP) counters and its brief description.