*BSD News Article 9821


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA6598 ; Mon, 11 Jan 93 14:30:30 EST
Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!uunet!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!karl
From: karl@NeoSoft.com (Karl Lehenbauer)
Subject: [386BSD] Here is the answer, Re: out of mem
Organization: NeoSoft Communications Services -- (713) 684-5900
Date: Wed, 13 Jan 1993 20:11:23 GMT
Message-ID: <C0t6r1.6KD@NeoSoft.com>
References: <1icvjgINNl1g@ftp.UU.NET> <C0Frt6.2wq@chinet.chi.il.us> <1993Jan12.151341.24515@data-io.com>
Lines: 29

In article <1993Jan12.151341.24515@data-io.com> bachesta@pugsley.Data-IO.COM (Jim Bachesta) writes:
>I have been following the response on your posting. It seems that people have 
>gone off on the wrong tangent on ulimit. I have seen this problem with virtual
>memory. I have 10 Megs of Ram and 30 Megs of swap. I am unable to compile motif
>or xv due to the virtual memory exahuasted error. Does anyone have a fix for this.
>I am sure it has nothing to do with the ulimit.

With bash on Berkeley the ulimit command does much more than set the max
size of a disk file.

For example, on my system right now:

Hammer1 /usr/karl $ ulimit -a
core file size (blocks)  unlimited
data seg size (kbytes)	 32768
file size (blocks)	 unlimited
max memory size (kbytes) 14948
stack size (kbytes)      512
cpu time (seconds)       unlimited
pipe size (512)          1
open files               64

Ulimit options include -SHacmdstfnp.

C-shell users have the "limit" command.  Try it, "limit".  You can
say stuff like "limit datasize 16384".  "man csh" for details...
-- 
-- Email info@NeoSoft.com for info on getting interactive Internet access.
"In a minute, I'll burp up your droid."