Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 1998 16:08:41 -0600
From:      Nathan Ahlstrom <nrahlstr@winternet.com>
To:        "Mark E. Rekai" <maxiter@inetu.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: setrlimit and forks
Message-ID:  <19981229160841.A6397@winternet.com>
In-Reply-To: <4.1.19981229163246.0094ad60@wopr.inetu.net>; from Mark E. Rekai on Tue, Dec 29, 1998 at 04:35:09PM -0500
References:  <4.1.19981229163246.0094ad60@wopr.inetu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mark E. Rekai" <maxiter@inetu.net> wrote:
> I've got a C program which is used to run apache.  In a virtual server
> setting, we end up with quite a few instances of apache and would like to
> control their resource consumption.
> 
> If I use setrlimit in my C program before apache is called, will this
> successfully set limits should a chile process fork (like apache)?  

Yes.

-- 

Nathan Ahlstrom
nrahlstr@winternet.com
Run FreeBSD: http://www.freebsd.org/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



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