- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ulimits, max sizes, and out of memory errors: 32bi...
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
Forums
Discussions
Discussions
Discussions
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
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
07-06-2005 07:41 AM
07-06-2005 07:41 AM
ulimits:
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 4294575040
stack(kbytes) 392192
memory(kbytes) unlimited
coredump(blocks) unlimited
Corresponding to these kernel params (last figure is decimal value for the hex)
maxdsiz 0xf0000000 - 0xf0000000 4,026,531,840
maxdsiz_64bit 0xf0000000 - 0xf0000000 4,026,531,840
maxssiz 0x17F00000 - 0x17F00000 401,604,608
maxssiz_64bit 0x17F00000 - 0x17F00000 401,604,608
The Glance Process Memory Regions for the failed process looked like this when it died:
Memory Regions PID: 18484, pmdtm PPID: 12447 euid: 307 User: poweradm
Type RefCt RSS VSS Locked File Name
--------------------------------------------------------------------------------
DATA /Priv 1 1.60gb 1.60gb 0kb
MEMMAP/Priv 1 8kb 8kb 0kb /opt/.../server/pmdtm
MEMMAP/Priv 1 20kb 20kb 0kb
MEMMAP/Priv 1 8kb 8kb 0kb
MEMMAP/Priv 1 8kb 8kb 0kb /.../libpmdppivoter.sl
MEMMAP/Priv 1 12kb 12kb 0kb
MEMMAP/Priv 1 8kb 8kb 0kb /opt/.../libpmdpsvrcmn.sl
MEMMAP/Priv 1 36kb 36kb 0kb
Text RSS/VSS: 0kb/ 0kb Data RSS/VSS:1.6gb/1.6gb Stack RSS/VSS: 48kb/ 48kb
Shmem RSS/VSS:212kb/1.9mb Other RSS/VSS: 38mb/ 65mb
So:
If the maxdsiz for 32 bit O/S maximum is ~2gb (according to SAM help), where did the process hit the limit, or what limit was hit?
The application is 3rd party, not home-grown, so we can't modify it to 64bit ourselves.
My understanding from the HP technical paper and other postings (especially A.Clay) is that since my _64 bit kernel params are higher than their corresponding 32bit params they're not interfering.
Thanks for insights...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 08:00 AM
07-06-2005 08:00 AM
Re: ulimits, max sizes, and out of memory errors: 32bit
You could also be running out of swap space but I rather doubt it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2005 12:29 PM
07-06-2005 12:29 PM
Re: ulimits, max sizes, and out of memory errors: 32bit
chatr +q3p enable
WIth 11.11 (only) you can also enable +q4p and get 3700 megs with a 32bit program.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 02:19 AM
07-07-2005 02:19 AM
Re: ulimits, max sizes, and out of memory errors: 32bit
This system is 11.11 (apologies for not noting that previously).
The Quadrant limits are clearer, now, but:
1. Based on the Glance data, is it reasonable to assume that the application was compiled with EXEC_MAGIC? Isn't that the only way it could have Data RSS at 1.6gb?
2. If so, how does this change the stack vs. data ratio? 32-bit Text+Data+Stack < 2gb?
3. If not EXEC_MAGIC (or any other MAGIC) is the previous formula then 32-bit Text+Data+Stack < 1gb?
4. Anyone have a link to a white paper re: 32bit application memory management?
At this point, I'd like to optimize the 32bit settings to prove that there's no more to be done for this situation until management forks out some $ for the 64 bit version (no, I don't know why 32bit was purchased & installed...ancient history)
Points forthcoming. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 03:10 AM
07-07-2005 03:10 AM
Solutionchatr my.exe
If EXEC_MAGIC was enabled then you will
see "normal executable"; if not "shared executable". If an EXEC_MAGIC executable has been converted to SHMEM_MAGIC then you will see "normal SHMEM_MAGIC executable". As mentioned by Bill, unless your developer's originally compiled with "-N" the executable cannot be either EXEC_MAGIC or SHARED_MAGIC. Only a program originally linked as EXEC_MAGIC can be converted to SHMEM_MAGIC.
Your stack is still too large because even when EXEC_MAGIC is in play the same rules still apply because stack and data still coexist in at least one quadrant so whatever is set aside for the stack segment is not available for the data segment. The stack is really only used to hold temporary variables (variables local to functions and the function stack frames) so unless your code is very poorly written, 64MB is extremely generous and 32MB should be more than adequate. Even 64-bit programs don't need large stacks (unless poorly written) for exactly the same reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 03:18 AM
07-07-2005 03:18 AM
Re: ulimits, max sizes, and out of memory errors: 32bit
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 04:21 AM
07-07-2005 04:21 AM
Re: ulimits, max sizes, and out of memory errors: 32bit
Clay, Bill,
Yes, the program erroring was in fact done with EXEC_MAGIC:
# chatr /opt/etl/informatica/pc/pmdtm
/opt/etl/informatica/pc/pmdtm:
normal executable
shared library dynamic path search:
but given that
1. the erroring program is called by a parent which was NOT compiled with EXEC_MAGIC
and
2. the whole shootin' match is 3rd party
there's not much else to do. I will rationalize the max?siz parameters.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-07-2005 04:38 AM
07-07-2005 04:38 AM