Operating System - HP-UX
1834033 Members
2992 Online
110063 Solutions
New Discussion

HPUX 11:00 Ulimit Question

 
SOLVED
Go to solution
LG Porter
Frequent Advisor

HPUX 11:00 Ulimit Question

What is the process for defining the max. value for ulimit? What is the default and how is it set?
3 REPLIES 3
Uday_S_Ankolekar
Honored Contributor
Solution

Re: HPUX 11:00 Ulimit Question



Hello,

From the knowledge base:

ulimit -s xxxxx where xxxxx is the number of kbytes to use cannot
exceed the system kernel parameter maxssiz. So if the ulimit is at
the value of maxssiz, then maxssiz will need to be increased. Note
that this requires a new kernel to be built and a reboot.

For example:

1. ulimit -a

time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015464
stack(kbytes) 81584
memory(kbytes) unlimited
coredump(blocks) 4290772993
nofiles(descriptors) 2048

2. echo maxssiz/D | adb /stand/vmunix /dev/kmem
maxssiz:
maxssiz: 20396

3. echo "4 * 20396" | bc
81584
Good Luck..
Sandip Ghosh
Honored Contributor

Re: HPUX 11:00 Ulimit Question

Look at this thread below. Clay had given a good resolution.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xe51272106351d5118fef0090279cd0f9,00.html

Sandip
Good Luck!!!
Michael Tully
Honored Contributor

Re: HPUX 11:00 Ulimit Question

Hi,

You can only use options when using the posix shell. Have a lokk at the man page 'sh-posix'

-Michael
Anyone for a Mutiny ?