* kernel tuning; ulimit problem; tru64 v5.1a with bash
@ 2002-11-01 15:01 Kjell Andresen
0 siblings, 0 replies; only message in thread
From: Kjell Andresen @ 2002-11-01 15:01 UTC (permalink / raw)
One of my users need to allocate more space on the stack to run her
application (weather forecasting).
I have been running dxkerneltuner and loaded some new values into
running kernel as well into /etc/sysconfigtab.
Checking the latter file lists the maximun values:
..
proc:
per_proc_stack_size=4398046511104
max_per_proc_stack_size=4398046511104
per_proc_data_size=4398046511104
max_per_proc_data_size=4398046511104
max_per_proc_address_space=4398046511104
per_proc_address_space=4398046511104
Since I'd been strugling some time I rebooted the machine because I were
suspecting these varables only to be updated at boot.
No difference for her.
Now I am able to change the stacksize as root, but not as the user:
my_machine /# ulimit -s
4294967296
my_machine /# ulimit -s unlimited
my_machine /# ulimit -s
4294967296
my_machine /# su - user12
user12@my_machine ~ $ ulimit -s
128000
user12@my_machine ~ $ ulimit -s unlimited
bash: ulimit: cannot modify stack size limit: Not owner
user12@my_machine ~ $ ulimit -s 129000
bash: ulimit: cannot modify stack size limit: Not owner
This is just to show root is able to change the value:
my_machine /# ulimit -s 90
my_machine /# ulimit -s
90
my_machine /# ulimit -s unlimited
my_machine /# ulimit -s
4294967296
I'm not an expert in kerneltuning so I need help to solve this matter.
Regards,
Kjell Andresen Systems administrator, University of Oslo, Norway
Center for Information Technology Services and
Department of Geophysics
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-11-01 15:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-01 15:01 kernel tuning; ulimit problem; tru64 v5.1a with bash Kjell Andresen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox