From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,af270182190ea2d X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2000-12-19 12:06:16 PST Path: supernews.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!jobone!dailyplanet.srl.ford.com!eccws12.dearborn.ford.com!not-for-mail From: Jack Patteeuw Newsgroups: comp.unix.tru64 Subject: Re: novice ulimit question Date: Tue, 19 Dec 2000 14:17:47 -0500 Organization: Ford Motor Company Message-ID: <3A3FB45B.82825F35@ford.com> References: Reply-To: patteeuw@pt9500.pcse.poee.ford.com NNTP-Posting-Host: 19.3.20.51 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.7 [en]C-CCK-MCD cf47 (WinNT; I) X-Accept-Language: en, en-GB, de, fr, ja, ko, zh Xref: supernews.google.com comp.unix.tru64:1256 I'm not certain about tcsh, but the following is true for csh on Tru64 V4.0F. If you are using csh, then ulimit is a separate executable, not a builtin, (/usr/bin/ulimit) and for some reason does not appear to work. The "builtin' for csh is limit, but the syntax is slightly different. Try the following: limit datasize 50000 limit datasize Jack Patteeuw "William R. Pearson" wrote: > > I have a perl script that quickly dies with an out of memory error > on an ES40 (Tru64 4.0F) system with 2 Gb of real memory and at least > 4 Gb of virtual memory. > > 21% ulimit -a > time(seconds) unlimited > file(blocks) unlimited > data(kbytes) 131072 > stack(kbytes) 8516 > memory(kbytes) 2048856 > coredump(blocks) unlimited > nofiles(descriptors) 4096 > vmemory(kbytes) 1048576 > > 22% ulimit -H -a > time(seconds) unlimited > file(blocks) unlimited > data(kbytes) 1048576 > stack(kbytes) 32768 > memory(kbytes) 2048856 > coredump(blocks) unlimited > nofiles(descriptors) 4096 > vmemory(kbytes) 1048576 > > I have no figured out how to get ulimit to raise the data limit: > > 23% ulimit -d 500000 > 24% ulimit -d > 131072 > > I am using /bin/tcsh. Advice is appreciated. > > Bill Pearson