Subject: Re: pkg_delete: can't allocate 20 bytes: Cannot allocate memory
To: Rakhesh Sasidharan <rakheshster@gmail.com>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: netbsd-users
Date: 06/10/2006 12:10:26
On Sat, 10 Jun 2006 19:15:40 +0400, "Rakhesh Sasidharan"
<rakheshster@gmail.com> wrote:
> > check ulimit settings...
> >
> > # ulimit -d unlimited
> >
> > might be in order. (or doubling whatever the existing data setting is)
>
> Thanks! That worked. :) What is ulimit supposed to do? Surprisingly I
> couldn't find any manpages for it ...
>
See the man page for your shell. Ulimit controls a variety of
per-process resource consumption limits. It's implemented as part of the
shell; if were a separate command and hence separate process, the changes
would be lost when that process exits.
--Steven M. Bellovin, http://www.cs.columbia.edu/~smb