>> Read No. 51742 article  
시스템이 Cpu가 Full 나면서 자꾸 다운이 되요..고수
님들 도와주세요.

등록 2002-06-30 03:55:00     조회 4
이름 김진수    

		아래는 타서버에서 현재 문제가 있는 서버로 ssh 로 접근하려고 시도할때 나오는 에러입
니다.  현재 접근하려는 서버는 무료계정을 주는곳으로 몇명이 입주하여있는데요..
 요즘 갑자기 이따금씩 CPU 가 100% 풀나면서 시스템은 거의 실신상태입니다...외부에서 핑은
 돌아가는데  외부로그인도 안되고요..
 물론 서버가 입주해있는곳에 전화를 해서 리부팅을 하면 해결이 되지만..그렇게하면 당연
히 안되겠죠..원인을 찾아야지..  제 생각에는 호스팅 입주자중에 사용하는 사람의 제로보
드가 너무 많은 방문자의 쿼리로 인해 문제가 발생하지 않나 생각이 되는데..  그걸 확인하
는방법을 모르겠네요..각 사용자의 mysql 쿼리트래픽(??)  도데체 어떻게 해결을 해야할지 난
감하군요.  시스템은 레드햇리눅스 7.1 버젼이며  mysql-3.23.49  , php-4.1.2  , apache_1.3.23 이며 
아파치 로그는 안남기는 상태이며  하드의 사용량은 약 30% 정도로 하드디스크 Full 은 아닙
니다.  /var/log/messages 에 보아도 로그인정보외에는 특별한 메시지가 없는것으로 보입니다.
 그리고 mysql 실행시 명령어는 
 /usr/local/mysql/bin/safe_mysqld --language=korean -O max_connections=3000 -O table_cache=256 -O wait_timeout=300 & 를
 쓰고 있습니다.  위의 max_connections 부분은 초기에는 1000 으로 했던건데 .. 이렇게 시스템이 
다운되면서 혹시나하고 3000 으로 올려놓은 상태입니다.  더 어떤걸 확인해봐야하죠??
 고수님들의 도움을 부탁드립니다.
  [inerpop@server ~]$ ssh nana@도메인.com
