1838576 Members
4079 Online
110128 Solutions
New Discussion

ulimit data

 
SOLVED
Go to solution
GoHP
Advisor

ulimit data

Please let me know how to set the limit data to match with maxdsiz and maxdsiz_64 kernel parameters.

Can you explain why ulimit data shows 4GB instead of 2GB as maxdsiz ?

HP-UX B.11.11 U 9000/800

ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4292870144
stack(kbytes) 131072
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 1024


kmtune | grep maxd
maxdsiz 2147483648 - 2147483648
maxdsiz_64bit 2147483648 - 2147483648



3 REPLIES 3
James R. Ferguson
Acclaimed Contributor
Solution

Re: ulimit data

Hi Minh:

Technical Knowledge Base document #KBRC00012516 notes that 'getrlimit' returns an unsigned long integer that the shell misinterprets as a signed value.

The problem occurs when PHKL_25993 is installed.

http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080025356

Regards!

...JRF...
GoHP
Advisor

Re: ulimit data


But my server had no PHKL_25993 patch installed. Any other patch related ?
James R. Ferguson
Acclaimed Contributor

Re: ulimit data

Hi (again) Minh:

Your problem seems to fit, however. Posix Shell patch PHCO_28832 (superseded by PHCO_33375) corrects the reporint. See the patch notes for PHCO_33375, for instance.

Check you applied patches with:

# /usr/contrib/bin/show_patches | grep 28832

Regards!

...JRF...