
-
1
-
2
-
3
-
4
-
5
-
6
-
7
-
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
-
23
-
24
-
25
-
26
-
27
-
28
-
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41


목차
목차
-라우터 트러블 슈팅
-장비별 트러블 슈팅
-명령어 총집합
-라우터 트러블 슈팅
-장비별 트러블 슈팅
-명령어 총집합
본문내용
메모리 분석
Memory Allocation Failure
라우터가 사용가능한 모든 메모리를 사용
메모리가 작게 fragment되어 사용할 수 있는 메모리 블록을 찾을 수 없음, 이 경우는 프로세서 메모리나, 패킷 메모리에서 발생
현상
The console or log message: "%SYS-2-MALLOCFAIL: Memory allocation of 1028 bytes failed from 0x6015EC84, Pool Processor, alignment 0"
Telnet session이 거부됨
다른 명령어를 입력해도 show processor memory 명령어만 표시
“Low on memory” message가 표시
"Unable to create EXEC - no memory or too many processes"와 같은 console message가 표시
show logging 명령어 입력시
%SYS-2-MALLOCFAIL: Memory allocation of [X] bytes failed from
0x6015EC84, pool [Pool], alignment 0 -Process=
"[Process]" ipl= 6, pid=5
[x] 라우터가 allocate하고자 하나 충분한 free memory를 발견할 수 없는 경우
[pool] processor memory나 packet memory가 영향을 받는지 명시
High end router는 DRAM에 buffer가 있어서 packet memory가 부족하면 pool process로서 표시
7200시리즈나 VIP card는 packet memory를 위해 pool PCI에 error를 보고
[process] 메모리의 부족으로 영향받은 프로세스
원인 및 조치 방법
메모리 크기가 IOS image를 구동하고 라우터가 동작하는데 충분하지 않을 때
메모리 leak bug
프로세서가 메모리를 할당하고 작업이 끝난 후 release하지 않은 경우 발생,
시간이 경과함에 따라 메모리 블록이 reserve되어 free memory가 남는 것이 없어짐,
- 시스코 라우터 IOS가 낮은 경우 발생.
- 라우터를 reload, Software release 11.2(14)를 구동하는 경우 가장 최신의 11.2(x)로 upgrade하도록 함
라우터를 upgrade하지 않는 경우 sh process memory통해 주기적으로 다음 사항 확인,
1) free memory가 줄어들어 release되지 않음,
2) 계속 메모리를 사용만 하는 특정 프로세스 존재 확인
Holding columm을 모니터링
Router> sh memory summary
Head Total (b) Used (b) Free (b) Lowest (b) Largest (b)
Processor 60AB4ED0 5550384 2082996 3467388 3464996 3454608
I/O 40000000 16777216 1937280 14839936 14839936 14838908
Memory Allocation Failure
라우터가 사용가능한 모든 메모리를 사용
메모리가 작게 fragment되어 사용할 수 있는 메모리 블록을 찾을 수 없음, 이 경우는 프로세서 메모리나, 패킷 메모리에서 발생
현상
The console or log message: "%SYS-2-MALLOCFAIL: Memory allocation of 1028 bytes failed from 0x6015EC84, Pool Processor, alignment 0"
Telnet session이 거부됨
다른 명령어를 입력해도 show processor memory 명령어만 표시
“Low on memory” message가 표시
"Unable to create EXEC - no memory or too many processes"와 같은 console message가 표시
show logging 명령어 입력시
%SYS-2-MALLOCFAIL: Memory allocation of [X] bytes failed from
0x6015EC84, pool [Pool], alignment 0 -Process=
"[Process]" ipl= 6, pid=5
[x] 라우터가 allocate하고자 하나 충분한 free memory를 발견할 수 없는 경우
[pool] processor memory나 packet memory가 영향을 받는지 명시
High end router는 DRAM에 buffer가 있어서 packet memory가 부족하면 pool process로서 표시
7200시리즈나 VIP card는 packet memory를 위해 pool PCI에 error를 보고
[process] 메모리의 부족으로 영향받은 프로세스
원인 및 조치 방법
메모리 크기가 IOS image를 구동하고 라우터가 동작하는데 충분하지 않을 때
메모리 leak bug
프로세서가 메모리를 할당하고 작업이 끝난 후 release하지 않은 경우 발생,
시간이 경과함에 따라 메모리 블록이 reserve되어 free memory가 남는 것이 없어짐,
- 시스코 라우터 IOS가 낮은 경우 발생.
- 라우터를 reload, Software release 11.2(14)를 구동하는 경우 가장 최신의 11.2(x)로 upgrade하도록 함
라우터를 upgrade하지 않는 경우 sh process memory통해 주기적으로 다음 사항 확인,
1) free memory가 줄어들어 release되지 않음,
2) 계속 메모리를 사용만 하는 특정 프로세스 존재 확인
Holding columm을 모니터링
Router> sh memory summary
Head Total (b) Used (b) Free (b) Lowest (b) Largest (b)
Processor 60AB4ED0 5550384 2082996 3467388 3464996 3454608
I/O 40000000 16777216 1937280 14839936 14839936 14838908
소개글