Guest

Preview Tool

Cisco Bug: CSCvu08440 - nginx process memory leak while polling device via NXAPI may cause kernel panic

Last Modified

Sep 22, 2020

Products (61)

  • Cisco Nexus 9000 Series Switches
  • Cisco Nexus 3636C-R Switch
  • Cisco Nexus 9516 Switch
  • Cisco Nexus 3548 Switch
  • Cisco Nexus 92348GC-X Switch
  • Cisco Nexus 3548-X Switch
  • Cisco Nexus 92160YC-X Switch
  • Cisco Nexus 9396TX Switch
  • Cisco Nexus 31108TC-V Switch
  • Cisco Nexus 93108TC-FX Switch
View all products in Bug Search Tool Login Required

Known Affected Releases

9.3(2)

Description (partial)

Symptom:
A Nexus switch may reboot due to kernel panic. 

N9K# show system reset-reason
----- reset reason for module 1 (from Supervisor in slot 1) ---
1) At 670914 usecs after Fri Apr 10 07:05:58 2020
    Reason: Kernel Panic
    Service: 
    Version: 9.3(2)

kernel stack trace indicates the panic was caused by out of memory. 

N9K# show logging onboard stack-trace

<0>[1425843.864458] nxos_panic: Kernel panic - not syncing: Out of memory: system-wide panic_on_oom is enabled

the process memory table shows that nginx_1 is rapidly growing in Used/Holding memory. Might emerge at the top of the sorted table at some point. 
 
N9K# show processes memory | sort -n -k 4 -r

  985  515567616  0           726188032   ffb090b0/ffb0504c  nginx_1   <<<<<<<<< bubbling up the table
31177  55734272  1092112256  600702976   ff9e6470/ff9e62c0  netstack
  680  25169920  850820595   540766208   ffc77040/ffc76f20  rpm

Conditions:
python script making python requests to perform http get is running on the switch
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.