* Matt Bernstein <mb@???> [20020911 15:59]: wrote:
> At 08:14 -0400 Jeffrey Wheat wrote:
>
> >Hello all, I would like to get a few opinions for building my next
> >mail server. I am presently running a dual processor, PIII-833
> >with 1.5G RAM and 3ware disk controller running FreeBSD. I am noticing
> >a performance issue when trying to run sopie/spamassassin together.
> >The problem is that perl consumes most of the cpu while spamassassin
> >is enabled, thus driving the system load to well over 16.5. With just
> >sophie running, the load stays around 0.5 - 1.0. The server needs to be
> >able to handle around 350,000 mails a day, running Exim, Courier IMAP,
> >Sophie and SpamAssassin.
>
> Sounds like you should try to persuade SpamAssassin to daemonise, like
> Sophie does. If you can pay someone to do that, maybe it'd cost less than
> your quad Xeon!
Even if you daemonise SpamAssassin (spamd), you will not have solved this
problem. I run spamd, scanning mails using spamc and my server doesn crawl
most of the time. This is not a high end box, just dual pentium 500 with
256MB RAM. What Jaffrey saw is much the same what I see here:
last pid: 95930; load averages: 11.40, 8.21, 4.89 up 3+00:47:01
16:08:12
235 processes: 12 running, 220 sleeping, 1 stopped, 2 zombie
CPU states: 66.1% user, 0.0% nice, 32.7% system, 1.1% interrupt, 0.0% idle
Mem: 182M Active, 97M Inact, 64M Wired, 30M Cache, 48M Buf, 1584K Free
Swap: 1374M Total, 26M Used, 1348M Free, 1% Inuse
PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU CPU COMMAND
95208 root 64 0 19168K 14744K RUN 0 0:13 20.18% 18.16% perl
95651 root 63 0 17084K 11792K RUN 1 0:04 19.49% 11.57% perl
84259 root 63 0 2216K 1196K RUN 1 1:37 10.55% 10.55% perl
95756 root 63 0 16700K 11380K RUN 1 0:03 24.56% 10.40% perl
95603 root 2 0 15836K 11268K connec 0 0:04 12.74% 8.06% perl
95495 root 2 0 17520K 12936K select 1 0:04 11.15% 7.96% perl
95560 root 63 0 20412K 15984K RUN 1 0:03 10.90% 7.28% httpd
....
-Wash
--
Odhiambo Washington <wash@???> "The box said 'Requires
Wananchi Online Ltd. www.wananchi.com Windows 95, NT, or better,'
Tel: +254 2 313985-9 +254 2 313922 so I installed FreeBSD."
GSM: +254 72 743223 +254 733 744121 This sig is McQ! :-)
As Will Rogers would have said, "There is no such things as a free
variable."