Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Aug 2007 19:43:51 +0200
From:      Peter Boosten <peter@boosten.org>
To:        Freebsd questions <freebsd-questions@freebsd.org>
Subject:   Re: getting fair share of CPU for processes
Message-ID:  <46B217D7.40508@boosten.org>
In-Reply-To: <69cb4cbb7b86698b706a7443412b9284@szalbot.homedns.org>
References:  <20070802105401.06b4e31a.wmoran@potentialtech.com> <69cb4cbb7b86698b706a7443412b9284@szalbot.homedns.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

The load is roughly a combination of resources programs are waiting for,
and that doesn't necessarily have to be CPU cycles, but something else
could be your bottleneck, like disk IO.

I suggest finding the real problem. You could throttle sendmail (or any
MTA) a bit by lowering the point where it starts temp-failing email
(with an 450), but that's just a workaround.

Peter
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGshfVrvsez6l/SvARAhFqAJ955u+eRhRs5Mu4yHXLg4oemX/sUQCfYqCG
lul2O+hkyEyohYSwXDrZjxY=
=WNLx
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?46B217D7.40508>