Guest

Preview Tool

Cisco Bug: CSCvh79628 - DHCP memory leak due to multiple dhcp_sisf_reply_pkt_create api calls

Last Modified

Aug 13, 2019

Products (1)

  • Cisco Nexus 9000 Series Switches

Known Affected Releases

13.0(2k)

Description (partial)

Symptom:
From the output of the "show dhcp internal  mem-stats detail"  We can see the memory for DHCP_MEM_pkt_buffer increasing

leaf# show dhcp internal mem-stats detail
Private Mem stats for UUID : DHCP Snoop process(442) Max types: 55
--------------------------------------------------------------------------------
TYPE NAME                                           ALLOCS                 BYTES
                                               CURR    MAX       CURR        MAX
47 DHCP_MEM_pkt_buffer                     562160 562161  204907204  204907896


leaf#vsh
leaf#show dhcp internal traces | grep -i dhcp_sisf_reply_pkt
..snip..
1436) 2018 Jan 25 09:53:29.337308 _sisf_reply_pkt_create: 854 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:SISF security check passed. Processing the pkt
1437) 2018 Jan 25 09:53:29.337306 _sisf_reply_pkt_create: 834 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:return value 3
1503) 2018 Jan 25 09:53:29.334791 _sisf_reply_pkt_create: 854 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:SISF security check passed. Processing the pkt
1504) 2018 Jan 25 09:53:29.334787 _sisf_reply_pkt_create: 834 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:return value 3
5726) 2018 Jan 25 09:53:15.809085 _sisf_reply_pkt_create: 854 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:SISF security check passed. Processing the pkt
5727) 2018 Jan 25 09:53:15.809082 _sisf_reply_pkt_create: 834 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:return value 3
5793) 2018 Jan 25 09:53:15.802524 _sisf_reply_pkt_create: 854 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:SISF security check passed. Processing the pkt
5794) 2018 Jan 25 09:53:15.802520 _sisf_reply_pkt_create: 834 : dhcp_sisf_reply_pkt_create:DHCP_SISF_DEBUG:return value 3

Conditions:
Whenever the "dhcp_sisf_reply_pkt_create" api is called there is memory leak. API is called whenever we get a reply from server and the server is not connected directly to client leaf node.
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.