From owner-freebsd-questions Tue Apr 30 12:53:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mambo.a1-office.biz (cm230.61.234.24.lvcm.com [24.234.61.230]) by hub.freebsd.org (Postfix) with ESMTP id C306737B416 for ; Tue, 30 Apr 2002 12:53:31 -0700 (PDT) Received: from cm240.61.234.24.lvcm.com (chris.a1-office.biz [24.234.61.240]) by mambo.a1-office.biz (8.12.1/8.12.1) with ESMTP id g3UJsWYV001495 for ; Tue, 30 Apr 2002 12:54:32 -0700 (PDT) Date: Tue, 30 Apr 2002 12:55:28 -0700 (PDT) From: Chris Angell To: freebsd-questions@freebsd.org Subject: Limits Message-ID: <20020430125347.S5274-100000@chris.a1-office.biz> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I need help restricting the amount of resources a process can utilize. I've tried settings in /etc/login.conf (yes I ran cap_mkdb /etc/login.conf) but nothing seems to work. I run this as root: perl -e'my @a=1;push @a, 1 for @a' & ...and watch as it uses all the ram and swap on the machine, until malloc returns false to perl (i.e. perl dies because it can't push anymore). Can anyone help me? Thanks a ton! Chris Angell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message