Connection Numbers Don't add up

Unanswered Question
Jun 14th, 2011

I have a monitoring rule that checks the number of connections on the firewall using the following command:

show conn count

My results are always between 3,000 and 9,000.

A while back, I had an issue where all 130,000 connections were being used up.  I configured a service policy to limit the number of connections between any two end points.

The commands I used were:

     class-map CONNS

      match any

     policy-map global_policy

      class CONNS

       set connection per-client-max 20000 per-client-embryonic-max 20000

I'm monitoring the error logs and I'm noticing that my connection limit rule is being triggered on a regular basis.  I receive the following message

     Per-client connection limit exceeded 20000/20000 for output packet from x.x.x.x to x.x.x.x on interface outside

I'm confused as to the difference between the connections limited by my rule and the connections shown by "show conn count".  Can anybody explain the difference between these connection metrics and why I never see any connections higher than 9,000 using "show conn count" yet I am seeing alerts stating that the firewall has reached 20000 connections?

My firewall is an ASA5510 running

Cisco Adaptive Security Appliance Software Version 8.0(4)
Device Manager Version 6.1(5)51

Thanks,

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 0 (0 ratings)
shrsunda Wed, 06/15/2011 - 14:33

Hi Pete,

The next time you receive this log message, could you please check the outputs of:

show local-host x.x.x.x

for both the source and destination mentioned in the log message?

You should see the number of TCP, embryonic-TCP and UDP connections for that host.

If the command does not give the above output then try adding "detail" or "all" to the same command.

I am not sure, but I think "show conn count" shows only the acive connections count, and may not be counting the embryonic connections.

However, the show local-host command should confirm if the 20k limit is being exceeded or not.

Hope this helps.

-Shrikant

P.S.: Please mark this question as answered if it has been resolved. Do rate helpful posts. Thanks.

Actions

Login or Register to take actions

This Discussion

Posted June 14, 2011 at 8:56 AM
Stats:
Replies:1 Avg. Rating:
Views:441 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 7,861
2 6,140
3 3,170
4 1,473
5 1,446