- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Process Size limit
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-23-2007 05:05 AM
08-23-2007 05:05 AM
My OS is
hpitan2 spdwrk3 spdwrk3 > uname -a
HP-UX hpitan2 B.11.23 U ia64 3411090122 unlimited-user license
also is there any tool available on HP-UX is can analyze the process memory...like what is the size of the process heap, stack, shared memory segment etc...
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:20 AM
08-23-2007 05:20 AM
Re: Process Size limit
is the maximum size of a process is limited by the maximum size of its data segement ?
value of maxdsize_64bit on my system is
maxdsiz_64bit 4294967296 Default Immed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:27 AM
08-23-2007 05:27 AM
Re: Process Size limit
Glance is the best tool for analyzing process characteristics. It is not free but its on your application and core OS cd in a 60 day trial format. Once you like it, you can get a permanent license.
If your process uses shared memory then its size is normally limited by shmmax kernel parameter. kmtune or kctune to see current settings. Or SAM
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:29 AM
08-23-2007 05:29 AM
Re: Process Size limit
Yes.
>is the maximum size of a process is limited by the maximum size of its data segment?
Realistically, there is a separate one for stack and text but those should be trivial in size. And probably one for shared memory.
>value of maxdsize_64bit on my system is 4 Gb.
The hardware supports up to 2^48 or so. So really the limit is swap space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:42 AM
08-23-2007 05:42 AM
Re: Process Size limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:45 AM
08-23-2007 05:45 AM
Re: Process Size limit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 05:55 AM
08-23-2007 05:55 AM
Re: Process Size limit
The reason I mention swap space is that you could want your process maxdsiz_64 bit to be 1 Tb but your RAM maybe in terms of Gb.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 07:17 AM
08-23-2007 07:17 AM
Re: Process Size limit
ulimit command prints different value for data and stack sizes.
Which one will take precedence for a process ?
value shown by ulimit or kctune ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-23-2007 08:00 AM
08-23-2007 08:00 AM
Re: Process Size limit
No, there is a limit, but it is measured in thousands of gigabytes.
> it can only be limited by the values of maxdsiz_64bit,maxssiz_64bit,maxtsiz_64bit and swap space.
The kernel parameters are simply fences or limits that the sysadmin want to place on processes in case one grabs all RAM and all swap space -- much to the detriment of all other users. If you set maxdsiz_64 to 900 GB and you only have 50 GB of swap space, then your process will be limited to 50 GB of local memory. Because HP-UX is a virtual memory system, RAM is just a special case of all the addressing space available. If you want a process to use 900 GB of memory, you'll need to provide slightly more than 900 GB of swap space.
NOTE: be prepared for enormous delays (minutes to hours) running programs that require dozens of GB of RAM. These programs will be paused most of the time while memory is rearranged and pages are swapped in and out of memory. While the 64bit limits are extremely large, it does not mean that it is a good idea to use 100 times more RAM than you have available. And note that such swapping affects *every* process in the system because memory is being rearranged. The system overhead is enormous. If you need to run a process using 100 GB of memory, make sure you upgrade your computer to 128 GB of RAM.
> ulimit command prints different value for data and stack sizes. Which one will take precedence for a process? value shown by ulimit or kctune ?
When ulimit says unlimited, it means that maxdsiz_64 is the limit. If ulimit reports a value, than that is the limit in the current environment. ulimit is a shell built-in that can report or modify the current environment.
Bill Hassell, sysadmin