From owner-freebsd-stable Mon Nov 29 20: 6:43 1999 Delivered-To: freebsd-stable@freebsd.org Received: from s01.arpa-canada.net (s01.arpa-canada.net [209.104.122.2]) by hub.freebsd.org (Postfix) with ESMTP id 0818E15759 for ; Mon, 29 Nov 1999 20:06:15 -0800 (PST) (envelope-from matt@BabCom.ORG) Received: by s01.arpa-canada.net (Postfix, from userid 1001) id C8E6EB885; Mon, 29 Nov 1999 23:06:14 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by s01.arpa-canada.net (Postfix) with ESMTP id 7E4C2F for ; Mon, 29 Nov 1999 23:06:14 -0500 (EST) Date: Mon, 29 Nov 1999 23:06:14 -0500 (EST) From: matt X-Sender: matt@s01.arpa-canada.net To: FreeBSD-STABLE Subject: Login.conf and tweaking. Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, I run a shell company that recently started up and runs strictly on FreeBSD 3.3-STABLE. I have, obviously, configured the login.conf to limit users mainly on memory and file descriptor usage. I however have the problem where certain procs eat up 99% of CPU when they loop and screw up. This seems to be of no fault to the user, mainly of the code. I find that BNC and Eggdrops are specially susceptable to this happening. What this ends up doing, is shooting my load averages very high and generally slowing down the system. I see that I can limit cputime and so on, but can I limit the % of cpu a user can user? I do not mean to do this to be restrictive, simply to make a hard cap so a user's messed up proccess cannot overload my CPU. Thank you in advance for your help, You guys have been amazing with FreeBSD help. People often take the list's help for granted, not enough let you know they appreciate it, I like to let you know. Matt -- "If the primates that we came from had known that someday politicians would come out of the...the gene pool, they'd a stayed up in the trees and written evolution off as a bad idea. Hell, I always thought the opposable thumb was overrated." -Sheridan, "A Distant Star" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message