logwatch 가 원래 이정도로 cpu 를 많이 먹나요?

망치의 이미지

[root@localhost ~]# ps axww
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:02 init [3]
    2 ?        SN     0:00 [ksoftirqd/0]
    3 ?        S<     0:00 [events/0]
    4 ?        S<     0:00 [khelper]
    5 ?        S<     0:00 [kblockd/0]
    6 ?        S      0:00 [khubd]
   36 ?        S      0:53 [pdflush]
   37 ?        S      1:16 [pdflush]
   39 ?        S<     0:00 [aio/0]
   33 ?        S      0:02 [kapmd]
   38 ?        S      2:11 [kswapd0]
  185 ?        S      0:00 [kseriod]
  297 ?        S      0:21 [kjournald]
 1364 ?        S<s    0:00 udevd
 1445 ?        S<     0:00 [kauditd]
 1488 ?        S<     0:00 [kmirrord]
 1511 ?        S      0:00 [kjournald]
 1512 ?        S      1:16 [kjournald]
 1513 ?        S      0:40 [kjournald]
 1514 ?        S      1:13 [kjournald]
 2145 ?        Ss     0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0
 2192 ?        Ss     0:03 syslogd -m 0
 2196 ?        Ss     0:00 klogd -x
 2223 ?        Ss     0:00 portmap
 2242 ?        Ss     0:00 rpc.statd
 2268 ?        Ss     0:00 rpc.idmapd
 2299 ?        Ss     0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript
 2358 ?        S      0:13 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a
 2373 ?        Ss     0:01 cupsd
 2447 ?        Ss     0:00 /usr/sbin/sshd
 2460 ?        Ss     0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
 2469 ?        S      0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf
 2530 ?        S      0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid
 2560 ?        Sl   294:54 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/lib/mysql/mysql.sock
 2586 ?        Ss     0:00 gpm -m /dev/input/mice -t imps2
 2598 ?        Ss     1:32 /usr/sbin/httpd
 2607 ?        Ss     0:01 crond
 2624 ?        Ss     0:00 /usr/sbin/atd
 2633 ?        Ssl    0:00 dbus-daemon-1 --system
 2643 ?        Ss     0:14 hald
 2650 tty1     Ss+    0:00 /sbin/mingetty tty1
 2651 tty2     Ss+    0:00 /sbin/mingetty tty2
 2652 tty3     Ss+    0:00 /sbin/mingetty tty3
 2653 tty4     Ss+    0:00 /sbin/mingetty tty4
 2654 tty5     Ss+    0:00 /sbin/mingetty tty5
 2655 tty6     Ss+    0:00 /sbin/mingetty tty6
21128 ?        Ss     0:00 smbd -D
21129 ?        S      0:00 smbd -D
21140 ?        Ss     0:42 nmbd -D
25487 ?        S      0:39 smbd -D
30123 ?        S      0:00 crond
30124 ?        Ss     0:00 /bin/bash /usr/bin/run-parts /etc/cron.daily
30125 ?        S      0:00 /usr/bin/perl -w /etc/cron.daily/00-logwatch
30126 ?        S      0:00 awk -v progname=/etc/cron.daily/00-logwatch progname {?????   print progname ":\n"?????   progname="";????       }????       { print; }
31269 ?        S      0:00 /bin/mail -s LogWatch for localhost.localdomain root
31270 ?        S      0:00 sh -c ( /bin/cat /tmp/logwatch.Kkw30132/http  |  /etc/log.d/scripts/services/http) 2>&1
31271 ?        S      0:00 sh -c ( /bin/cat /tmp/logwatch.Kkw30132/http  |  /etc/log.d/scripts/services/http) 2>&1
31272 ?        S      0:04 /bin/cat /tmp/logwatch.Kkw30132/http
31273 ?        R    150:00 /usr/bin/perl /etc/log.d/scripts/services/http
14743 ?        S      0:18 /usr/sbin/httpd
16129 ?        S      0:11 /usr/sbin/httpd
16599 ?        S      0:13 /usr/sbin/httpd
16614 ?        S      0:12 /usr/sbin/httpd
18585 ?        S      0:10 /usr/sbin/httpd
19608 ?        S      0:07 /usr/sbin/httpd
20065 ?        S      0:06 /usr/sbin/httpd
20066 ?        S      0:06 /usr/sbin/httpd
20071 ?        S      0:05 /usr/sbin/httpd
20072 ?        S      0:06 /usr/sbin/httpd
20073 ?        S      0:06 /usr/sbin/httpd
20362 ?        S      0:05 /usr/sbin/httpd
20911 ?        S      0:05 /usr/sbin/httpd
20961 ?        S      0:04 /usr/sbin/httpd
21085 ?        S      0:04 /usr/sbin/httpd
21176 ?        Ss     0:00 sshd: root@pts/0
21180 pts/0    Ss     0:00 -bash
21265 ?        S      0:04 /usr/sbin/httpd
21284 ?        S      0:03 /usr/sbin/httpd
21908 ?        S      0:02 /usr/sbin/httpd
22315 ?        S      0:01 /usr/sbin/httpd
22689 ?        S      0:01 /usr/sbin/httpd
23205 pts/0    R+     0:00 ps axww

엄청나게 먹어대는데.. 4시부터 7시 정도까지 cpu 를 풀로 먹고 있습니다.
전에 해킹으로 오인했던 그 부분입니다. (아직 오인이라고 확신하진 못하겠습니다 --; )

File attachments: 
첨부파일 크기
Image icon cpuusage.gif5.9 KB
블루스크린의 이미지

4시에서 6시사이에 top을 보여주세요

혹시 로그중에 rotate 가 되지 않고 엄청 큰 파일이 있을 수도 있죠

-------------------------------------------------------------------------------
이 댓글(comment)의 수정 및 삭제를 위해 이 글에 답글(reply)을 쓰지 말아 주십시요.
의견이 있으시면 원 글에 댓글(comment)로 써 주세요.

망치의 이미지

아파치 access 로그가 400메가 가량 되는데.. 이것때문일까요?

주기적으로 정리해주는데..;

---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.