From owner-freebsd-questions@FreeBSD.ORG Thu Aug 2 16:42:38 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 7426A16A41B for ; Thu, 2 Aug 2007 16:42:38 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from mxout5.cac.washington.edu (mxout5.cac.washington.edu [140.142.32.135]) by mx1.freebsd.org (Postfix) with ESMTP id 43AA013C457 for ; Thu, 2 Aug 2007 16:42:38 +0000 (UTC) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9] (may be forged)) by mxout5.cac.washington.edu (8.13.7+UW06.06/8.13.7+UW07.06) with ESMTP id l72GgZid029901 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 2 Aug 2007 09:42:35 -0700 X-Auth-Received: from [192.168.10.45] (c-24-10-12-194.hsd1.ca.comcast.net [24.10.12.194]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.7+UW06.06/8.13.7+UW07.03) with ESMTP id l72GgYfF019537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 2 Aug 2007 09:42:35 -0700 Message-ID: <46B20977.5020606@u.washington.edu> Date: Thu, 02 Aug 2007 09:42:31 -0700 From: Garrett Cooper User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Zbigniew Szalbot References: <20070802105401.06b4e31a.wmoran@potentialtech.com> <69cb4cbb7b86698b706a7443412b9284@szalbot.homedns.org> In-Reply-To: <69cb4cbb7b86698b706a7443412b9284@szalbot.homedns.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-PMX-Version: 5.3.3.310218, Antispam-Engine: 2.5.1.298604, Antispam-Data: 2007.8.2.92123 X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Cc: Bill Moran , Freebsd questions Subject: Re: 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 16:42:38 -0000 Zbigniew Szalbot wrote: > Hi Bill and all, > > >>> 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! >>> >> The most typical method of handling this would be nice(1) (see the man >> page for details). >> > > Thanks - I will do some reading. > > >> Also, I'm not clear as to what problem you're tyring to solve. High load >> on a busy server certainly isn't a problem, so where is the problem? >> > > The problem that sometimes, though for a very short period of time, the > load goes above 14. > I should have asked this first. Is this OK? I was probably unnecessarily > concerned that the load gets too high. Of course, were it to happen for a > prolonged time, I would take steps to improving hardware but as the load > peaks are periodic and fairly short I thought I would make it easier for > the machine to live :) Judging from your answer I can see I shouldn't worry > all that much. > > Warm regards, > > Please read man 5 login.conf . -Garrett