Return-Path: X-Original-To: apmail-spamassassin-users-archive@www.apache.org Delivered-To: apmail-spamassassin-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7329AD4E8 for ; Tue, 23 Oct 2012 18:04:24 +0000 (UTC) Received: (qmail 2212 invoked by uid 500); 23 Oct 2012 18:04:22 -0000 Delivered-To: apmail-spamassassin-users-archive@spamassassin.apache.org Received: (qmail 2193 invoked by uid 500); 23 Oct 2012 18:04:22 -0000 Mailing-List: contact users-help@spamassassin.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@spamassassin.apache.org Received: (qmail 2185 invoked by uid 99); 23 Oct 2012 18:04:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 18:04:21 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of rwmaillists@googlemail.com designates 74.125.83.50 as permitted sender) Received: from [74.125.83.50] (HELO mail-ee0-f50.google.com) (74.125.83.50) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 23 Oct 2012 18:04:13 +0000 Received: by mail-ee0-f50.google.com with SMTP id c41so1817111eek.37 for ; Tue, 23 Oct 2012 11:03:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=04xFNpRx6pvaxKmHpoDjvOIEJGSojN6xMFaG0G4yYms=; b=VaSW/xngyLeG4HX+pX60CDHsbdtRenq9DKXB4ibr/ZiEXoa/RtvraRc3OA54LvRReN Z+4RqqwzJ/x3o+tyXxdEWGoKQq/aJxkBLNrIGx15QgLaTSbRmASc/3tEwVFj6nFxYS0D 4+gm16T2mzZlU2k1MnDdQwom4yyNwJMOZQ/peo/O9TbEwD4aFynnKeFsl/xHrk+9Tuct IEsXMO/CY9FtDpcHTKcQV1skEGAYTeU3OOZklfDOgniBhW4j3updYdfRB+PUh/q/ua48 jBe/hbgOTjiTG880SX1mxn7jjMa8hvNNMPESwzBr3/aKFFW9q+10HZbgHUiQWrVMcuMZ b0Hw== Received: by 10.14.173.137 with SMTP id v9mr4432876eel.41.1351015432687; Tue, 23 Oct 2012 11:03:52 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id a44sm8657372eeo.7.2012.10.23.11.03.50 (version=SSLv3 cipher=OTHER); Tue, 23 Oct 2012 11:03:51 -0700 (PDT) Date: Tue, 23 Oct 2012 19:03:48 +0100 From: RW To: users@spamassassin.apache.org Subject: Re: SA-3.3.2 options max-spare and max-children doesn't work as i expect Message-ID: <20121023190348.1a66b5b9@gumby.homeunix.com> In-Reply-To: <50866819.8030307@mejor.pl> References: <50866819.8030307@mejor.pl> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Tue, 23 Oct 2012 11:49:13 +0200 Marcin Miros=C5=82aw wrote: > Hello list! > I'm playing with options min-spare,max-spare,min-children and > max-children, I'd like to save memory on my vps. So I'd like to have > one children awaiting for connection from MTA, when MTA receives more > emials in short time I'd like SA to spawn more children > (max-children=3D6). I thinks it's enough to have zero (or one) spare > children in my case. I'm starting spamd with such parameters: > ... --min-spare=3D0 --max-spare=3D1 -m 6 You can't use min-spare less than 1, if you do it gets adjusted to 1.=20 spamd only adjusts the number of children when it's out of bounds. If you had min-spare=3D0 then a state with no spare children would be in bounds and there would be no mechanism to increase the number of children.