- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Max available memory per process - how to get ...
Operating System - HP-UX
1755481
Members
4753
Online
108833
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-02-2001 03:11 PM
тАО08-02-2001 03:11 PM
Max available memory per process - how to get it?
I have a similar post, but in reply to a different issue, so I will post here too, as it will be more searchable by topic.
I need to learn how to set the maximum data segment memory for a process as high as possible, for my particular hardware setup.
I have a HP D250 (old box!) with 1GB ram, running HPUX 11.0. I have 1.8 GB of swap space on disk. Right now, a simple program that allocates memory in 1MB increments fails at 512MB, with an 'out of memory' error code.
I want to be able to increase this to the maximum that I can with the particular hardware that I have. I have no problem with tuning the kernel and rebuilding it. But I think that the settings I am using should allow something more like 1GB per process, yet I can't reach that.
I've tried linking with -N and -M, checking the ulimit for the user (datasize shows 1GB), tweaking the kernel settings for maxdsiz and maxtsiz, and nothing seems to help. 512MB is where it tops out. swapmem_on is set to 1.
Does anyone have a clue what to do? I've searched around on the web and here on the forums, but haven't located anything yet that helps.
Regards,
--Carl
I need to learn how to set the maximum data segment memory for a process as high as possible, for my particular hardware setup.
I have a HP D250 (old box!) with 1GB ram, running HPUX 11.0. I have 1.8 GB of swap space on disk. Right now, a simple program that allocates memory in 1MB increments fails at 512MB, with an 'out of memory' error code.
I want to be able to increase this to the maximum that I can with the particular hardware that I have. I have no problem with tuning the kernel and rebuilding it. But I think that the settings I am using should allow something more like 1GB per process, yet I can't reach that.
I've tried linking with -N and -M, checking the ulimit for the user (datasize shows 1GB), tweaking the kernel settings for maxdsiz and maxtsiz, and nothing seems to help. 512MB is where it tops out. swapmem_on is set to 1.
Does anyone have a clue what to do? I've searched around on the web and here on the forums, but haven't located anything yet that helps.
Regards,
--Carl
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-03-2001 01:42 AM
тАО08-03-2001 01:42 AM
Re: Max available memory per process - how to get it?
Check what your swap is doing at the time you are getting the error with swapinfo -mat and check % total used. If this is high (~90%) then you will need to increase swap (this is because processes reserve swap, even if they don't use it and you will get an out of memory error if processes are unable to reserve swap).
There are ten kinds of people in this world, those that understand binary - and those that don't.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-04-2001 02:28 PM
тАО08-04-2001 02:28 PM
Re: Max available memory per process - how to get it?
Hello Carl,
with your system's amounts of RAM and SWAP you
will not be able to get much more than that anyway...
Even if you set the kernel parameter MAXDSIZ higher
your swap space is much too small.
Sorry,
Wodisch
with your system's amounts of RAM and SWAP you
will not be able to get much more than that anyway...
Even if you set the kernel parameter MAXDSIZ higher
your swap space is much too small.
Sorry,
Wodisch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2001 04:57 AM
тАО08-06-2001 04:57 AM
Re: Max available memory per process - how to get it?
With 1.8 GB of swap and swapmem_on is set to 1, you should be able to get to 1 GB.
What is the settings of maxdsiz?
Also what is setting of maxswapchunks?
What is the settings of maxdsiz?
Also what is setting of maxswapchunks?
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP