Bug 6754 - spamd option --min-children doesn't work properly
Summary: spamd option --min-children doesn't work properly
Status: NEW
Alias: None
Product: Spamassassin
Classification: Unclassified
Component: spamc/spamd (show other bugs)
Version: unspecified
Hardware: All All
: P2 minor
Target Milestone: Undefined
Assignee: SpamAssassin Developer Mailing List
Depends on:
Reported: 2012-02-01 13:48 UTC by RW
Modified: 2012-10-23 09:48 UTC (History)
1 user (show)

Attachment Type Modified Status Actions Submitter/CLA Status
patch to spamd text/plain None RW [NoCLA]

Note You need to log in before you can comment on or make changes to this bug.
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.