리눅스 분류
메모리에서 이상한점이 보여서 질문드립니다.
작성자 정보
- 변영주 작성
- 작성일
컨텐츠 정보
- 5,150 조회
- 0 추천
- 목록
본문
서버 점검을 하다가 top명령어를 이용해서 시스템 정보를 보았는데.
메모리를 이상하게 많이 잡아먹고 있더군여.
512메가 풀에서 사용량이 거의 2/3 이상을 잡고 있더군여. 쓸데없이 메모
리 잡아먹고 있는것이 있는지 확인해봐도 실제로 메모리 잡아먹는 프로세
스는 보이지 않더군여. 어떻게 관리해야 할까여?
제 시스템 정보입니다.
meminfo안에 파일을 봤더니 free가 160메가 정도 남았더군여. 이제 계정 3
개줘서 돌리고 있는데 문제가 생기지 않을까 걱정입니다. 조언도 해주시
면 정말 고맙겠습니다.
[root@localhost proc]# cat meminfo
total: used: free: shared: buffers: cached:
Mem: 525185024 351395840 173789184 49152 136646656 125911040
Swap: 1135046656 0 1135046656
MemTotal: 512876 kB
MemFree: 169716 kB
MemShared: 48 kB
Buffers: 133444 kB <--
Cached: 122960 kB <--- 버퍼와 캐시는 미리 잡아넣은거 같은데
SwapCached: 0 kB 맞나여? ㅡ__ㅡ;;
Active: 12892 kB
Inact_dirty: 243560 kB <--- 이부분이 무엇을 의미하는건가여?
Inact_clean: 0 kB
Inact_target: 328 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 512876 kB
LowFree: 169716 kB
SwapTotal: 1108444 kB
SwapFree: 1108444 kB
NrSwapPages: 277111 pages
top명령어를 이용한 서버 정보입니다.
2:53pm up 2 days, 19:42, 2 users, load average: 0.00, 0.00, 0.00
110 processes: 105 sleeping, 1 running, 0 zombie, 4 stopped
CPU0 states: 0.0% user, 0.3% system, 0.0% nice, 99.0% idle
CPU1 states: 0.0% user, 0.0% system, 0.0% nice, 100.0% idle
Mem: 512876K av, 343224K used, 169652K free, 48K shrd,
133472K buff
Swap: 1108444K av, 0K used, 1108444K free
122960K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
5705 root 16 0 1076 1076 836 R 0.7 0.2 0:00 top
1 root 8 0 520 520 452 S 0.0 0.1 0:04 init
2 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd
3 root 19 19 0 0 0 SWN 0.0 0.0 0:00
ksoftirqd_CPU0
4 root 19 19 0 0 0 SWN 0.0 0.0 0:00
ksoftirqd_CPU1
5 root 9 0 0 0 0 SW 0.0 0.0 0:00 kswapd
6 root 9 0 0 0 0 SW 0.0 0.0 0:00
kreclaimd
7 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush
8 root 9 0 0 0 0 SW 0.0 0.0 0:00
kupdated
9 root -1 -20 0 0 0 SW< 0.0 0.0 0:00
mdrecoveryd
17 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
95 root 9 0 0 0 0 SW 0.0 0.0 0:00 khubd
218 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
219 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
220 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
221 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
222 root 9 0 0 0 0 SW 0.0 0.0 0:00
kjournald
554 root 9 0 796 796 680 S 0.0 0.1 0:00 dhcpcd
626 root 9 0 592 592 496 S 0.0 0.1 0:00 syslogd
631 root 9 0 1124 1124 448 S 0.0 0.2 0:00 klogd
651 rpc 9 0 696 696 596 S 0.0 0.1 0:00 portmap
679 rpcuser 9 0 836 836 716 S 0.0 0.1 0:00
rpc.statd
831 root 9 0 1272 1272 1148 S 0.0 0.2 0:02 sshd
923 root 9 0 484 484 420 S 0.0 0.0 0:00 gpm
971 root 10 0 664 664 576 S 0.0 0.1 0:00 crond
1019 daemon 9 0 568 568 500 S 0.0 0.1 0:00 atd
1028 root 9 0 1076 1076 856 S 0.0 0.2 0:00 login
1029 root 9 0 448 448 384 S 0.0 0.0 0:00
mingetty
1030 root 9 0 448 448 384 S 0.0 0.0 0:00
mingetty
1031 root 9 0 448 448 384 S 0.0 0.0 0:00
mingetty
1032 root 9 0 448 448 384 S 0.0 0.0 0:00
mingetty
1033 root 9 0 448 448 384 S 0.0 0.0 0:00
mingetty
1036 root 8 0 1380 1380 1004 S 0.0 0.2 0:00 bash
1175 root 9 0 984 968 784 S 0.0 0.1 0:00 xinetd
1348 root 8 0 1984 1984 1436 S 0.0 0.3 0:00
sendmail
1435 nobody 4 0 1064 1064 872 S 0.0 0.2 0:00 proftpd
2270 root 9 0 588 588 456 T 0.0 0.1 0:00 mail
2274 root 9 0 584 584 500 T 0.0 0.1 0:00 more
3463 root 9 0 532 532 456 T 0.0 0.1 0:00 tail
3464 root 9 0 1076 1076 836 T 0.0 0.2 0:00 top
4023 root 9 0 1040 1040 860 S 0.0 0.2 0:00
safe_mysqld
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.
