System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase 'Hard' ulimit values..

aique
Frequent Advisor

How to increase 'Hard' ulimit values..

Hi,
i want to increase "Hard ulimit value" for data size.

Thanks.
2 REPLIES
Steven Schweda
Honored Contributor

Re: How to increase 'Hard' ulimit values..

I don't know anything, and I can't reboot now
to test it, but have you tried running
"dxkerneltuner", selecting "proc", changing
"max_per_proc_data_size", and rebooting?

On my system, "ulimit" has no "data size",
but it does have a "data seg size". I
couldn't find anything quickly which said
that this "proc" parameter was associated
with the "ulimit" "data seg size" but it
sounded plausible, and the numbers matched
on my system.

http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARH9GCTE/CHNTRXXX.HTM
Steven Schweda
Honored Contributor

Re: How to increase 'Hard' ulimit values..

I seem to have guessed right. Before:

urt# ulimit -a
core file size (blocks) unlimited
data seg size (kbytes) 1048576
file size (blocks) unlimited
max memory size (kbytes) 371696
open files 4096
pipe size (512 bytes) 8
stack size (kbytes) 32768
cpu time (seconds) unlimited
max user processes 8192
virtual memory (kbytes) 4194304

After:

urt# ulimit -a
core file size (blocks) unlimited
data seg size (kbytes) 2097152
file size (blocks) unlimited
max memory size (kbytes) 371696
open files 4096
pipe size (512 bytes) 8
stack size (kbytes) 32768
cpu time (seconds) unlimited
max user processes 8192
virtual memory (kbytes) 4194304


You just have to love the helpful
formatting provided by this forum.