Bug 6754 - spamd option --min-children doesn't work properly
Summary: spamd option --min-children doesn't work properly
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-01 13:48 UTC by RW
Modified: 2022-04-26 01:58 UTC (History)
2 users (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.
Comment 1 Sidney Markowitz 2022-04-26 01:58:47 UTC
fixed as part of bug #6996