리눅스 분류
perl 프로세스 cpu 점유율 100% 문제 ㅠ.ㅠ
작성자 정보
- 울라라 작성
- 작성일
컨텐츠 정보
- 2,633 조회
- 0 추천
- 목록
본문
안녕하세요 .. 가입하자마자 궁금한게 있어서 이렇게 질문글을 먼저 올리네요..
제목에는 perl 프로세스를 말씀드렸지만 실제 무슨 문제인지는 모르고 있습니다.
현재 증상은 이렇습니다.
1. 해당서버는 웹서버입니다.
2. perl 프로세스가 cpu를 100% 점유중입니다.
3. ps -ef |grep PID 를 하면 아리와 같이 perl 이 아닌 sshd로 되어있습니다.
daemon 764 1 41 05:21 ? 05:34:03 sshd
4. 80번 포트를 httpd이 가지고 있어야 하는데 아래와 같이 sshd로 되어있네요...
tcp 0 0 :::80 :::* LISTEN 764/sshd
tcp 0 0 :::22 :::* LISTEN 6938/sshd
5. /tmp 디렉토리에 a b cs.png 이러한 파일들이 생기고 있으며 내용은 스크립트 내용입니다. ( 내용이 필요하면 다시 올리겠습니다.)
6. ps -ef |grep httpd 를 하면 아래와 같은 결과가 나옵니다.
==================================================================================
daemon 3787 1 0 08:29 ? 00:00:00 /usr/local/httpd
daemon 3996 1 0 08:40 ? 00:00:00 /usr/local/httpd
daemon 4253 1 0 08:55 ? 00:00:00 /usr/local/httpd
daemon 4256 1 0 08:55 ? 00:00:04 /usr/sbin/httpd -DL
daemon 4262 1 0 08:55 ? 00:00:00 /usr/sbin/httpd -DL
daemon 4265 1 0 08:55 ? 00:00:00 /usr/sbin/httpd -DL
root 6983 1 0 Apr01 ? 00:00:06 /usr/local/apache/bin/httpd -k start
daemon 21394 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21396 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21403 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21404 6983 0 18:38 ? 00:00:01 /usr/local/apache/bin/httpd -k start
daemon 21411 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21464 6983 0 18:41 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21473 6983 0 18:41 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21498 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21499 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21503 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
root 21559 19477 0 18:47 pts/1 00:00:00 grep httpd
daemon 27881 6983 0 01:18 ? 00:00:01 /usr/local/apache/bin/httpd -k start
=========================================================================================
daemon 21403 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start 의 내용은알겠습니다.
daemon 4253 1 0 08:55 ? 00:00:00 /usr/local/httpd 와
daemon 4256 1 0 08:55 ? 00:00:04 /usr/sbin/httpd -DL 는 무엇인지요. RPM으로 설치시 나타나야 하는것으로 알고있는데 현재 RPM설치는 안된상태입니다. 기존설치된거 삭제하고 소스설치로 다시한것입니다.
제 질문내용이 이해가 안가실수도 있겠다 생각합니다.
정상적이지 않은것같은 내용만 올려놨습니다.
더 필요한 내용이 있으면 말씀해주시기 바랍니다.
제목에는 perl 프로세스를 말씀드렸지만 실제 무슨 문제인지는 모르고 있습니다.
현재 증상은 이렇습니다.
1. 해당서버는 웹서버입니다.
2. perl 프로세스가 cpu를 100% 점유중입니다.
3. ps -ef |grep PID 를 하면 아리와 같이 perl 이 아닌 sshd로 되어있습니다.
daemon 764 1 41 05:21 ? 05:34:03 sshd
4. 80번 포트를 httpd이 가지고 있어야 하는데 아래와 같이 sshd로 되어있네요...
tcp 0 0 :::80 :::* LISTEN 764/sshd
tcp 0 0 :::22 :::* LISTEN 6938/sshd
5. /tmp 디렉토리에 a b cs.png 이러한 파일들이 생기고 있으며 내용은 스크립트 내용입니다. ( 내용이 필요하면 다시 올리겠습니다.)
6. ps -ef |grep httpd 를 하면 아래와 같은 결과가 나옵니다.
==================================================================================
daemon 3787 1 0 08:29 ? 00:00:00 /usr/local/httpd
daemon 3996 1 0 08:40 ? 00:00:00 /usr/local/httpd
daemon 4253 1 0 08:55 ? 00:00:00 /usr/local/httpd
daemon 4256 1 0 08:55 ? 00:00:04 /usr/sbin/httpd -DL
daemon 4262 1 0 08:55 ? 00:00:00 /usr/sbin/httpd -DL
daemon 4265 1 0 08:55 ? 00:00:00 /usr/sbin/httpd -DL
root 6983 1 0 Apr01 ? 00:00:06 /usr/local/apache/bin/httpd -k start
daemon 21394 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21396 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21403 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21404 6983 0 18:38 ? 00:00:01 /usr/local/apache/bin/httpd -k start
daemon 21411 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21464 6983 0 18:41 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21473 6983 0 18:41 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21498 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21499 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
daemon 21503 6983 0 18:43 ? 00:00:00 /usr/local/apache/bin/httpd -k start
root 21559 19477 0 18:47 pts/1 00:00:00 grep httpd
daemon 27881 6983 0 01:18 ? 00:00:01 /usr/local/apache/bin/httpd -k start
=========================================================================================
daemon 21403 6983 0 18:38 ? 00:00:00 /usr/local/apache/bin/httpd -k start 의 내용은알겠습니다.
daemon 4253 1 0 08:55 ? 00:00:00 /usr/local/httpd 와
daemon 4256 1 0 08:55 ? 00:00:04 /usr/sbin/httpd -DL 는 무엇인지요. RPM으로 설치시 나타나야 하는것으로 알고있는데 현재 RPM설치는 안된상태입니다. 기존설치된거 삭제하고 소스설치로 다시한것입니다.
제 질문내용이 이해가 안가실수도 있겠다 생각합니다.
정상적이지 않은것같은 내용만 올려놨습니다.
더 필요한 내용이 있으면 말씀해주시기 바랍니다.
관련자료
-
이전
-
다음
댓글 0
등록된 댓글이 없습니다.