- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Limit process memory usage per process
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
тАО09-24-2003 04:36 AM
тАО09-24-2003 04:36 AM
Limit process memory usage per process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 02:38 AM
тАО09-25-2003 02:38 AM
Re: Limit process memory usage per process
What you'd need to do is increase the limit to cater for the maximum you might want to allocate to your process, and limit the remaining processes on your system to a less amount of memory. Take a look at PRM - it might do what you want (though not quite in the way you expect). Be careful though - if I remember correctly it used to cause problems with Oracle (if the resource limits were reached, PRM used to suspend the offending process - not a good idea if its an Oracle process)!
This is a link to the docs:
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/B8733-90009/B8733-90009_top.html&con=/hpux/onlinedocs/B8733-90009/00/00/11-con.html&toc=/hpux/onlinedocs/B8733-90009/00/00/11-toc.html&searchterms=PRM&queryid=20030925-083022
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 02:44 AM
тАО09-25-2003 02:44 AM
Re: Limit process memory usage per process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 02:53 AM
тАО09-25-2003 02:53 AM
Re: Limit process memory usage per process
Kernel params specify the maximum for anything. You need to increase maxdsiz/maxdsiz_64bit.
But ulimit may help you to restrict other processes from using the max. But this is laborious as only some processes pick up the max. ulimit changes is only available with sh-posix. man sh-posix for more details.
HTH,
Umapathy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 03:28 AM
тАО09-25-2003 03:28 AM
Re: Limit process memory usage per process
This is covered on another thread:
http://forums1.itrc.hp.com/service/forums/parseCurl.do?CURL=%2Fcm%2FQuestionAnswer%2F1%2C%2C0x0d5e2d88ce9cd711abdc0090277a778c%2C00.html&admit=716493758+1064503332011+28353475
It might do the job if there is no problem with letting other processes under the same user being able to utilise the same memory limit. There's usually more than one way to skin a cat! :-)
Col.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 03:58 AM
тАО09-25-2003 03:58 AM
Re: Limit process memory usage per process
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-25-2003 10:15 PM
тАО09-25-2003 10:15 PM
Re: Limit process memory usage per process
If its a process started manually from a user account, then your method is much better than PRM (which I have reservations about anyway).