From: "Andrew A. Vasilyev" Received: by mx.demos.su (CommuniGate Pro PIPE 5.0.14) with PIPE id 547955483; Wed, 05 Sep 2012 14:47:58 +0400 X-Spam-Status: No, hits=-1.5 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_20, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2-st2.demos X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 3.3.2-st2.demos (2011-06-06) X-Spam-Report: -1.5 points, 5.0 required; * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay * domain * -0.5 BAYES_20 BODY: Bayes spam probability is 5 to 20% * [score: 0.1086] * -0.0 AWL AWL: From: address is in the auto white-list Received: from kremvax.demos.su ([194.87.0.20] verified) by mx.demos.su (CommuniGate Pro SMTP 5.0.14) with ESMTP id 547955451 for CGatePro@mx.ru; Wed, 05 Sep 2012 14:47:55 +0400 Received: by kremvax.demos.su (8.9.3p2/D) from andy@localhost for CGatePro@mx.ru id OAA22620; Wed, 5 Sep 2012 14:47:54 +0400 (MSK) Date: Wed, 5 Sep 2012 14:47:54 +0400 To: Victor Sudakov Subject: Re: [CGP] sa-cgp Message-ID: <20120905104753.GA21041@kremvax.demos.su> Reply-To: andy@demos.su References: <20120827091952.GA90478@admin.sibptus.tomsk.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Return-Receipt-To: andy@kremvax.demos.su Disposition-Notification-To: Andrew Vasilyev Organization: "DEMOS, Moscow, Russia" X-Class: Fast User-Agent: Mutt/1.5.6i On Wed, Sep 05, 2012 at 05:06:52PM +0700, Victor Sudakov wrote: > И еще вопрос - есть ли какая-то формула расчета spamd --max-children в > зависимости от количества Message Enqueuer processors? А от трафика? Быстрее кончится память и начнётся swap, или CPU :-)) Где-то 20 spamd на ГБ получается (на 32-bit системе). Отсюда и считайте. Понятно, что Enq. processors бессмысленно делать больше числа spamd, а при пиках их должно быть столько, чтобы оставался CPU idle. Ну и при любых не-офисных (если это не офис Газпрома, конечно) потоках надо запускать SA на нескольких серверах параллельно. ________ ANDY