From: Kjell Andresen <kjell.andresen@usit.uio.no>
Subject: kernel tuning; ulimit problem; tru64 v5.1a with bash
Date: Fri, 01 Nov 2002 16:01:47 +0100 (MET) [thread overview]
Message-ID: <Pine.LNX.4.44.0211011552300.16130-100000@beta.uio.no> (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
reply other threads:[~2002-11-01 15:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox