- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: heap vs data stack size question
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
тАО11-02-2006 01:19 AM
тАО11-02-2006 01:19 AM
ulimit -a displays the following:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 2015464
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
nofiles(descriptors) 256
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 03:03 AM
тАО11-02-2006 03:03 AM
Re: heap vs data stack size question
eg:
=>ulimit -d
1048576
=>kmtune -q maxdsiz
Parameter Current Dyn Planned
maxdsiz 1073741824 - 1073741824
ulimit displays the value in kbytes, kmtune in bytes.
1073741824 / 1024 = 1048576
Hope that helps.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 03:07 AM
тАО11-02-2006 03:07 AM
Re: heap vs data stack size question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 03:13 AM
тАО11-02-2006 03:13 AM
Re: heap vs data stack size question
I understand the ulimit parameter, but in relation to the min and max heap settings, do they have any relationship to the the ulimit setting ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-02-2006 01:14 PM
тАО11-02-2006 01:14 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2006 04:16 AM
тАО11-04-2006 04:16 AM
Re: heap vs data stack size question
They are not receiving any error we are just curious as to whether there is any kind of connection between the data size shown using ulimit and heap settings set using xms and xmx.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2006 02:19 PM
тАО11-04-2006 02:19 PM
Re: heap vs data stack size question
1. kernel parameter maxdsix
2. ulimit setting
3. available swap space
A standard program's data area is limited to 960megs. By recompiling it as an EXEC_MAGIC executable, both quadrant 2 and quadrant 1 can be combined for about 1700megs. Without knowledge of your OS version, it's not possible to advise on additional executable types such as q3p q4p and MPAS.
One of the problems with some programming languages is the the terminology is hidden by new-and-better terms. All programs in HP-UX have 4 quadrants -- for 32bit programs, each quadrant is 1Gb in size. The current ulimit value shown in your question is larger than your program can address without special chatr options. So you can make the heap-max as much 960megs, or by looking at the executable with the chatr command, you may find it is capable of about 1700megs.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2006 03:26 PM
тАО11-04-2006 03:26 PM
Re: heap vs data stack size question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2006 05:55 AM
тАО11-05-2006 05:55 AM
Re: heap vs data stack size question
Bill Hassell, sysadmin