https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6843

          Priority: P2
            Bug ID: 6843
          Assignee: dev@spamassassin.apache.org
           Summary: Possible Spamd option bug
          Severity: normal
    Classification: Unclassified
                OS: Windows 7
          Reporter: kmcgr...@pccc.com
          Hardware: PC
            Status: NEW
           Version: 3.3.2
         Component: spamc/spamd
           Product: Spamassassin

I noticed that I had a LOT of spare servers on a server that I was testing.

On fresh restarts with zero connections:


Firs, I would have expected 2 children to spawn, not 10 which is the
max-spare...

root     20333  7.2  1.0  45920 43060 ?        Ss   11:14   0:08
/usr/local/bin/spamd -d --min-spare=1 --min-children=2 --max-spare=10
--max-conn-per-child=1000 --max-children=20 -q -x -u spamd
spamd    20411  0.0  1.0  45848 43060 ?        S    11:15   0:00 spamd child
spamd    20412  0.0  1.0  45856 43060 ?        S    11:15   0:00 spamd child
spamd    20413  0.0  1.0  45864 43060 ?        S    11:15   0:00 spamd child
spamd    20414  0.0  1.0  45872 43060 ?        S    11:15   0:00 spamd child
spamd    20415  0.0  1.0  45880 43060 ?        S    11:15   0:00 spamd child
spamd    20416  0.0  1.0  45888 43060 ?        S    11:15   0:00 spamd child
spamd    20417  0.0  1.0  45896 43060 ?        S    11:15   0:00 spamd child
spamd    20418  0.0  1.0  45904 43060 ?        S    11:15   0:00 spamd child
spamd    20419  0.0  1.0  45912 43060 ?        S    11:15   0:00 spamd child
spamd    20420  0.0  1.0  45920 43060 ?        S    11:15   0:00 spamd child


Second, adjusting only max-spare, I got less children spawned...

root     20731 46.5  1.0  46032 43252 ?        Ss   11:17   0:09
/usr/local/bin/spamd -d --min-spare=1 --min-children=2 --max-spare=2
--max-conn-per-child=1000 --max-children=20 -q -x -u spamd
spamd    20741  0.2  1.0  46024 43252 ?        S    11:17   0:00 spamd child
spamd    20742  0.2  1.0  46032 43252 ?        S    11:17   0:00 spamd child

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to