http://bugzilla.spamassassin.org/show_bug.cgi?id=3097





------- Additional Comments From [EMAIL PROTECTED]  2004-04-14 11:29 -------
Subject: Re:  Make spamd and (possibly) mass-check use Net::Server

On Tue, Apr 13, 2004 at 10:46:37PM -0700, [EMAIL PROTECTED] wrote:
> I hate to be the wet blanket here, but does the pre-forking actually
> help performance?

It depends on your environment.  A few things it does off the top of my head:

1) prefork in general is better than fork-per-message wrt performance.
   I haven't done any testing to show numbers, but you can think about
   it easily: for 5000 messages, the old spamd has to fork() 5000 times,
   versus the new version which (with default values) has to only fork
   6-10 times.  the flip side is that the prefork version needs to
   backup/restore the configuration per message, and revert EUID, etc.

2) we can do things like persistent connections to the SQL server from
   spamd which will be a big improvement if you use SQL (see related
   ticket about that)

3) -m will work more correctly -- a pool of X processes are spawned
   and maintained.





------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.

Reply via email to