From owner-freebsd-isp Sat Oct 2 1:20:14 1999 Delivered-To: freebsd-isp@freebsd.org Received: from arnold.neland.dk (mail.neland.dk [194.255.12.232]) by hub.freebsd.org (Postfix) with ESMTP id 58AF614E27 for ; Sat, 2 Oct 1999 01:19:53 -0700 (PDT) (envelope-from leifn@neland.dk) Received: from localhost (localhost [127.0.0.1]) by arnold.neland.dk (8.9.3/8.9.3) with ESMTP id KAA79911 for ; Sat, 2 Oct 1999 10:19:52 +0200 (CEST) (envelope-from leifn@neland.dk) Date: Sat, 2 Oct 1999 10:19:51 +0200 (CEST) From: Leif Neland To: freebsd-isp@freebsd.org Subject: limiting apache cgi mem/cpu 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 How can I limit the mem and cpu a perl/cgi script can use when started from apache? (I had made a perl error, which consumed all available memory and swap...) If I just use ulimit when I start apache, will this not limit the total of all process started from apache? I just want to give this process say 5 sec's time. Leif To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message