Spamd cpu issues.

2004-11-18 Thread Dave Goodrich
I've been watching these messages concerning high memory and cpu usage 
in spamd. In fact it caused me to wait until 3.01. But I have upgraded, 
running now for several days. Spamd is quite well behaved, not catching 
as much as 2.64 was, but I am still tuning.

I don't know if it matters but I'll throw this out anyway, maybe it will 
help someone. I don't run bayes, I don't run autowhitelist, I don't run 
pyzor/dcc/razor. I have never seen these issues of high memory/cpu 
useage. I amd handling 700/1300 messages per hour ( we are an ISP, 
traffic levels change daily 8^), 60% of which is spam this afternoon.

This is done with three machines using spamc to connect to a master 
server running spamd with user prefs stored in MySQL. spamd is running 
with the following startup under daemontools,

#!/sbin/sh
PATH=/usr/bin:/usr/local/bin
exec /usr/local/bin/softlimit -a 12800 \
/usr/local/bin/spamd -i 10.0.240.253 -p 1783 -A 10.0.240.0/24 \
-m 10 --max-conn-per-child=200 -u vpopmail -x -q -s stderr 21
DAve

--
Systems Administrator
http://www.tls.net
Get rid of Unwanted Emails...get TLS Spam Blocker!



RE: Spamd cpu issues.

2004-11-18 Thread Gary W. Smith
:00   0
mingetty
 3536 root  19   0524 0 S 0.0  0.0   0:00   0
mingetty
 3537 apache15   0  4584 2080   328 S 0.0  0.2   0:00   0 httpd
 3538 apache15   0  5660 2664  1308 S 0.0  0.2   0:00   0 httpd
 3539 apache15   0  5860 3332  1492 S 0.0  0.3   0:00   0 httpd
 3540 apache15   0  5032 1392   628 S 0.0  0.1   0:00   0 httpd
 3541 apache15   0  6692 3972  1596 S 0.0  0.3   0:00   0 httpd
 3542 apache15   0  5992 3404  1632 S 0.0  0.3   0:00   0 httpd
 3543 apache15   0  5268 2436   344 S 0.0  0.2   0:00   0 httpd
 3544 apache15   0  6792 4172  1636 S 0.0  0.4   0:00   0 httpd
 3545 apache15   0  4620 1252   324 S 0.0  0.1   0:00   0 httpd
 3546 apache15   0  4996 1284   640 S 0.0  0.1   0:00   0 httpd
 3968 root  15   0   308  216   180 S 0.0  0.0   0:00   0 xinetd
 4595 apache15   0  4760 2208   328 S 0.0  0.2   0:00   0 httpd
 6796 root  15   0   772  360   272 S 0.0  0.0   0:00   0 cupsd
 9275 apache15   0  6608 3836  1500 S 0.0  0.3   0:00   0 httpd
11303 apache15   0  5908 2664   800 S 0.0  0.2   0:00   0 httpd
14604 root  15   0 40700   9264 S 0.0  0.0   0:01   0 spamd
20929 apache15   0  5636 2820   412 S 0.0  0.2   0:00   0 httpd
22745 root  15   0   612  520   460 S 0.0  0.0   0:00   0 master
22748 postfix   15   0   632  548   472 S 0.0  0.0   0:00   0 qmgr
31605 apache15   0  6012 3376   784 S 0.0  0.3   0:00   0 httpd
 7536 root  16   0 50124  39M  1888 S 0.0  3.9   0:31   0 spamd
 7569 root  16   0 50792  38M  1956 S 0.0  3.8   0:29   0 spamd
 7635 root  16   0 49520  39M  1892 S 0.0  3.9   0:25   0 spamd
 7639 root  16   0 49936  39M  1900 S 0.0  3.8   0:26   0 spamd
 7644 root  16   0 47960  36M  1888 S 0.0  3.6   0:25   0 spamd
 8369 postfix   15   0   608  536   472 S 0.0  0.0   0:00   0 pickup
 8391 root  15   0  1012  932   596 S 0.0  0.0   0:00   0 sshd
 8393 root  15   0  1168 1168   932 S 0.0  0.1   0:00   0 bash
 8757 root  24   0  1088 1088   520 S 0.0  0.1   0:00   0
mount.smbf
 8776 root  15   0  2260 2196   712 R 0.0  0.2   0:00   0 sshd
 8778 root  15   0  1028 1028   804 S 0.0  0.1   0:00   0 bash
 8849 root  15   0   744  744   568 S 0.0  0.0   0:00   0 su
 8850 super 15   0  1148 1144   936 S 0.0  0.1   0:00   0 bash
 9022 root  15   0   608  608   524 S 0.0  0.0   0:00   0 tail

-Original Message-
From: Dave Goodrich [mailto:[EMAIL PROTECTED] 
Sent: Thursday, November 18, 2004 1:58 PM
To: users@spamassassin.apache.org
Subject: Spamd cpu issues.

I've been watching these messages concerning high memory and cpu usage 
in spamd. In fact it caused me to wait until 3.01. But I have upgraded, 
running now for several days. Spamd is quite well behaved, not catching 
as much as 2.64 was, but I am still tuning.

I don't know if it matters but I'll throw this out anyway, maybe it will

help someone. I don't run bayes, I don't run autowhitelist, I don't run 
pyzor/dcc/razor. I have never seen these issues of high memory/cpu 
useage. I amd handling 700/1300 messages per hour ( we are an ISP, 
traffic levels change daily 8^), 60% of which is spam this afternoon.

This is done with three machines using spamc to connect to a master 
server running spamd with user prefs stored in MySQL. spamd is running 
with the following startup under daemontools,

#!/sbin/sh

PATH=/usr/bin:/usr/local/bin

exec /usr/local/bin/softlimit -a 12800 \
 /usr/local/bin/spamd -i 10.0.240.253 -p 1783 -A 10.0.240.0/24 \
 -m 10 --max-conn-per-child=200 -u vpopmail -x -q -s stderr 21


DAve



-- 
Systems Administrator
http://www.tls.net
Get rid of Unwanted Emails...get TLS Spam Blocker!