From owner-freebsd-security Tue Sep 4 12:34: 6 2001 Delivered-To: freebsd-security@freebsd.org Received: from mail.af-inet.net (cx793560-b.dt1.sdca.home.com [24.13.5.229]) by hub.freebsd.org (Postfix) with ESMTP id 8C71337B43A for ; Tue, 4 Sep 2001 12:33:52 -0700 (PDT) Received: from localhost (jaron@localhost) by mail.af-inet.net (8.11.4/8.11.4) with ESMTP id f84JSLk98927; Tue, 4 Sep 2001 12:28:21 -0700 (PDT) Date: Tue, 4 Sep 2001 12:28:20 -0700 (PDT) From: Agemo Noraj To: , "Nickolay A.Kritsky" Cc: , Subject: Re: favorite love story movies. (gag) In-Reply-To: <132.11b87b8.28c5f24a@aol.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, 4 Sep 2001 CASSIDY842@aol.com wrote: > Hi, all. > I have a webserver running on FreeBSD 3.3. One of the perl scripts >located there has some bug, that puts him in the infinite loop. This >causes my webserver to stall, so that the only way to reboot is >hardware reset. I want to restrict user httpd to use no more than >75% of CPU time. I read man limits(1) and man getrlimit(2) but they >only talk about limiting cputime in seconds, but not percents. It >means that I can restrict httpd process to run no more than 10 >seconds, but in this 10 seconds it will have access to all CPU power >of the computer, making administrative work quite impossible. How >can I add percent-based cputime restrictions for various users and >login classes? > > Any help is very good. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/users-limiting.html Jaron Omega -_-_-_-_-_ id fuckdmca = [[dvdDecode alloc] init]; _-_-_-_-_- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message