From owner-freebsd-questions Tue Dec 29 13:36:45 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA15781 for freebsd-questions-outgoing; Tue, 29 Dec 1998 13:36:45 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from wopr.inetu.net (wopr.inetu.net [207.18.13.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA15776 for ; Tue, 29 Dec 1998 13:36:43 -0800 (PST) (envelope-from maxiter@inetu.net) Received: from mark.inetu.net (maxiter.inetu.net [207.18.13.227]) by wopr.inetu.net (8.9.1/8.9.1) with SMTP id QAA23433 for ; Tue, 29 Dec 1998 16:36:24 -0500 (EST) Message-Id: <4.1.19981229163246.0094ad60@wopr.inetu.net> X-Sender: maxiter@wopr.inetu.net X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1 Date: Tue, 29 Dec 1998 16:35:09 -0500 To: freebsd-questions@FreeBSD.ORG From: "Mark E. Rekai" Subject: setrlimit and forks Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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)? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message