Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* novice ulimit question
@ 2000-12-09 20:45 William R. Pearson
  2000-12-11  2:22 ` rslyon
  2000-12-19 19:17 ` Jack Patteeuw
  0 siblings, 2 replies; 3+ messages in thread
From: William R. Pearson @ 2000-12-09 20:45 UTC (permalink / raw)



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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: novice ulimit question
  2000-12-09 20:45 novice ulimit question William R. Pearson
@ 2000-12-11  2:22 ` rslyon
  2000-12-19 19:17 ` Jack Patteeuw
  1 sibling, 0 replies; 3+ messages in thread
From: rslyon @ 2000-12-11  2:22 UTC (permalink / raw)


Use the system manager console, and reboot afterwards..

Ran into the same problem..


Richard


In article <kj8zppl3xo.fsf@alpha0.bioch.virginia.edu>,
  wrp@alpha0.bioch.virginia.edu (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
>


Sent via Deja.com http://www.deja.com/
Before you buy.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: novice ulimit question
  2000-12-09 20:45 novice ulimit question William R. Pearson
  2000-12-11  2:22 ` rslyon
@ 2000-12-19 19:17 ` Jack Patteeuw
  1 sibling, 0 replies; 3+ messages in thread
From: Jack Patteeuw @ 2000-12-19 19:17 UTC (permalink / raw)


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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-12-19 19:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-09 20:45 novice ulimit question William R. Pearson
2000-12-11  2:22 ` rslyon
2000-12-19 19:17 ` Jack Patteeuw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox