OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Agemo Noraj (jaronaf-inet.net)
Date: Tue Sep 04 2001 - 14:28:20 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    On Tue, 4 Sep 2001 CASSIDY842aol.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 majordomoFreeBSD.org
    with "unsubscribe freebsd-security" in the body of the message