From owner-freebsd-isp Sun Oct 3 18:53:33 1999 Delivered-To: freebsd-isp@freebsd.org Received: from backup.af.speednet.com.au (af.speednet.com.au [202.135.188.244]) by hub.freebsd.org (Postfix) with ESMTP id 18F8014FB9 for ; Sun, 3 Oct 1999 18:53:28 -0700 (PDT) (envelope-from andyf@speednet.com.au) Received: from localhost (localhost [127.0.0.1]) by backup.af.speednet.com.au (8.9.3/8.9.3) with ESMTP id LAA27310; Mon, 4 Oct 1999 11:52:52 +1000 (EST) (envelope-from andyf@speednet.com.au) Date: Mon, 4 Oct 1999 11:52:52 +1000 (EST) From: Andy Farkas X-Sender: andyf@localhost To: Doug Cc: Leif Neland , freebsd-isp@FreeBSD.ORG Subject: Re: limiting apache cgi mem/cpu In-Reply-To: <37F67081.9C9EEF04@gorean.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Sat, 2 Oct 1999, Doug wrote: > Leif Neland wrote: > > > > How can I limit the mem and cpu a perl/cgi script can use when started > > from apache? > > Create a login class for the web/cgi user and modify its resource > limits in login.conf. That doesn't work if you are using Apache's suexec feature (which is a wise thing to enable). See PR ports/13606 -- :{ andyf@speednet.com.au Andy Farkas System Administrator Speednet Communications http://www.speednet.com.au/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message