Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jul 1999 14:41:14 -0700
From:      Jason Thorpe <thorpej@nas.nasa.gov>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Archie Cobbs <archie@whistle.com>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Replacement for grep(1) (part 2) 
Message-ID:  <199907132141.OAA24339@lestat.nas.nasa.gov>

next in thread | raw e-mail | index | archive | help
On Tue, 13 Jul 1999 14:31:38 -0700 (PDT) 
 Matthew Dillon <dillon@apollo.backplane.com> wrote:

 > :- I might be creating a very limited embedded system with just a few
 > :  small processes that are all written to *handle* out of memory situations.
 > 
 >     Really?  Then setting resource limits from within each program is not
 >     a problem now is it?  Then it will get a nice malloc failure instead
 >     of getting killed by the kernel.

See chris's point... Maybe you have one process that needs 10MB and a few
others that need 300K - 1MB.  Resource limits are not useful in this
scenario.

...and, who said anything about using malloc()? :-)

        -- Jason R. Thorpe <thorpej@nas.nasa.gov>



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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