Guest

Preview Tool

Cisco Bug: CSCul93014 - CoPP process crash due to memory leak

Last Modified

Jun 11, 2019

Products (4)

  • Cisco Nexus 7000 Series Switches
  • Cisco Nexus 7000 10-Slot Switch
  • Cisco Nexus 7000 18-Slot Switch
  • Cisco Nexus 7000 9-Slot Switch

Known Affected Releases

5.2(9)

Description (partial)

Symptom:
The CoPP process crashes frequently due to memory leak in the
process. The memory leak can be verified using the command:

sh sys int copp mem-stats detail | grep <i>COPP_MEM_match_t</i>

The output will be like so:
    COPP_MEM_match_t    86    342      35432     140904

If the first number in the output (86, in above case) is increasing
every 5-10 minutes, then the leak is happening.

There is no security, connectivity, or business impact from this
issue. When the CoPP process crashes, it will subsequently re-start, and
CoPP commands will continue to work. CoPP policies configured will
continue to be in effect.

Conditions:
Hardware Configuration: Cisco Nexus 7000 switch.
Software Configuration: The switch should be running Cisco
NXOS of the following versions:
o 5.2(7)
o 5.2(9)
o 5.2(9a)
o 6.1(2)
o 6.1(4)
o 6.2(2)

Other conditions: The switch should have been upgraded to the
above versions via the following versions:
o 5.2(3)
o 5.2(4)
o 5.2(5)
o 5.2(6)
o 5.2(8)
o 6.1(1)
o 6.1(3)

In addition, while in these transition versions, the user should have
re-created a CoPP policy using the same name, without deleting the
previous policy. This could have been done either manually using the
command:

policy-map type control-plane <i>policy-name</i>

...or using the CoPP copy command:

copp copy profile <i>type</i> {prefix|suffix} <i>name</i>

Problem frequency: Depending on the size of the CoPP
configuration, the process will crash once in a few days.
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.