Forum Discussion

sundogbrew's avatar
sundogbrew
Icon for Altocumulus rankAltocumulus
Jan 09, 2014

Current connections...

I am sure this is an F5 101 but I have never looked into it or tried to figure it out. When I look at my F5s I see that I always have somewhere in the neighborhood of 500 connections but when I look at a host it shows no current connections. Not sure how you are suppose to tell for like patching how many connections are connected to a host either connected or with persistence.

 

Thanks Joe

 

6 Replies

  • you can use the CLI and tmsh to show the of connections for a pool or vip:

     

    [someone@bigip01:Active] config tmsh show ltm pool poolname

     

    Ltm::Pool: xxxxxxxxxxx

    Status Availability : available State : enabled Reason : The pool is available

     

    Traffic ServerSide Bits In 3.2G Bits Out 2.7G Packets In 1.4M Packets Out 886.7K Current Connections 79 Maximum Connections 122 Total Connections 8.0K

     

    [someone@bigip01:Active] config tmsh show ltm virtual xxxxxxxxxxxxxxxxx

     

    Ltm::Virtual Server: xxxxxxxxxxxxxx

    Status Availability : available State : enabled Reason : The virtual server is available CMP : enabled CMP Mode : all-cpus

     

    Traffic ClientSide Ephemeral General Bits In 424.7M 0 - Bits Out 393.4M 0 - Packets In 249.7K 0 - Packets Out 172.1K 0 - Current Connections 8 0 - Maximum Connections 31 0 - Total Connections 1.0K 0 - Min Conn Duration/msec - - 739 Max Conn Duration/msec - - 423.5M Mean Conn Duration/msec - - 21.7M Total Requests - - 0

     

  • You can also view the connections stats from the GUI:

     

    click on a virtual server then the statistics tab. same goes for a pool and it should show current connections

     

  • for persistence table checks run this command:

     

    b conn | grep host address or tmsh show ltm persistence persist-records

     

  • Please could someone help me to understand "how F5 LTM pool member statistics is calculated for the Maximum connection " Also Total connection value is always way larger .

     

    Example - Mem 1 -curr: 937 Max : 2.3K total :12.0M

     

    • Curr is the current number of active connections
    • Max is the highest number of active connections ever seen (high water mark)
    • Total is the total number of connections this pool member has handled since last reboot or statistics reset