Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
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.