- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process Memory Allocation HP-UX 11.31
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
08-30-2012 12:15 PM
08-30-2012 12:15 PM
Process Memory Allocation HP-UX 11i v3
Hi,
I have HP-UX 11i v3 running on ia64. One of my application is 32-bit and I want to increase the memory allocation of this process upto 2GB. I am contentiously receiving an error message of Out of Memory.
Can you please explain the procedure what kernel configuration( like maxdsize or maxdsize_64) i need to set and also do i need to set anything on the application binary ?
Thanks in advance.
My file chatr is as follows
32-bit ELF executable
shared library dynamic path search:
LD_LIBRARY_PATH enabled first
SHLIB_PATH enabled second
embedded path enabled third /usr/lib/hpux32:/opt/langtools/lib/hpux32
shared library list:
libX11.so.1
libm.so.1
libc.so.1
shared library binding:
deferred
global hash table disabled
global hash table size 1103
shared library mapped private disabled
runtime checks disabled
shared library segment merging disabled
shared vtable support disabled
explicit unloading disabled
linkage table protection disabled
segments:
index type address flags size
7 text 04000000 z---c- D (default)
8 data 40010000 ---m-- D (default)
executable from stack: D (default)
kernel assisted branch prediction enabled
lazy swap allocation for dynamic segments disabled
nulptr dereferences trap disabled
address space model: default
caliper dynamic instrumentation disabled
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2012 01:43 PM
08-30-2012 01:43 PM
Re: Process Memory Allocation HP-UX 11i v3
You can use "man maxdsiz" to get an explanation of the kernel parameter, or any other. the kcweb utility can be used to adjust them. Some values are dynamic and can be adjust on the fly, others will require a reboot. There are several memory setting for memory data segment, text segment and shared memory. You need to know which your system is attempting to use. What does it's documentation tell you about kernel settings?
Caution should be exercised when tuning system memory. It is possible to negativity impact your systems performance by over allocating or under allocating memory settings.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2012 05:24 PM - edited 08-30-2012 05:25 PM
08-30-2012 05:24 PM - edited 08-30-2012 05:25 PM
Re: Process Memory Allocation HP-UX 11.31
If you want 2 Gb, you need to make maxdsiz >= 2 Gb. (And maxdsiz_64bit must also be larger.)
Since you have: address space model: default
You will need to relink with either: -N or -Wl,+as,mpas
>the kcweb utility can be used to adjust them.
kctune(1m) is probably easier.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2012 11:33 PM
08-30-2012 11:33 PM
Re: Process Memory Allocation HP-UX 11.31
Hi,
Thanks for the responses. Can you please write the exact command to relink as the -N is not available in HP-UX 11.31?
Thanks again.
In the man pages is is written it is not supported.
This release of the chatr command no longer supports the following
options:
+ -n
+ -q
+ -M
+ -N
+ +getbuckets size
+ +plabel_cache flag
+ +q3p flag
+ +q4p flag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2012 12:50 AM
08-31-2012 12:50 AM
Re: Process Memory Allocation HP-UX 11.31
>Can you please write the exact command to relink as the -N is not available in HP-UX 11.31?
I told you, you MUST relink, you can't use chatr like you can on PA32.