- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Maximum "ulimit -d" on 11.31 - 4TB?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2010 08:10 PM
тАО06-04-2010 08:10 PM
Maximum "ulimit -d" on 11.31 - 4TB?
data(kbytes) 4293918720
Shell is ksh.
Is this possible? And is this not dependent on maxdsiz since ksh is 32bit? maxdsiz canonly go up to 4GB AFAIK.
TIA.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2010 10:14 PM
тАО06-04-2010 10:14 PM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
>> ulimit -d is set to 4TB!
This depends on the value of the maxdsiz, maxdsiz_64bit parameter.
The parameter to check in case of 32bit version is maxdsiz, and in case
of 64 bit version its maxdsiz_64bit.
Check the following link -
http://docs.hp.com/en/TKP-90202/re34.html
-> This talks about maxdsiz, maxdsiz_64bit default/max values
>> Is this possible?
In case of 64 bit version, the max value of maxdsiz_64bit is
0x3ffbfffffff i.e. 4293918720. Looks like its a 64 bit version.
Hope this helps.
Regards,
Murali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2010 10:27 PM
тАО06-04-2010 10:27 PM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
Matches my understanding after poring through several urls and docs.
So even if ksh is just a 32bit shell, which ever is the bigger of maxdsiz and maxdsiz_64bit would guide the limits on shell and its child processes...
I am just stuped here with the "demand" from our apps folks to bump up ulimit to 4TB. After looking at kcusage stats -- the system never came close to utilizing 12% of maxdsiz and maxdsiz_64bit.
You see, they've an app that's complaining of "no space" -- but details are spotty and they've yet to put a trace on their script that is likely declaring a very large environment or caling a script/binary that is facing some sort of a "limit".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-05-2010 01:52 AM
тАО06-05-2010 01:52 AM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
Hmm, I'm surprised that ksh can report a number that big. Perhaps is should be saying unlimited?
>to bump up ulimit to 4TB. After looking at kcusage stats
You have that much swap?
>they've an app that's complaining of "no space"
You also need to monitor "swapinfo -tam".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 06:04 AM
тАО06-06-2010 06:04 AM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
SHELL is /usr/bin/kshand OS is HP-UX 11.31 Mar 2010 Integrity Systems (rx,bl).
I've already up'd my maxdsiz and maxdsiz_64 bit to their maximum settings (4GB and 4TB respectively) but no dice.
apuser@srv001> ulimit -d 4293918720
ksh: ulimit: bad number
apuser@srv001> ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4194300
stack(kbytes) 376832
memory(kbytes) unlimited
coredump(blocks) 4194303
And I just noticed on my aging 11.11 System, indeed "ulimit -d" can be set (or is set) to 4TB!
alzhy@unix11 > ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4292870144
stack(kbytes) 376832
memory(kbytes) unlimited
coredump(blocks) 4194303
alzhy@unix11 > file /usr/bin/ksh
/usr/bin/ksh: PA-RISC1.1 shared executable dynamically linked
alzhy@unix11 > uname -a
HP-UX unix11 B.11.11 U 9000/800 4172948470 unlimited-user license
Raised a tkt with HP Support but nada yet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 10:46 AM
тАО06-06-2010 10:46 AM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
That's all you need to do. A 32 bit ksh can't tell you what the 64 bit limits are.
>I just noticed on my aging 11.11 System, indeed "ulimit -d" can be set (or is set) to 4TB!
That's an illusion, that's probably "unlimited", which is also an illusion.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 11:48 AM
тАО06-06-2010 11:48 AM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
PHCO_37385 (11.31 ksh(1) cumulative patch) or successor, fixed a bug where 'ulimit -d' reported wrong data if 'maxdsiz' is >= 2GB.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 05:54 PM
тАО06-06-2010 05:54 PM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
Other thoughts/theories stil welcome though.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-06-2010 09:20 PM
тАО06-06-2010 09:20 PM
Re: Maximum "ulimit -d" on 11.31 - 4TB?
Because sh in 11.11 is broken. You can't set it to that value, unless it is attempting to be "unlimited".
See these old threads where Don notices this bogus value:
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1411855
(Has attached getrlimit(2) program.)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1269493
(ulimit of data(kbytes) 4294967292 and Don's comments)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1265853
(Don's test program.)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1217744
(Another)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1156660
(Don's comments about looking at ulimit and test case.)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1147299
(Setting limits.)