kernel tuning; ulimit problem; tru64 v5.1a with bash

From: Kjell Andresen (kjell.andresen@usit.uio.no)
Date: Fri Nov 01 2002 - 10:01:47 EST


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



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:58 EDT