Operating System - HP-UX
1755760 Members
2933 Online
108838 Solutions
New Discussion

increase ulimit (data) value

 
SOLVED
Go to solution
Dennis Handly
Acclaimed Contributor

Re: increase ulimit (data) value

>Maximum: 0xfffff000

If you are on 11.23 and using ksh you can use:
$ echo $(( 16#fffff000 ))
4294963200
Bill Hassell
Honored Contributor

Re: increase ulimit (data) value

> Don: [since there's no way a user application would get more than 2Gb on a 32-bit kernel].

Not quite true. Compile a program for EXEC MAGIC and it will be limited to slightly less than 2 GB. But you can use chatr +q3p enable and you can use up to 2.8 GB, and chatr +q4p enable, you'll get 3.7GB or so. The attached c program will demonstrate that capability -- just follow the comments.


Bill Hassell, sysadmin