From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 11:04:30 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED5C16A419 for ; Thu, 2 Aug 2007 11:04:30 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from szalbot.homedns.org (lists.lc-words.com [83.19.156.210]) by mx1.freebsd.org (Postfix) with ESMTP id D991613C459 for ; Thu, 2 Aug 2007 11:04:29 +0000 (UTC) (envelope-from zbigniew@szalbot.homedns.org) Received: from www (helo=www) by szalbot.homedns.org with local for freebsd-questions@freebsd.org; Thu, 02 Aug 2007 13:04:17 +0200 To: Freebsd questions X-PHP-Script: https://poczta.szalbot.homedns.org/index.php for 192.168.11.1 MIME-Version: 1.0 Date: Thu, 2 Aug 2007 13:04:17 +0200 From: Zbigniew Szalbot Message-ID: <22385127afb407e66e0bc0c1c0931337@szalbot.homedns.org> X-Sender: zbigniew@szalbot.homedns.org User-Agent: RoundCube Webmail/0.1b Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: getting fair share of CPU for processes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 11:04:30 -0000 Hello, I am looking for advice but maybe this question really belongs to spamassassin user list. Anyway, by observing load on my FreeBSD machine I have found that at certain times it gets really high (between 14-17). When I get such load my machine is quite busy sending thousands of emails. This in itself is OK because load is rarely over 1 but then I get a few more incoming emails and spamd, while checking them, bumps up the load to 14 or more. Such increased load usually does not take longer than 1-2 minutes. And I have configured exim to ease up on its work when the load gets so high (first it tempfails incoming messages, then when situation becomes worse it only queues outgoing ones). So I am wondering it it is OK for me to limit the spamd user to how much CPU power it can get? I saw in the Handbook that it is possible to limit resources per user. Do you think it is a good thing to do? Will I be better off limiting spamd user or will it make the situation worse because SA will/may choke? Many thanks for any advice you can give me. I really appreciate it! -- Zbigniew Szalbot