nana@도메인.com's password:
Last login: Sun Jun 30 10:38:34 2002 from 211.111.122.7
bash: /bin/grep: Too many open files in system
bash: /usr/bin/id: Too many open files in system
id: error while loading shared libraries: libc.so.6: cannot load shared object file: Error 23
[: too many arguments
bash: /bin/grep: Too many open files in system
bash: /etc/sysconfig/i18n: Too many open files in system
bash: /etc/profile.d/less.sh: Too many open files in system
tput: error while loading shared libraries: libncurses.so.5: cannot load shared object file: Error 23
bash: pipe error: Too many open files in system
bash-2.04$
 아래주소는 클릭하지마시고 주소에 붙여넣기 하세요.
(클릭하면 그림이 안나오고 붙여넣기하면 나오더라구요.)
 http://myhome.naver.com/okinternow/cpu-day.png http://myhome.naver.com/okinternow/eth0-day.png http://myhome.naver.com/
okinternow/ftpd-day.png http://myhome.naver.com/okinternow/httpd-day.png http://myhome.naver.com/okinternow/io-day.png h
ttp://myhome.naver.com/okinternow/load-day.png http://myhome.naver.com/okinternow/mem-day.png http://myhome.naver.com/ok
internow/swap-day.png    아래는 시스템의 Top 정보입니다.(도움이 될려나?)    3:38am  up 17:04,  2 us
ers,  load average: 215.01, 222.21, 258.94 710 processes: 492 sleeping, 218 running, 0 zombie, 0 stopped CPU0 states: 9
8.11% user,  1.2% system,  0.0% nice,  0.0% idle CPU1 states: 98.9% user,  1.3% system,  0.0% nice,  0.1% idle Mem
:   512988K av,  504664K used,    8324K free,     180K shrd,    2400K buff Swap:1024056K av,  562456K used,  
461600K free                  329776K cached    PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   T
IME COMMAND 22632 nobody    20   0  2032   16    16 R     1.3  0.0   2:17 libhttpd.ep
15031 nobody    20   0  2324   16    16 R     1.3  0.0   3:35 libhttpd.ep
24806 nobody    20   0  2048   40    40 R     1.3  0.0   4:06 libhttpd.ep
28094 nobody    20   0  1960   12    12 R     1.3  0.0   3:16 libhttpd.ep
28593 nobody    20   0  2180   12    12 R     1.3  0.0   3:33 libhttpd.ep
28902 nobody    20   0  2340   20    20 R     1.3  0.0   4:17 libhttpd.ep
29213 nobody    20   0  1996   16    16 R     1.3  0.0   3:01 libhttpd.ep
29221 nobody    20   0  2016   12    12 R     1.3  0.0   3:28 libhttpd.ep
29307 nobody    20   0  2356   12    12 R     1.3  0.0   4:00 libhttpd.ep
 1384 nobody    20   0  2096   20    20 R     1.2  0.0   3:13 libhttpd.ep
 1414 nobody    20   0  2472   24    24 R     1.2  0.0   2:21 libhttpd.ep
 1456 nobody    20   0  2376   20    20 R     1.2  0.0   4:38 libhttpd.ep
13333 nobody    20   0  2068   16    16 R     1.2  0.0   4:26 libhttpd.ep
19366 nobody    20   0  2312   16    16 R     1.2  0.0   4:00 libhttpd.ep
22538 nobody    20   0  2072   24    24 R     1.2  0.0   3:16 libhttpd.ep
22546 nobody    20   0  2332   12    12 R     1.2  0.0   2:07 libhttpd.ep
15030 nobody    20   0  2076   20    20 R     1.2  0.0   3:25 libhttpd.ep
15249 nobody    20   0  2428   16    16 R     1.2  0.0   3:21 libhttpd.ep
15258 nobody    20   0  2336   16    16 R     1.2  0.0   3:35 libhttpd.ep
23334 nobody    20   0  2036   16    16 R     1.2  0.0   3:27 libhttpd.ep
24826 nobody    20   0  2288   12    12 R     1.2  0.0   3:32 libhttpd.ep
25391 nobody    20   0  2000   16    16 R     1.2  0.0   3:32 libhttpd.ep
27246 nobody    20   0  1976   12    12 R     1.2  0.0   2:58 libhttpd.ep
27252 nobody    20   0  1976   16    16 R     1.2  0.0   3:21 libhttpd.ep
27258 nobody    20   0  1968   20    20 R     1.2  0.0   3:31 libhttpd.ep
27489 nobody    20   0  2440   12    12 R     1.2  0.0   4:07 libhttpd.ep
27552 nobody    20   0  2380   16    16 R     1.2  0.0   3:13 libhttpd.ep
27586 nobody    20   0  2200   12    12 R     1.2  0.0   3:30 libhttpd.ep
27587 nobody    20   0  1956   16    16 R     1.2  0.0   3:00 libhttpd.ep
27593 nobody    20   0  2148   16    16 R     1.2  0.0   4:28 libhttpd.ep
27793 nobody    20   0  2164   12    12 R     1.2  0.0   4:18 libhttpd.ep
28024 nobody    20   0  2060   24    24 R     1.2  0.0   3:11 libhttpd.ep
28060 nobody    20   0  2272   16    16 R     1.2  0.0   3:33 libhttpd.ep
28066 nobody    20   0  1988   16    16 R     1.2  0.0   3:29 libhttpd.ep
28072 nobody    20   0  2412   16    16 R     1.2  0.0   4:28 libhttpd.ep
28086 nobody    20   0  2356   28    28 R     1.2  0.0   3:37 libhttpd.ep
28136 nobody    20   0  1900   20    20 R     1.2  0.0   3:29 libhttpd.ep
  파일 시스템 Full 여부
 [root@ns ~]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/ida/c0d0p6       7.3G  2.4G  4.5G  34% /
/dev/ida/c0d0p1        50M  7.5M   40M  16% /boot
    아파치 프로세서 설정
 MinSpareServers 20
MaxSpareServers 40
 #
# Number of servers to start initially --- should be a reasonable ballpark
# figure.
#
StartServers 20
 #
# Limit on total number of servers running, i.e., limit on the number
# of clients who can simultaneously connect --- if this limit is ever
# reached, clients will be LOCKED OUT, so it should NOT BE SET TOO LOW.
# It is intended mainly as a brake to keep a runaway server from taking
# the system with it as it spirals down...
#
MaxClients 1024
이름
암호


>> 관련글
51742 시스템이 Cpu가 Full 나면서 자꾸 다운이 되요..고수님들 도와주세요.  김진수  2002.06.30  ....
  답장 RE: 시스템이 Cpu가 Full 나면서 자꾸 다운이 되요..고수님들 도와주세요.  김서방  2002.06.30  ....
Register [ localhost 목록보기 윗글 아랫글
글쓰기
답장쓰기 수정 삭제
정규표현식 [ 상세 검색 ]
페이지로딩: [ 1.85 초 ] 작업시간: [ 0.22 초 ]

Copyleft 1999-2026 by JSBoard Open Project
Theme Designed by IDOO All right reserved
[TOP]

적수네 동네
+
| 적수네 동네
| 공부방
| 리눅스 잡지 서고
| LSN 소스
| 링크 모음
+---+
게시판
+
| 떠들어보세!
| 질문과 답변
| 새소식과 정보
| 1원짜리 팁?
| 대화방
+---+
칼럼?
+
| 세하 훔쳐보기
| Welcome2nite
| 혜진의 염장판
+---+
리눅스 상표권
+
| 반대 서명란
| 토론 게시판
+---+
GNU
+
| GNU 선언문
| GNU GPL
| GNU 미러 목록
+---+
프로젝트?
+
| 리눅스카운터
| RC5DES
| 실질헌법 제작
+---+
커널 소식
+
| 안정 버젼: 2.4.14
+---+
테마 선택
+
LSN 방송국?
+
| OFF AIR
+---+
회원
+
| 로그인
+---+
[ 적수네 동네 ] [ 리눅스 상표권 독점 반대 ] [ 한글 리눅스 문서 프로젝트 ] [ KrLine ] [ 사랑넷 ] [ Valid HTML 4.0! ] [ SlashDot ] [ Freshmeat ]
Copyleft (C) 1998-2001 Byeong-Chan Kim . License
TIME: 1791346242
System by WYZsoft, HDD by I.O.Linux, Mizi Research, Embryo, WOWLINUX, Domain by SarangNet, Network by KrLine.