HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Help Me WITH Memory fault(coredump)
Operating System - HP-UX
1835200
Members
2386
Online
110077
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-22-2002 04:12 AM
10-22-2002 04:12 AM
Help Me WITH Memory fault(coredump)
Some background.
HP-UX 11.11 Superdome m/c
I am running a script that checks the ldap database and reports when certain conditions are met.
I am getting a core dump with following error.
./writescript.sh[26]: 2910 Memory fault(coredump)
Now I ran it with truss to check all calls. The output is as follows.
mmap(NULL, 131244, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x9000) ................ = 0xc0010000
mmap(NULL, 14696, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 0x2a000) .... = 0x7b050000
mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) ... = 0x7b04e000
mmap(NULL, 1323008, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x6d000) .............. = 0xc0100000
mmap(NULL, 45056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, NULL) = 0x7b043000
mmap(0x7b03b000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 3, 0x1b0000) = 0x7b03b000
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) .. = 0x7b037000
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x2000) ................. = 0xc0004000
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 0x5000) ...... = 0x7b036000
mmap(NULL, 1323008, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x6d000) .............. ERR#12 ENOMEM
mmap(NULL, 40, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) ..... = 0x7b035000
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
waitpid(-1, 0x7f7f11b4, WUNTRACED) ...................................................... [sleeping]
./writescript.sh[26]: 2910 Memory fault(coredump)
Received signal 18, SIGCLD, in read(), [caught], no siginfo
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
As can be seen it is failing at mmap call with error No -12.
My kernel values are as follows
maxdsiz - 262144
maxdsiz_64bit - 262144
maxssiz - 2048
maxssiz_64bit - 2048
maxtsiz - 262144
maxtsiz_64bit - 262144
(these values are through sysdef and kmtune is giving different values-this another thing)
I am planning to change maxssiz_64bit to 8192
Iam hitting the right spot?
Thanks in advance.
HP-UX 11.11 Superdome m/c
I am running a script that checks the ldap database and reports when certain conditions are met.
I am getting a core dump with following error.
./writescript.sh[26]: 2910 Memory fault(coredump)
Now I ran it with truss to check all calls. The output is as follows.
mmap(NULL, 131244, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x9000) ................ = 0xc0010000
mmap(NULL, 14696, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 0x2a000) .... = 0x7b050000
mmap(NULL, 8192, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) ... = 0x7b04e000
mmap(NULL, 1323008, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x6d000) .............. = 0xc0100000
mmap(NULL, 45056, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS|MAP_SHLIB, -1, NULL) = 0x7b043000
mmap(0x7b03b000, 32768, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_SHLIB, 3, 0x1b0000) = 0x7b03b000
mmap(NULL, 16384, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) .. = 0x7b037000
mmap(NULL, 12288, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x2000) ................. = 0xc0004000
mmap(NULL, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_SHLIB, 3, 0x5000) ...... = 0x7b036000
mmap(NULL, 1323008, PROT_READ|PROT_EXEC, MAP_SHARED|MAP_SHLIB, 3, 0x6d000) .............. ERR#12 ENOMEM
mmap(NULL, 40, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_ANONYMOUS, -1, NULL) ..... = 0x7b035000
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
waitpid(-1, 0x7f7f11b4, WUNTRACED) ...................................................... [sleeping]
./writescript.sh[26]: 2910 Memory fault(coredump)
Received signal 18, SIGCLD, in read(), [caught], no siginfo
Received signal 18, SIGCLD, in sigvec(), [SIG_DFL], no siginfo
As can be seen it is failing at mmap call with error No -12.
My kernel values are as follows
maxdsiz - 262144
maxdsiz_64bit - 262144
maxssiz - 2048
maxssiz_64bit - 2048
maxtsiz - 262144
maxtsiz_64bit - 262144
(these values are through sysdef and kmtune is giving different values-this another thing)
I am planning to change maxssiz_64bit to 8192
Iam hitting the right spot?
Thanks in advance.
There is no substitute to HARDWORK
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 04:17 AM
10-22-2002 04:17 AM
Re: Help Me WITH Memory fault(coredump)
THOSE values are NOT in KB they are in BYTES.
If you don't jack them up to where they need to be you will be in a world of hurt.
I wouldn't go any lower than this:
kmtune | grep "^max" | grep siz
maxdsiz 0x40000000 - 0X40000000
maxdsiz_64bit 0x40000000 - 0X40000000
maxssiz 0x800000 - 0X800000
maxssiz_64bit 0x800000 - 0X800000
maxtsiz 0x4000000 Y 0X4000000
maxtsiz_64bit 0x40000000 Y 0X40000000
live free or die
harry
Live Free or Die
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-22-2002 04:29 AM
10-22-2002 04:29 AM
Re: Help Me WITH Memory fault(coredump)
harry,
sysdef is giving above details, but kmtune gives
maxdsiz 1073741824 - 1073741824
maxdsiz_64bit 0x40000000 - 0X40000000
maxssiz 0x800000 - 0X800000
maxssiz_64bit 0x800000 - 0X800000
maxtsiz 1073741824 Y 1073741824
maxtsiz_64bit 0x40000000 Y 0X40000000
if I do printf "%d\n" 0x800000
it gives 8388608 i.e 8MB then why I am getting the error.
(Also why sysdef & kmtune report diff. things)
I am really caught in this.
sysdef is giving above details, but kmtune gives
maxdsiz 1073741824 - 1073741824
maxdsiz_64bit 0x40000000 - 0X40000000
maxssiz 0x800000 - 0X800000
maxssiz_64bit 0x800000 - 0X800000
maxtsiz 1073741824 Y 1073741824
maxtsiz_64bit 0x40000000 Y 0X40000000
if I do printf "%d\n" 0x800000
it gives 8388608 i.e 8MB then why I am getting the error.
(Also why sysdef & kmtune report diff. things)
I am really caught in this.
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-23-2002 09:35 AM
10-23-2002 09:35 AM
Re: Help Me WITH Memory fault(coredump)
The "ERR#12 ENOMEM" is not a real problem. The dld.sl just tries to map some shared libraries multiple times and gets that error from the mmap call. It doesn't cause any trouble. It looks like the coredump is from a child process. Your should use tusc with the "-f -p" options to get data from child processes.
You could also examine the core file itself with "file core" and wdb.
You could also examine the core file itself with "file core" and wdb.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP