HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- memory related
Operating System - HP-UX
1837996
Members
11492
Online
110124
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
Forums
Discussions
Discussions
Discussions
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
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
10-01-2008 04:10 AM
10-01-2008 04:10 AM
memory related
hello experts,
What are the possibilities to restrict memory usage for a user on HPUX11.11?
Is it possible to limit real memory usage?
if yes, then how we can do that?
waiting for your response.
thanks and regards,
pankaj roy
What are the possibilities to restrict memory usage for a user on HPUX11.11?
Is it possible to limit real memory usage?
if yes, then how we can do that?
waiting for your response.
thanks and regards,
pankaj roy
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2008 04:35 AM
10-01-2008 04:35 AM
Re: memory related
by using ulimit u can restrict virtual memory iusage
-v The number of K-bytes for virtual memory.
% ulimit -s 512
% ulimit -a
% time(seconds) unlimited
file(blocks) 100
data(kbytes) 523256
stack(kbytes) 512
coredump(blocks) 200
nofiles(descriptors) 64
memory(kbytes) unlimited
-v The number of K-bytes for virtual memory.
% ulimit -s 512
% ulimit -a
% time(seconds) unlimited
file(blocks) 100
data(kbytes) 523256
stack(kbytes) 512
coredump(blocks) 200
nofiles(descriptors) 64
memory(kbytes) unlimited
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2008 04:44 AM
10-01-2008 04:44 AM
Re: memory related
To some extent you can set limits on data and stack size for a user using ulimit (see the sh-posix man page for details)
You can also control stack, data and text sizes for processes using the kernel parameters max[dts]siz and max[dts]siz_64bit
If you have the product then you could also restrict some memory using PRM:
http://docs.hp.com/en/ha.html#Process%20Resource%20Manager
But all of these have limitations and the best way to control memory is from the application itself (e.g. for Oracle setting SGA and PGA paremeters correctly)
The amount of pain and heartache you can get in if trying to restrict/manage memory more efficiently, its often quicker and in the long run cheaper to just buy more memory.
HTH
Duncan
I am an HPE Employee
You can also control stack, data and text sizes for processes using the kernel parameters max[dts]siz and max[dts]siz_64bit
If you have the product then you could also restrict some memory using PRM:
http://docs.hp.com/en/ha.html#Process%20Resource%20Manager
But all of these have limitations and the best way to control memory is from the application itself (e.g. for Oracle setting SGA and PGA paremeters correctly)
The amount of pain and heartache you can get in if trying to restrict/manage memory more efficiently, its often quicker and in the long run cheaper to just buy more memory.
HTH
Duncan
I am an HPE Employee

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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP