ulimit not changing value

From: Hutcheson, Mike <Mike_Hutcheson_at_baylor.edu>
Date: Wed, 27 Mar 2002 15:05:42 -0600

Hi. I'm running Tru64 5.1 PK3 on a DS20E. I'm attempting to use ulimit
to change the process stack size for the current process but the value
does not appear to be changing. For example:

% ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 585938
stack(kbytes) 488282
memory(kbytes) 2304392
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304

%ulimit -s 600000

% ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 585938
stack(kbytes) 488282
memory(kbytes) 2304392
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 4194304

I would have expected the stack value to change to 600000 (or there
abouts) but it doesn't appear to change at all. The
max-per-proc-stack-size attribute is set to 1GB and the
per-proc-stack-size attribute is set to 500MB in sysconfigtab. Any
suggestions as to what I'm doing wrong? Do I need to upgrade the OS or
at least apply the latest patch kit? I have very few opportunities to
have the system down which is why I'm not at the latest patch kit or
(5.1A) yet (excuses excuses :-)).

Your help is greatly appreciated with this puzzling problem.

Thanks,

Mike Hutcheson (Mike_Hutcheson_at_baylor.edu)
Systems Manager (254) 710-4110
Baylor University - Information Technology Services
Received on Wed Mar 27 2002 - 21:06:36 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT