- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Do core dumps really mean bad news.
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
09-19-2002 12:52 AM
09-19-2002 12:52 AM
This is perhaps a dumb question, but I will venture it anyway. Are core dumps necessarily a bad thing (especially relating to java processes)? Or can one live with them, which seems sometimes to be the case?
Greetings,
Ron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 12:57 AM
09-19-2002 12:57 AM
SolutionWe have an application that dump cores at intervals. On most occasions, it almost never seems to be a major problem (sloppy coding in a database enquiry module is suspected). On the times when it is a problem, it seems to be during database writes (leading to missing/corrupt data).
The most likely problem from dropping a lot of core files is to fill up whichever filesystem it happens to be in - in our case, they tend to be dropped into /home, so we link $HOME/core to /dev/null (our application support people have no interest in analysing the cores even when we save them).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 12:57 AM
09-19-2002 12:57 AM
Re: Do core dumps really mean bad news.
I would say core dumps are bad things and should be investigated. Java is a particularly poor product in my opinion. We always have problems with it, from various core dumps to processes dying to tons of errors in the java logs requiring frequent restarts of the apps, and sometimes even the server! So in the case of Java we have to live with it too. We cannot get the provider of the app to certify we can upgrade java which means we have to live with it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 01:03 AM
09-19-2002 01:03 AM
Re: Do core dumps really mean bad news.
Regards
Rainer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 01:09 AM
09-19-2002 01:09 AM
Re: Do core dumps really mean bad news.
I would like to say that core dumps are not bad things, it shows incorrectness in any program which creates core. Ofcourse we can live with core files ( usually we remove such files since they will be consuming the space)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 01:19 AM
09-19-2002 01:19 AM
Re: Do core dumps really mean bad news.
As has been said core dumps show problems with coding.
If you do not want to core dump to a particular directory then create a dir call "core" in that directory.
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 01:26 AM
09-19-2002 01:26 AM
Re: Do core dumps really mean bad news.
In a nutshell,
Core files can be accepted in Development server used in some application development.
Core files can be avoided in Production server
running standard applications for transactions.
regards,
U.SivaKumar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2002 03:42 AM
09-19-2002 03:42 AM
Re: Do core dumps really mean bad news.
generally if from an application they can be lived with but should be investigated.
Use file core
This will show the program and a short what happened message
Then you know what cored and can decide for yourself a plan of action.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 01:43 AM
09-20-2002 01:43 AM
Re: Do core dumps really mean bad news.
strings core|pg
You may be able to tell what created the dump, but be warned it is not light reading!
I once saw a book on how to read and understand core files, but alas the place I saw this has now shut.
Most of the time core files are just an anoyance, but it would be nice to find out what caused it, to prevent it happening too often.
If you want to stop users creating core files, add the following line to your /etc/profile :
ulimit -c 0
This sets the maximum size for core files, and zero disables core file creation.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-20-2002 03:41 AM
09-20-2002 03:41 AM
Re: Do core dumps really mean bad news.
To analyze core files
file
what
Strings
Also
Down load and install wdb:-
http://hp.com/go/wdb
fire up /opt/langtools/bin/gdb -c
"bt" will give a stack trace:-
(gdb) bt
#0 0xc01ecb88 in ??
#1 0xc01ecb68 in ?? ()
#2 0xc01ecb68 in ?? ()
or use "where"
There are two stored registers that will tell you the address being
accessed
and instruction the process was executing when it failed. In gdb or at
the
"(gdb)" command prompt in wdb, try:
(gdb) p /x $ior
This prints the "Interrupt Offset Register" that is the address the
program was trying to access when it failed.
(gdb) p /x $iir
This is the "Interrupt Instruction Register" that shows the machine instruction that caused the failure. To decode this start up a separate "adb" (adb) should already be installed ??? note it has no prompt and the $ prefixes each command - $q = quit) session and enter the value from the above command and follow it
with "=i". For example,
(gdb) p /x $iir
$2 = 0xfe01280
$ adb
0xfe01280=i
LDW 254,0(r31)
This is a Load word command being executed. See instructions set for PA Risc.
HTH
Paula