Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2002 12:55:28 -0700 (PDT)
From:      Chris Angell <root@chris.a1-office.biz>
To:        freebsd-questions@freebsd.org
Subject:   Limits
Message-ID:  <20020430125347.S5274-100000@chris.a1-office.biz>

next in thread | raw e-mail | index | archive | help
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




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