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

Re: [cobalt-users] RaQ4 - CPU overload



There is a new record, a load average  of: 29.29.
Total accounts in /home/spool/mail/ is 536, about 260 accounts are forwards
though....

Why are there qpoppers from root? This mostly seems to happen when inetd is
restarted but that isn't the case and why do they take that much CPU (he
record I have seen is one qpopper with 86% CPU)?

It allmost seems like the interpretation of the CPU% and the CPU-load is a
"little" bit off.
--------------------------------------------------------------
11:51am  up  1:37,  1 user,  load average: 29.29, 11.91, 8.63
[root /etc]# ps aux
USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
root         1  0.1  0.0  1120  472 ?        S    10:14   0:06 init
root         2  0.0  0.0     0    0 ?        SW   10:14   0:00 [kflushd]
root         3  0.0  0.0     0    0 ?        SW   10:14   0:00 [kupdate]
root         4  0.0  0.0     0    0 ?        SW   10:14   0:00 [kpiod]
root         5  0.0  0.0     0    0 ?        SW   10:14   0:00 [kswapd]
root         6  0.0  0.0     0    0 ?        SW<  10:14   0:00 [mdrecoveryd]

root         7  0.0  0.0     0    0 ?        SW<  10:14   0:00 [raid1d]
root         8  0.0  0.0     0    0 ?        SW<  10:14   0:00 [raid1d]
root         9  0.0  0.0     0    0 ?        SW<  10:14   0:00 [raid1d]
root        10  0.0  0.0     0    0 ?        SW<  10:14   0:00 [raid1d]
root       337  0.0  0.1  1172  528 ?        S    10:15   0:04 syslogd -m 0
root       346  0.0  0.1  1416  740 ?        S    10:15   0:00 klogd
root       376  0.0  0.1  1156  536 ?        S    10:15   0:00 crond
root       398  0.0  1.0  7048 5384 ?        S    10:15   0:02
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root       429  0.0  1.1  7608 5924 ?        S    10:16   0:01
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root       431  0.0  1.3 10520 6868 ?        S    10:16   0:01
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
root       462  0.0  0.2  2496 1208 ?        S    10:16   0:01 sendmail:
accepting connections
httpd      487  0.0  1.3 10580 6988 ?        S    10:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
httpd      488  0.0  1.3 10532 6856 ?        S    10:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
httpd      489  0.0  1.3 10532 6856 ?        S    10:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
httpd      490  0.0  1.3 10532 6856 ?        S    10:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
httpd      491  0.0  1.3 10580 6980 ?        S    10:16   0:00
/usr/sbin/httpd -f /etc/httpd/conf/httpd.conf
postgres   501  0.0  0.2  4624 1300 ?        SN   10:16   0:00
/usr/bin/postmaster
root       529  0.0  0.0   292  136 ?        S    10:16   0:00
/sbin/lcdsleep
root       566  0.0  0.0  1136  448 ?        S    10:16   0:00 /sbin/getty
ttyS0 115200
root       633  0.0  1.1  7612 5876 ?        S    10:17   0:00
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root       637  0.0  1.1  7604 5912 ?        S    10:17   0:01
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root       638  0.0  1.1  7608 5916 ?        S    10:17   0:00
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root       639  0.0  1.1  7608 5884 ?        S    10:17   0:00
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root      1094  0.0  0.1  1292  640 ?        S    10:24   0:00 in.telnetd:
ip94-88.lostboys.nl
root      1095  0.0  0.2  2036 1128 pts/0    S    10:24   0:00 login --
ajongsma
ajongsma  1097  0.0  0.1  1532  860 pts/0    S    10:24   0:00 -bash
root      1110  0.0  0.1  1992  876 pts/0    S    10:24   0:00 su -
root      1118  0.0  0.1  1560  892 pts/0    S    10:24   0:00 -sh
root      8606  0.0  0.2  2656 1540 ?        S    11:33   0:00 sendmail:
server smtp10.xs4all.nl [194.109.6.54] cmd read
root      9445  0.0  0.3  2748 1676 ?        S    11:39   0:00 sendmail:
q1/eARAdlg09438 mail.home.nl.: user open
root      9508  0.0  0.2  2656 1544 ?        S    11:40   0:00 sendmail:
server smtp4.xs4all.nl [194.109.6.50] cmd read
root     10188  0.0  0.0  1136  480 ?        R    11:45   0:00 inetd
root     10715  0.0  0.2  2656 1540 ?        S    11:49   0:00 sendmail:
server mailgate.hiserv.com [149.250.222.5] child
root     10718  0.0  0.3  2868 1700 ?        S    11:49   0:00 sendmail:
q2/eARAnvg10718 mailgate.hiserv.com [149.250.222.
werken   10882  2.7  0.1  1456  756 ?        R    11:51   0:01 in.qpopper -R

mypenbur 10887  2.4  0.0     0    0 ?        Z    11:51   0:01 [in.qpopper
<defunct>]
root     10892  0.1  1.0  7120 5532 ?        S    11:51   0:00
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root     10893  2.8  1.0  6620 5328 ?        R    11:51   0:01 perl
/usr/admserv/cgi-bin/.cobalt/siteUserList/siteUserList
root     10894  0.0  1.0  7048 5384 ?        S    11:51   0:00
/usr/sbin/httpd -f /etc/admserv/conf/httpd.conf
root     10895  2.5  0.2  2068 1068 ?        R    11:51   0:01 in.qpopper -R

root     10896  2.6  0.2  2068 1068 ?        R    11:51   0:01 in.qpopper -R

jveer    10897  2.4  0.1  1456  748 ?        R    11:51   0:01 in.qpopper -R

tvoors   10898  2.4  0.1  1456  756 ?        S    11:51   0:01 in.qpopper -R

root     10900  2.5  0.2  2068 1068 ?        R    11:51   0:01 in.qpopper -R

root     10901  2.7  0.1  2068  916 ?        R    11:51   0:01 in.qpopper -R

cwong    10902  2.4  0.1  1456  764 ?        S    11:51   0:01 in.qpopper -R

rschreve 10909  2.5  0.0     0    0 ?        Z    11:51   0:00 [in.qpopper
<defunct>]
root     10911  2.8  0.2  2068 1068 ?        R    11:51   0:01 in.qpopper -R

mout     10912  2.4  0.1  1456  768 ?        S    11:51   0:00 in.qpopper -R

rfaulhab 10913  2.4  0.1  1456  756 ?        S    11:51   0:00 in.qpopper -R

root     10926  2.7  0.2  2068 1068 ?        R    11:51   0:00 in.qpopper -R

root     10932  2.9  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

beheer   10935  3.5  0.1  1456  756 ?        R    11:51   0:00 in.qpopper -R

root     10936  4.0  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

mfijnhee 10937  3.1  0.1  1456  752 ?        S    11:51   0:00 in.qpopper -R

root     10938  3.3  0.2  2068 1088 ?        R    11:51   0:00 in.qpopper -R

root     10939  3.9  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

root     10940  3.9  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

sbattjes 10942  3.0  0.0     0    0 ?        Z    11:51   0:00 [in.qpopper
<defunct>]
root     10944  0.3  0.1  1504  712 ?        S    11:51   0:00 sh
/etc/rc.d/init.d/lcd-showip
jbattjes 10946  5.6  0.1  1456  748 ?        R    11:51   0:00 in.qpopper -R

root     10947  4.1  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

root     10948  5.3  0.1  2068  920 ?        R    11:51   0:00 in.qpopper -R

root     10949  4.6  0.1  2068  920 ?        R    11:51   0:00 in.qpopper -R

root     10950  5.1  0.2  2068 1088 ?        R    11:51   0:00 in.qpopper -R

root     10955  4.6  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

root     10957 27.0  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

root     10958 18.0  0.1  2068  876 ?        R    11:51   0:00 in.qpopper -R

root     10959 22.0  0.1  2068  900 ?        R    11:51   0:00 in.qpopper -R

root     10960 15.0  0.1  2068  876 ?        R    11:51   0:00 in.qpopper -R

root     10961  0.0  0.1  2348  708 pts/0    R    11:51   0:00 ps aux
root     10964  0.0  0.1  1452  724 ?        R    11:52   0:00 in.qpopper -R

root     10965  0.0  0.0  1136  480 ?        R    11:52   0:00 inetd
root     10966  0.0  0.0  1136  480 ?        R    11:52   0:00 inetd
root     10968  0.0  0.1  1500  712 ?        R    11:52   0:00 sh
/etc/rc.d/init.d/lcd-showip
root     10969  0.0  0.0     0    0 ?        Z    11:52   0:00 [ifconfig
<defunct>]
root     10970  0.0  0.1  1500  712 ?        R    11:52   0:00 sh
/etc/rc.d/init.d/lcd-showip
root     10971  0.0  0.1  1500  712 ?        R    11:52   0:00 sh
/etc/rc.d/init.d/lcd-showip
root     10972  0.0  0.1  1500  712 ?        R    11:52   0:00 sh
/etc/rc.d/init.d/lcd-showip

ajongsma wrote:

> And that's the whole problem, it doesn't. It just starts the monitor.cgi
> (randomly it seems) and gives me this warning by mail. It allmost seems
> like the CPU idle time has something to do whith this message (below
> certain percentage let's give a warning).
> It's really driving me nuts by now :(
> This TOP is the actuall moment indeed but this message is completely
> random. I couldn't provide you with an actually top-shot but I can say
> that it depends on the number of qpoppers. Sometimes a qpopper needs
> 56%!!! and it only goes to one user. The dependancy seems to be the time
> of reply but that's just a little bit...
>
> "Fabrice Prémel" wrote:
>
> > >CPU states:  4.1% user,  3.0% system,  0.2% nice,  7.3% idle
> >
> > Your top seems broken.
> >
> > [snip top's output]
> >
> > You don't seem to have a process that take all cpu ... at the time
> > you took the screenshot. You might want to wait for your machine to
> > be overloaded before running top. You might also want to use the "-S"
> > flag.
> >
> > As there is no mad process, you might suspect :
> > some cpu-hungry script
> > some daemon overload (sendmail, apache)
> >
> > You will really need to track down where the problem comes from (this
> > might include checking your logs for anormal activity). Someone
> > suggested to write a script that will check /proc/loadavg. It indeed
> > is a very good advice, as it should help you identify _what_ is
> > creating your problems.
> >
> > So, you need to dig further in order for us to help you.
> >
> > Hope that helps,
> >
> > Fabrice Prémel.
> >
> > _______________________________________________
> > cobalt-users mailing list
> > cobalt-users@xxxxxxxxxxxxxxx
> > To Subscribe or Unsubscribe, please go to:
> > http://list.cobalt.com/mailman/listinfo/cobalt-users
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To Subscribe or Unsubscribe, please go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users