- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: EXEC_MAGIC
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
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
06-28-2006 05:06 AM
06-28-2006 05:06 AM
EXEC_MAGIC
What can be the maximum size of the data segment for a EXEC_MAGIC format binary's process?
maxdsiz is set to 2 GB
Thanks for your help.
Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:19 AM
06-28-2006 05:19 AM
Re: EXEC_MAGIC
If your program's text size is relatively small, you can use ~ 1.9 GB with an EXEC_MAGIC binary and a 32-bit executable.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:22 AM
06-28-2006 05:22 AM
Re: EXEC_MAGIC
There was a particular situation where the porcesses' data segment went upto that limit.
As reported by glance, it was 1.88.
Program crashed :-(
What do u suggest in such a situation.
Please guide.
Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:24 AM
06-28-2006 05:24 AM
Re: EXEC_MAGIC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:27 AM
06-28-2006 05:27 AM
Re: EXEC_MAGIC
There was a particular situation where the porcesses' data segment went upto that limit.
As reported by glance, it was 1.88.
Program crashed :-(
Again, What do u suggest in such a situation?
Please guide.
Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:33 AM
06-28-2006 05:33 AM
Re: EXEC_MAGIC
If your program reaches this limitation, look to compiling and running it as a 64-bit application.
If that isn't feasible, you will need to look to some re-engineering of your code. Perhaps you could do some I/O at the expense of using memory.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 05:54 AM
06-28-2006 05:54 AM
Re: EXEC_MAGIC
Alternatively, you can enable the 3rd quadrant for private data usage (ofcourse, this will mean reduced shared resources space).
You can use chatr to enable the private space in 3rd and 4th quadrants
# chatr +q3p enable
Sundar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 06:50 AM
06-28-2006 06:50 AM
Re: EXEC_MAGIC
When i use chatr +q3p enable, i am not able to execute the program at all.
binary permission are -rwxr-xr-x
file command returns file TMApp
"ELF-32 executable object file - IA64"
And when i execute the program, i get the folllowing error.
sh: TMApp : Execute permission denied.
Please guide.
Anurag
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2006 09:52 AM
06-28-2006 09:52 AM
Re: EXEC_MAGIC
Regarding EXEC_MAGIC, you can get data equal to 2Gb - Text - maxssiz - whatever other private objects such as mmap you make.
My guess would be that the rest of your space is maxssiz and your text cost. MPAS will you give you the whole 4Gb to work with (shared objects can be attached, but they'll be mapped private... see http://docs.hp.com/en/5990-6737/ch09s03.html).