Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Create and access a list of your products
  • Manage your Dell EMC sites, products, and product-level contacts using Company Administration.

Dell EMC Networking OS9 - S4810, MXL 및 Z9000 스위치에서 메모리 모니터링

Summary: Force10 S4810, MXL 및 Z9000 스위치에 메모리 누수가 의심되는 경우 수집해야 하는 출력 목록

This article may have been automatically translated. If you have any feedback regarding its quality, please let us know using the form at the bottom of this page.

Article Content


Symptoms

이 문서에서는 메모리 누수가 의심되는 경우에 수집해야 하는 출력 목록에 대해 설명합니다.

 

Resolution

대부분의 경우 메모리 누수는 매우 느린 프로세스이며 이러한 경우에는 광범위한 로그 분석이 필요합니다.

메모리의 어느 부분이 영향을 받는지 분석하고 알기 위해 여러 개의 출력 샘플이 필요할 수 있습니다.

 메모리 모니터링 도구

메모리 모니터링 도구는 S4810, MXL 및 Z9000 9.1(0.0P6+) 릴리스에 통합되었습니다.  이 도구는 잠재적인 메모리 누수 문제를 해결하는 데 유용한 상세한 데이터 할당 사용량을 수집합니다.  메모리 모니터링 도구는 콘솔 또는 텔넷 세션을 통해 액세스할 수 있습니다. 

 

1. 메모리 모니터링 도구 활성화

 메모리 모니터링 도구를 활성화합니다.

 사용 예:

remote-exec cp f10mc -i 0x87

 예:

명령:

Z9000#remote-exec cp f10mc -i 0x87

시스템 응답:

f10mc -i 0x87

f10mc: Initialized for malloc, pool, pool_cache, with filter for F10 allocations

SStk-0 #

 2. 데이터 수집

2a: 주기적 일반 메모리 데이터 수집

며칠 동안 매일 주기적으로(4~6시간 간격) 데이터를 수집합니다.  출력을 수집하려면 다음 명령을 실행합니다.  다음 명령은 시스템의 일반 메모리 세부 정보를 표시합니다.  출력이 수집될 때마다 출력의 주기 번호가 하나씩 증가합니다.

 사용 예:

remote-exec cp f10mc -r 0

  예:

명령:

Z9000#remote-exec cp f10mc –r 0

시스템 응답:

f10mc -r 0

{

----------------------

#### This cycle: 46176 bytes held by 56 allocations ####

  M:       1888(16); +2329280(18371), -2329280(18371)

  P:          0(0); +0(0), -0(0)

 PC:      44288(40); +3053056(11226), -3053056(11226)

#### Since MCInit: 708902 bytes held by 2112 allocations ####

  M:      52006(1338); +110122134(928732), -110070128(927394)

  P:          0(0); +0(0), -0(0)

 PC:     656896(774); +148369408(548411), -147712512(547637)

}

SStk-0 #

 

메모리 모니터링 도구 출력 외에 다음 출력이 요청될 수 있습니다.

 관련 명령:

remote-exec cp top -b -o res all

remote-exec cp netstat –m

remote-exec cp vmstat –s

show process memory

show process memory management

show memory

show clock

 2b: 상세한 메모리 데이터 수집

"remote-exec cp f10mc –r 0" 명령의 수집 기간이 끝나면 다음 명령의 출력이 요청됩니다.  다음 명령은 시스템의 정확한 메모리 세부 정보를 제공합니다.

 사용 예:

 remote-exec cp f10mc -r 1

 예:

명령:

Z9000#remote-exec cp f10mc -r 1

시스템 응답:

f10mc -r 1

{

PC:mbpl:0xC71F5200:256:3

PC:mclpl:0xD7C24800:2048:3

PC:mbpl:0xC71F3500:256:3

{output truncated}

PC:mbpl:0xCAFC7F00:256:2

PC:mclpl:0xD7C4D000:2048:2

----------------------

#### This cycle: 286144 bytes held by 266 allocations ####

  M:       3520(16); +21362(417), -20514(415)

  P:          0(0); +0(0), -0(0)

 PC:     282624(250); +1129472(2200), -1126912(2197)

#### Since MCInit: 599392 bytes held by 542 allocations ####

  M:       5216(20); +67838(1335), -62622(1315)

  P:          0(0); +0(0), -0(0)

 PC:     594176(522); +3513088(6660), -2918912(6138)

}

SStk-0 #

 엔지니어링팀에서 수집한 데이터를 평가하고 메모리 누수의 소스를 식별하는 데 도움이 되는 추가 정보를 수집하는 방법에 대한 세부 정보를 제공합니다.  요청된 출력은 의심스러운 메모리 할당에 대한 것입니다.

사용 예:

remote-exec cp f10mc –c 0x

 예:

명령:

Z9000# remote-exec cp f10mc –c 0xCE0DDD00

 시스템 응답:

f10mc -c 0xCE0DDD00

PC:mbpl:0xCE0DDD00:256:2> 0xC0100EAD 0xC033DA54 0xC0137ADE 0xC0136DD0 0xC0142682 0xC013FA17 0xC0148C38 0xC037C808 0xC037BE3F 0xC09B805A

통화 추적:

0xC0100EAD in Xsoftintr

0xC033DA54 in softint_dispatch

0xC0137ADE in ipintr

0xC0136DD0 in ip_input

0xC0142682 in tcp_input

0xC013FA17 in syn_cache_get

0xC0148C38 in tcp_template

0xC037C808 in m_gethdr

0xC037BE3F in m_get

0xC09B805A in f10MC_pool_cache_get_paddr

 SStk-0 #

3: 메모리 모니터링 비활성화

 데이터 검토가 완료된 후 메모리 모니터링 도구를 비활성화합니다.

 사용 예:

remote-exec cp f10mc -i 0x0

예:

명령:

Z9000#remote-exec cp f10mc -i 0x0

 

시스템 응답:

f10mc -i 0x0

f10mc: deinitialized

SStk-0 #

  

Article Properties


Affected Product

Force10 MXL Blade, PowerSwitch S4810P, Force10 Z9000

Last Published Date

21 Feb 2021

Version

3

Article Type

Solution