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_at_my_machine ~ $ ulimit -s
128000
user12_at_my_machine ~ $ ulimit -s unlimited
bash: ulimit: cannot modify stack size limit: Not owner
user12_at_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
Received on Fri Nov 01 2002 - 15:02:33 NZDT