Bug 6754

Summary: spamd option --min-children doesn't work properly
Product: Spamassassin Reporter: RW <rwmaillists>
Component: spamc/spamdAssignee: SpamAssassin Developer Mailing List <dev>
Status: NEW ---    
Severity: minor CC: bug
Priority: P2    
Version: unspecified   
Target Milestone: Undefined   
Hardware: All   
OS: All   
Attachments: patch to spamd

Description RW 2012-02-01 13:48:05 UTC
Created attachment 5039 [details]
patch to spamd

Spamd wont decrease the number of children unless there are more than min-children, but it doesn't guarantee that the number start in the min-children to min-children range.

The initial number of children should be the greater of min-children and max-spare, see attached patch.

Note that this only applies to the scaling algorithm, round-robin initializes to max-children.