Date: Thu, 20 May 1999 09:25:19 +0930 (CST) From: Kris Kennaway <kkennawa@physics.adelaide.edu.au> To: Andre Rikkert de Koe <arikkert@surf.iae.nl> Cc: freebsd-bugs@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: timeconsuming processes on FreeBSD 3.1 Message-ID: <Pine.OSF.4.10.9905200917100.31050-100000@bragg> In-Reply-To: <Pine.NEB.3.96.990519174343.9943D-100000@surf.IAE.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 May 1999, Andre Rikkert de Koe wrote: > I sent this question to newsgroup comp.unix.bsd.freebsd.misc but I found > the two answers I got not sufficient. The answers were like "it's inherent > to Unix" and "Just kill those processes". > So now I'm trying the mailing list. As pointed out by other posters, this is the symptom of buggy software which doesn't properly check for errors on reads or writes. Make sure you're running the most recent versions of these programs - I would have expected these problems would have been (mostly) fixed by now. If your users don't need to run long-term CPU-intensive jobs, you can place them in a login class with a CPU time limit in /etc/login.conf - this will kill their processes once they consume more CPU time than this. Alternatively, you could write a little shell script which periodically checks for 'rogue' processes: say any program on a known 'bad list' which is using up significant amounts of CPU. You could also terminate processes which are owned by a user who isn't logged in, which may be suitable for your needs. I've seen this done but I can't remember whether it was a capability provided by the base system or an external script. Kris ----- "That suit's sharper than a page of Oscar Wilde witticisms that's been rolled up into a point, sprinkled with lemon juice and jabbed into someone's eye" "Wow, that's sharp!" - Ace Rimmer and the Cat, _Red Dwarf_ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.4.10.9905200917100.31050-100000>