How much RAM do you have? If spamc starts swapping, you'll have a major thrashing problem very quickly.

Use the -m parameter to ensure that you don't swap, or at least don't swap too heavily. Queuing up the messages for spam processing should work fine during peaks (unless your system is extremely overloaded, and never gets a chance to recover).

Is spamd running on a seperate server? If not, give that a try. A P-II system with 128 MB of RAM should crank along just fine for a pretty heavy load, and is far preferable to sharing spamd/sendmail on one machine.

--Rich


Administration Dept. wrote:
Hello,

We are running SpamAssassin server wide via procmail and sendmail through
/etc/procmailrc . We are having a serious load problem even using the
spamc/spamd. The spamd processes completely hog the CPU to the point
sendmail panics and reports load problems in the syslog.

Below is the load report of our system. After starting spamd in daemon mode
(spamd -d), it takes maybe 15 minutes for the processes to reach the state
below. Any suggestions on how to remedy this problem is appreciated.

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
25154 root 1 42 0 14M 7980K run 17:27 8.89% spamd
6428 root 1 43 0 14M 8012K run 4:25 8.53% spamd
22249 root 1 43 0 14M 7996K run 23:22 8.44% spamd
22430 root 1 43 0 14M 7984K run 22:46 8.38% spamd
28698 root 1 33 0 14M 7988K run 12:31 8.37% spamd
7460 root 1 33 0 14M 8096K run 3:41 8.37% spamd
9619 root 1 43 0 14M 8128K run 1:32 8.36% spamd
21427 root 1 43 0 14M 7996K run 27:37 8.08% spamd
4539 root 1 43 0 14M 8032K run 5:44 8.00% spamd
4238 root 1 43 0 14M 8000K run 5:56 7.96% spamd
3446 root 1 43 0 14M 8048K run 6:43 7.89% spamd
8773 root 4 58 0 1319M 101M sleep 0:17 0.66% messagewall
10450 root 1 58 0 1856K 1172K cpu 0:00 0.29% top
212 root 15 59 0 3240K 1256K sleep 1:56 0.12% syslogd
947 root 1 58 0 3632K 1976K sleep 0:00 0.05% sshd2

PID USERNAME THR PRI NICE SIZE RES STATE TIME CPU COMMAND
23852 root 1 49 0 14M 8296K run 0:03 3.45% spamd
23914 root 1 49 0 14M 8180K run 0:02 3.29% spamd
23937 root 1 49 0 14M 8144K run 0:02 3.26% spamd
23794 root 1 49 0 14M 8428K run 0:03 3.21% spamd
23751 root 1 49 0 14M 8496K run 0:04 3.03% spamd
23831 root 1 49 0 14M 8260K run 0:03 3.00% spamd
23697 root 1 49 0 14M 8764K run 0:05 2.99% spamd
23963 root 1 49 0 14M 8100K run 0:02 2.97% spamd
23957 root 1 49 0 14M 8096K run 0:02 2.95% spamd
23851 root 1 49 0 13M 8140K run 0:03 2.93% spamd
23953 root 1 49 0 14M 8108K run 0:02 2.90% spamd
24022 root 1 49 0 14M 8000K run 0:01 2.85% spamd
23717 root 1 49 0 14M 8732K run 0:05 2.84% spamd
23691 root 1 49 0 14M 8764K run 0:05 2.74% spamd
23996 root 1 49 0 14M 8020K run 0:01 2.74% spamd




-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


--

_________________________________________________________

Rich Puhek
ETN Systems Inc.
2125 1st Ave East
Hibbing MN 55746

tel: 218.262.1130
email: [EMAIL PROTECTED]
_________________________________________________________



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to