- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 32 bit process terminates when data segement excee...
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
тАО01-12-2006 09:10 AM
тАО01-12-2006 09:10 AM
32 bit process terminates when data segement exceeds 64-bit data segement limit
The kernel parameter that limits process data size for 32-bit processes is called maxdsize and is set to 2GB.
For 64-bit processes it is called maxdsize_64bit it is set to 1GB.
Our 32-bit process dies when it hits the 1GB limit.
(process also dies at 512MB data size when maxdsize_64bit is set to 512MB).
Our server is an rp3440 64 bit machine running hpux 11i The process is 32 bit compiled with +DA2.0 and linked with -N option to overcome the 1GB data limit.
(On former K-class servers the process normally went well beyond 1GB)
Any patches or parameter I need to set?
Thx in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 09:12 AM
тАО01-12-2006 09:12 AM
Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit
To solve this you should increase the maxdsiz_64 to be at least 2GB.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 10:21 AM
тАО01-12-2006 10:21 AM
Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit
One of the strange things that happens is that ulimit always uses the smaller of the two values.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 11:15 AM
тАО01-12-2006 11:15 AM
Re: 32 bit process terminates when data segement exceeds 64-bit data segement limit
When a 64-bit process forks off a 32-bit process, you have to make a decision somehow. The rlimit standard states that children should inherit the limits of their parents -- but the 32-bit maximum may be much lower than the 64-bit limit (even if the parent didn't change the limit). So the most restrictive of the limits is used (parent limit vs. 32-bit system-wide limit).
What happens here is that shells are almost always 32-bit processes... and are spawned from a 64-bit process (init). So init starts with the 64-bit (lower) limit, forks 32-bit children... which inherit the lower limit of the 64-bit parent instead of the system-wide 32-bit limit. All processes spawned from the shell inherit the limit of their parent (the shell)... so it propagates from there.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-12-2006 12:47 PM
тАО01-12-2006 12:47 PM