[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] CPU heavily loaded



Hi! all,

My raq3 has benn sending me this mail for the last days.

###################
Over the past fifteen minutes, the CPU has been heavily loaded.

This will result in noticible performace loss.  Consider moving some of the
services to other Cobalt servers, or reduce the complexity of the CGI
scripts running on the Cobalt server itself.

1 minute load average: 31.11
5 minute load average: 28.12
15 minute load average: 17.41

The processor is currently 25 degrees Celsius.
The system has been running for 0 days, 21 hours, and 35 minutes.
##############

there are very few cgi-script running on the raq.

I tried to "ps -aux" (I've copied the output below)
but it has not cleared the problem.

Is it possible that the CPU overload is due to
a virtual site that is making 350-400Mb/days transfer over 50000-70000 hits.

I looked  at the web.log file.
For all the other virtual sites the cobalt has a log directory with:
ftp.cache.new
ftp.log
...
...
web.cache.new 1Kb
web.log 97 Kb
web.stats 4Kb


For the site making a lot of traffic I see:

ftp.cache.new
...
...
 web.log               0byte
web.log.1.gz  1985 Kb
web.cache.new 2789 Kb
web.stats  1796 Kb

When I downloaded the log file from the web based interface i got a 10 Mb
file!

Is it possible that the CPU is overloaded becouse of handling such a big
file?
If not, any idea?

Ciao Grazie


Filiberto





[admin@www ~]$ ps -aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0  1096    0 ?        SW   Oct24   0:05 [init]
root         2  0.0  0.0     0    0 ?        SW   Oct24   0:00 [kflushd]
root         3  0.0  0.0     0    0 ?        SW   Oct24   0:00 [kupdate]
root         4  0.0  0.0     0    0 ?        SW   Oct24   0:00 [kpiod]
root         5  0.0  0.0     0    0 ?        SW   Oct24   0:20 [kswapd]
root         6  0.0  0.0     0    0 ?        SW<  Oct24   0:00 [mdrecoveryd]
root       336  0.0  0.4  1276  152 ?        S    Oct24   0:16 syslogd -m 0
root       345  0.0  0.0  1452    0 ?        SW   Oct24   0:00 [klogd]
root       383  0.0  0.3  1284  100 ?        S    Oct24   0:00 crond
root       395  0.0  0.1  1236   56 ?        S    Oct24   0:00 inetd
root       424  0.0  1.8  2436  556 ?        S    Oct24   0:09 named
root       433  0.0  0.2  6516   64 ?        S    Oct24   0:00
/usr/sbin/httpd -f /etc/admserv/con
postgres   469  0.0  1.7  4896  540 ?        S    Oct24   0:02
/usr/bin/postmaster -S -D /home/pgs
root       494  0.0  0.2  6788   84 ?        S    Oct24   0:05
/usr/sbin/httpd -f /etc/httpd/conf/
root       557  0.0  0.1  1052   56 ?        S    Oct24   0:00
/sbin/lcdsleep
root       575  0.0  0.0  1460    0 ?        SW   Oct24   0:00 [nsrexecd]
root       577  0.0  0.1  1544   48 ?        S    Oct24   0:00
/usr/sbin/nsrexecd
root       606  0.0  0.0  1332    0 ttyS0    SW   Oct24   0:00 [mgetty]
root      2484  0.0  0.9  2088  284 ?        S    16:02   0:00 sendmail:
accepting connections on
root      3328  0.0  5.7  6984 1760 ?        S    16:27   0:02
/usr/sbin/httpd -f /etc/admserv/con
root      3916  0.0 10.0  6996 3076 ?        S    16:45   0:01
/usr/sbin/httpd -f /etc/admserv/con
httpd     4502  0.0  0.0  6928    0 ?        SW   17:09   0:00 [httpd]
httpd     4630  0.0  2.8  6928  864 ?        S    17:13   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4631  0.0  4.0  6940 1232 ?        S    17:13   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4633  0.0  2.8  6928  868 ?        S    17:14   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4641  0.0  0.0  6928    0 ?        SW   17:14   0:00 [httpd]
httpd     4642  0.0  0.0  6928    0 ?        SW   17:14   0:00 [httpd]
httpd     4670  0.0  2.8  6928  864 ?        S    17:15   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4683  0.0  2.8  6928  864 ?        S    17:15   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4684  0.0  0.0     0    0 ?        Z    17:15   0:00 [httpd
<defunct>]
httpd     4719  0.0  3.3  6928 1032 ?        S    17:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4720  0.0  2.8  6928  864 ?        S    17:17   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4761  0.0  4.0  6940 1232 ?        S    17:18   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4772  0.0  2.8  6928  860 ?        S    17:18   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4774  0.0  3.3  6928 1032 ?        S    17:18   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4775  0.0  2.8  6928  868 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4778  0.0  2.8  6928  864 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4779  0.0  3.6  6928 1120 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4780  0.0  2.8  6928  868 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4781  0.0  4.0  6940 1232 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4782  0.0  2.8  6928  864 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4820  0.0  2.8  6940  868 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4821  0.0  2.8  6928  864 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4822  0.0  2.8  6928  864 ?        S    17:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4838  0.0  3.3  6928 1032 ?        S    17:20   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4868  0.0  3.3  6928 1036 ?        S    17:21   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4871  0.0  2.8  6928  864 ?        S    17:21   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4872  0.0  2.8  6928  864 ?        S    17:21   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4873  0.0  3.9  6928 1224 ?        S    17:21   0:00
/usr/sbin/httpd -/etc/httpd/conf/
root      4884  0.0  2.8  1672  860 ?        S    17:21   0:00 in telnetd
root      4885  0.1  3.5  2008 1100 pts/0    S    17:21   0:00 login --
admin

admin     4887  0.0  2.9  1676  912 pts/0    S    17:22   0:00 -bash
admin     4900  0.0  3.2  1864 1012 pts/0    S    17:22   0:00 -csh
httpd     4908  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4909  0.0  5.6  6940 1724 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4910  0.0  5.1  6928 1576 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4911  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4912  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4913  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4916  0.0  5.1  6928 1576 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4917  0.0  5.6  6940 1724 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4922  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4944  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4945  0.0  5.1  6928 1572 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd     4946  0.0  3.5  6876 1104 ?        S    17:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
admin     4951  0.0  3.1  2648  964 pts/0    R    17:23   0:00 ps -aux

#######################################################################

[admin@www ~]$ ps -aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.1  1096   52 ?        S    Oct24   0:05 init
root         2  0.0  0.0     0    0 ?        SW   Oct24   0:01 [kflushd]
root         3  0.0  0.0     0    0 ?        SW   Oct24   0:01 [kupdate]
root         4  0.0  0.0     0    0 ?        SW   Oct24   0:00 [kpiod]
root         5  0.0  0.0     0    0 ?        SW   Oct24   0:44 [kswapd]
root         6  0.0  0.0     0    0 ?        SW<  Oct24   0:00 [mdrecoveryd]
root       336  0.0  0.4  1276  152 ?        S    Oct24   0:41 syslogd -m 0
root       345  0.0  0.0  1452    0 ?        SW   Oct24   0:00 [klogd]
root       383  0.0  0.3  1284  112 ?        S    Oct24   0:00 crond
root       395  0.0  0.2  1240   68 ?        S    Oct24   0:00 inetd
root       424  0.0  2.8  2436  876 ?        S    Oct24   0:23 named
root       433  0.0  0.1  6516   60 ?        S    Oct24   0:01
/usr/sbin/httpd -f /etc/admserv/con
postgres   469  0.0  1.8  4908  568 ?        S    Oct24   0:04
/usr/bin/postmaster -S -D /home/pgs
root       494  0.0  0.3  6812  104 ?        S    Oct24   0:10
/usr/sbin/httpd -f /etc/httpd/conf/
root       557  0.0  0.1  1052   56 ?        S    Oct24   0:00
/sbin/lcdsleep
root       575  0.0  0.0  1460    0 ?        SW   Oct24   0:00 [nsrexecd]
root       577  0.0  0.1  1544   48 ?        S    Oct24   0:00
/usr/sbin/nsrexecd
root       606  0.0  0.0  1332    0 ttyS0    SW   Oct24   0:00 [mgetty]
root     14473  0.0  1.1  2104  340 ?        S    16:38   0:00 sendmail:
accepting connections on
root     21635  0.0  8.0  6992 2472 ?        S    20:37   0:01
/usr/sbin/httpd -f /etc/admserv/con
root     22358  0.0  8.3  6952 2556 ?        S    21:01   0:00
/usr/sbin/httpd -f /etc/admserv/con
httpd    23934  0.0  5.2  6952 1600 ?        S    22:09   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    23961  0.0  5.2  6952 1600 ?        S    22:10   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    23996  0.0  5.2  6952 1600 ?        S    22:13   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    23997  0.0  5.6  6964 1732 ?        S    22:13   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24021  0.0  5.2  6952 1600 ?        S    22:14   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24056  0.0  5.2  6952 1600 ?        S    22:15   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24057  0.0  5.2  6952 1600 ?        S    22:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24058  0.0  5.1  6952 1596 ?        S    22:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24059  0.0  5.1  6952 1596 ?        S    22:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24092  0.0  5.1  6952 1596 ?        S    22:17   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24118  0.0  5.1  6952 1596 ?        S    22:19   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24148  0.0  5.1  6952 1596 ?        S    22:20   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
root     24171  0.4  2.8  1672  872 ?        S    22:21   0:00 in.telnetd
root     24172  0.0  3.5  2008 1100 pts/0    S    22:21   0:00 login --
admin
admin    24182  0.8  3.2  1716  996 pts/0    S    22:21   0:00 -bash
httpd    24392  0.0  3.6  6900 1116 ?        S    22:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
httpd    24393  0.0  3.6  6900 1116 ?        S    22:22   0:00
/usr/sbin/httpd -f /etc/httpd/conf/
admin    24417  0.2  3.3  1868 1016 pts/0    S    22:22   0:00 -csh
admin    24425  0.0  3.1  2644  960 pts/0    R    22:22   0:00 ps -aux
[admin@www ~]$