[EMAIL PROTECTED] wrote:

I've been experiencing and documenting a pretty severe performance problem with SA versions 3.0.1 through 3.1x (nightly) under Solaris 8 and 9, Perl 5.8.3.



This may not be much help. I put 573 messages in a subfolder and ran the following script. I watched `prstat -n 10 2` and the typical and highest output follows. It seemed fine to me. The script, MD and everything was on a V210, which is also my courier-imap server and exports the home directories. While the script was dumping messages, courier was fine. Also clamav was running from clamav-milter and MD also runs clamav using clamd.sock. Should I disable clamav for this test?


Are you running MD with embedded perl? That may not help for your tests, but it should help in production. Have you considered using the CSW packages from www.blastwave.org? Everything that you need should be available there and I do recommend MIMEDefang instead of spamass-milter. Maybe the CSW packages are compiled differently from what you have.

Also, you did not give a summary of your hardware. My small V210 is dual CPU with 2Gb ram with RAID1 for most directories, including /export/home and using Solaris Volume Manager.

---
The script:
#!/bin/sh
cd /export/home/amoore/Maildir/.Mail.Hold/cur
for file in `ls`
do
cat $file |/opt/csw/lib/sendmail -f [EMAIL PROTECTED] [EMAIL PROTECTED]
done


---
A couple of outputs from prstat:
[EMAIL PROTECTED] /]# prstat -n 10 2
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
7039 defang 47M 40M cpu1 30 0 0:01:36 20% mimedefang-mult/1
6097 root 6136K 4744K sleep 59 0 0:01:56 0.5% fam/1
28308 defang 15M 10M sleep 59 0 0:00:11 0.3% clamd/3
217 root 124M 123M sleep 59 0 1:26:55 0.2% automountd/2
10506 root 4656K 4336K cpu0 59 0 0:00:00 0.2% prstat/1
7466 root 14M 3184K sleep 49 0 0:00:01 0.2% sendmail/1
8345 defang 37M 31M sleep 59 0 0:00:21 0.2% mimedefang-mult/1
11068 root 108M 106M sleep 59 0 0:05:30 0.1% nscd/22
11022 amoore 7264K 4336K sleep 54 0 0:00:00 0.1% sendmail/1
17701 root 6360K 5032K sleep 59 0 0:00:20 0.1% authdaemond/1
Total: 117 processes, 253 lwps, load averages: 0.67, 0.46, 0.25
[EMAIL PROTECTED] /]# prstat -n 10 2
PID USERNAME SIZE RSS STATE PRI NICE TIME CPU PROCESS/NLWP
7039 defang 48M 40M run 9 0 0:01:41 21% mimedefang-mult/1
9387 defang 38M 28M run 11 0 0:00:01 3.8% mimedefang-mult/1
11066 defang 38M 26M sleep 50 0 0:00:00 1.6% mimedefang-mult/1
6097 root 6136K 4744K sleep 59 0 0:01:56 0.6% fam/1
28308 defang 15M 10M sleep 59 0 0:00:11 0.5% clamd/3
11172 defang 37M 17M cpu0 29 0 0:00:00 0.4% mimedefang-mult/1
11047 root 15M 5352K sleep 59 0 0:00:00 0.2% sendmail/1
7466 root 14M 3184K sleep 38 0 0:00:01 0.2% sendmail/1
8357 defang 4240K 1344K sleep 59 0 0:01:22 0.2% mimedefang/6
11168 amoore 7248K 4320K sleep 39 0 0:00:00 0.1% sendmail/1
Total: 130 processes, 271 lwps, load averages: 0.88, 0.51, 0.27
[EMAIL PROTECTED] /]#


---
The MD process that seemed to do most of the work:
May 12 10:00:09 mcsrv5 mimedefang-multiplexor[8345]: [ID 638987 mail.info] Slave 0 resource usage: req=500, scans=500, user=184.580, sys=8.680, nswap=0, majflt=0, minflt=0, maxrss=0, bi=0, bo=0


--

Alex

Reply via email to