View Single Post
  #1  
Old 6th September 2006, 16:34
DOCK42 DOCK42 is offline
Junior Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default High Load (>4.00), Clamscan / SpamAssassin

Hi,

I got a message from my load monitoring script... one of our ispconfig server has a unusual high load since round about 30 minutes…

Code:
29296 username  25   0 63924  35m  29m R 22.3  1.7   0:00.67 spamassassin                                                                                   
29320 username  25   0 20216  13m 7040 R 17.6  0.7   0:00.53 clamscan

It's a Athlon X2 4200 CPU with 2GB RAM… so I think it's not „a matter of size“…
Code:
top - 16:30:22 up 19 days, 57 min,  1 user,  load average: 3.81, 3.72, 3.32
Tasks: 156 total,   5 running, 150 sleeping,   0 stopped,   1 zombie
 Cpu0 :  1.1% us,  0.1% sy,  0.0% ni, 98.6% id,  0.1% wa,  0.0% hi,  0.0% si
 Cpu1 :  3.3% us,  0.1% sy,  0.0% ni, 96.6% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:   2056208k total,  1996320k used,    59888k free,   108964k buffers
Swap:  1004020k total,        4k used,  1004016k free,  1028064k cached
Looks like a process is stuck… (<defunct>)
Code:
# ps waux | grep username
username  28233  0.9  0.0 13068 1752 ?        S    16:26   0:03 /usr/bin/imapd Maildir
username  28857  0.0  0.0 12844 1540 ?        S    16:26   0:00 /usr/bin/imapd Maildir
username  28868  0.0  0.0 12860 1584 ?        S    16:26   0:00 /usr/bin/imapd Maildir
username   4931  0.0  0.0  8608  936 ?        Ss   16:32   0:00 /usr/bin/procmail -f-
username   4962  0.0  0.0  8480  800 ?        Ss   16:32   0:00 /usr/bin/procmail -f-
username   4963  0.0  0.0     0    0 ?        Z    16:32   0:00 [sh] <defunct>
username   4967  0.0  0.0  8480  800 ?        S    16:32   0:00 /usr/bin/procmail -f-
username   4968  0.0  0.0  5628 1208 ?        S    16:32   0:00 /bin/sh /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
username   4977  0.0  0.9 25208 18880 ?       R    16:32   0:00 /home/admispconfig/ispconfig/tools/clamav/bin/clamscan --no-summary --stdout --mbox -
username   4983  0.0  0.0  8608  936 ?        S    16:32   0:00 /usr/bin/procmail -f-
username   4984  0.0  1.7 63392 35340 ?       R    16:32   0:00 /usr/bin/perl -T -w /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/home/www/web4/user/usernamels/.user_prefs
A few minutes later it's working fine…
Code:
# ps waux | grep username
username  28233  0.9  0.0 13068 1752 ?        S    16:26   0:03 /usr/bin/imapd Maildir
username  28857  0.0  0.0 12844 1540 ?        S    16:26   0:00 /usr/bin/imapd Maildir
username  28868  0.0  0.0 12860 1584 ?        S    16:26   0:00 /usr/bin/imapd Maildir
username   6901  0.0  0.0  8608  936 ?        Ss   16:33   0:00 /usr/bin/procmail -f-
username   6932  0.0  0.0  8608  936 ?        S    16:33   0:00 /usr/bin/procmail -f-
username   6933  0.0  1.3 56152 27740 ?       R    16:33   0:00 /usr/bin/perl -T -w /home/admispconfig/ispconfig/tools/spamassassin/usr/bin/spamassassin --prefs-file=/home/www/web4/user/usernamels/.user_prefs
username   6934  0.0  0.0  8480  800 ?        Ss   16:33   0:00 /usr/bin/procmail -f-
username   6935  0.0  0.0  5600 1140 ?        S    16:33   0:00 /bin/sh -c  wc -c | formail -A"X-Loop: ${LOGNAME}@localhost" \?                    -I"Subject: Mailsize: ${LOGNAME}" | \?  $SENDMAIL -oi admispconfig@localhost
username   6938  0.0  0.0 15388 1224 ?        S    16:33   0:00 /usr/sbin/sendmail -oi admispconfig@localhost
username   6939  0.0  0.0  8480  800 ?        S    16:33   0:00 /usr/bin/procmail -f-
username   6940  0.0  0.0  5628 1208 ?        S    16:33   0:00 /bin/sh /home/admispconfig/ispconfig/tools/clamav/bin/clamassassin
username   6941  0.0  0.0 15380 1212 ?        D    16:33   0:00 /usr/sbin/postdrop -r
username   6949  0.0  0.1  8948 2576 ?        R    16:33   0:00 /home/admispconfig/ispconfig/tools/clamav/bin/clamscan --no-summary --stdout --mbox -
root      6951  0.0  0.0  2616  504 pts/0    R+   16:33   0:00 grep username

So… any ideas what's going on there?


Regards,
Yves
Reply With Quote
Sponsored Links