- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Segments in core files...
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
02-11-2004 02:08 AM
02-11-2004 02:08 AM
In the past, with C processes I've often found that a SIGABORT has been triggered by hitting a kernel limit (I've actually knocked together a noddy program for looking at the size of segments within core files to help identify this).
In our core file we had a very large segment (333 MB) of type CORE_MMF (see /usr/include/sys/core.h for the list). Unfortunately, CORE_MMF doesn't appear to be very well document.
Which address space quadrant does this map into? (If it maps into the data segment it might explain the core dump I'm seeing).
Thanks in advance
Dave
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 02:39 AM
02-11-2004 02:39 AM
SolutionThese are Memory Mapped Files
See
/usr/share/doc/proc_mgt.txt
grep -i mapped /usr/include/sys/*.h
grep -i mapped /usr/include/sys/*.h
If you have a HP contract ask them to supply kmeminfo for you
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 02:54 AM
02-11-2004 02:54 AM
Re: Segments in core files...
All shared objects & memory mapped objects live in the 3rd quad by default. If EXEC_MAGIC or SHMEM_MAGIC has been linked (or chatr'd) into the executable, it could also be using a protion of the 4th quad as well.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 11:37 AM
02-11-2004 11:37 AM
Re: Segments in core files...
The 32-bit address space layouts can be changed quite a bit by various linker and chatr options. There is a good table of all the options in the Adaptive Address Space white paper at
http://h21007.www2.hp.com/dspp/files/unprotected/Itanium/aas_white_paper.pdf
The default has private objects mapped into quadrant 2 and shared objects mapped into quadrants 3 and 4. The java executables from HP will also have private data in quadrant 1. There are also java_q3p and java_q4p variants in java 1.3 and 1.4 that have third and fourth quadrant private data.
You really should look at the stack backtraces to get an idea where the process died.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-11-2004 10:34 PM
02-11-2004 10:34 PM
Re: Segments in core files...
I'm assuming that all CORE_MMF segments will count (along with CORE_DATA segments) towards maxdsiz; if this is the case we aren't close to the maxdsiz limit (with C/C++ processes we've seen them die with SIGABORT when they attempt to allocate memory and would exceed maxdsiz).
Looks like we'll have to see if the recurs or is a one-off :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2004 04:07 AM
02-12-2004 04:07 AM
Re: Segments in core files...
Check http://www.hp.com/go/wdb to see if you have the latest version.
The maxdsiz limit only affects the data segment, (CORE_DATA). The newer shared memory and memory mapped file interfaces are not counted towards the maxdsiz limit.