from the spamd documentation:

"-m number, --max-children=number
    Specify a maximum number of children to spawn. Spamd will wait until
another child finishes before forking again. Meanwhile, incoming connections
will be queued.

    Please note that there is a OS specific maximum of connections that can
be queued (Try perl -MSocket -e'print SOMAXCONN' to find this maximum).
Also, this option causes spamd to create an extra pipe for each child."

1. use -m 10 instead of -m10 ;)
2. if you run 50 spamc's the first 10 connections will be served. The 40
others will be queued in this time till a spamc timeout occurs. If spamd has
finished one spamc request it will serve the next (of the 40 others).

/robert

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tim B
Sent: Samstag, 3. Januar 2004 16:25
To: Spamassassin List
Subject: [SAtalk] spamd -m and a good number....

the spamd -m commandline option for max child processes... is that per 
spamc call?

for instance if I use:
spamd -d -m10 -x -u filter

and I run 50 instances of spamc, does that mean that all 50 call of the 
spamc process get 10 spamd child processes for a total of up to 500 
spamd child processes?





-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk


Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to