cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1061
Views
0
Helpful
3
Replies

ACE serverfarm connection stats

Paul Whitmore
Level 1
Level 1

Hi Guy's,

Just wondering if anyone can shed some light on what appears to be a discrepancy in the loadbalanced stats that are produced from a show serverfarm and the stats that my server team report for each loadbalanced server.

For example:

ACE/context1# show serverfarm LIVE

serverfarm     : LIVE, type: HOST

total rservers : 4

---------------------------------

                                                ----------connections-----------

       real                  weight state        current    total      failures

   ---+---------------------+------+------------+----------+----------+---------

   rserver:Server1

       10.10.10.1:0         8      OPERATIONAL  1077       23099      2123

   rserver: Server2

       10.10.10.2:0         8      OPERATIONAL   1099      23533      1830

But the server team report Server1 has 615 and Server2 has 563 active sessions.  I would have thought that both loadbalancer and server statistics on current and active sessions should be the same?

3 Replies 3

ajayku2
Cisco Employee
Cisco Employee

Hi paul,

If you take output for sh conn rserver server1 detail

You will notice that many connection on ACE is in different state. It would not show established.

It may be in CLS-RST or CLOSE state. This happens when the connection are improperly closed.

something like below:

1  in  TCP   101  10.12.18.20:80       10.87.3.184:34484     CLOSED

You will also notice many idle connection waiting for timeout to happen.

This might be one of the reason for the descripancy.

Below is the different port state for your reference:

state:    The state of the connection. Non-TCP connections display "--"

Possible TCP states are:

               INIT -       Initial state of a connection.

               SYNSEEN -    ACE received a SYN.

               SYNACK -     ACE sent a SYNACK.

               ESTAB -      3-way handshake completed and connection is established.

               CLSFIN -     ACE closed the connection with a FIN.

               CLSRST -     ACE closed the connection with a RST.

               CLSTIMEOUT - ACE closed the connection for it timed out.

               CLOSED -     Connection is half closed.

regards,

Ajay Kumar

Thanks very much Ajay.

The status only shows either ESTAB or CLOSED.

Cheers,

Paul.

Hi paul,

Good to know that you can see the reason for the difference in count.

In your case closed are the one which are not there on the server.

regards,

Ajay kumar