<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Do core dumps really mean bad news. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809414#M83863</link>
    <description>If you wan to see the contents of a core file use the strings command and pipe it to page or more, EG:&lt;BR /&gt;&lt;BR /&gt;  strings core|pg&lt;BR /&gt;&lt;BR /&gt;You may be able to tell what created the dump, but be warned it is not light reading!&lt;BR /&gt;&lt;BR /&gt;I once saw a book on how to read and understand core files, but alas the place I saw this has now shut.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;If you want to stop users creating core files, add the following line to your /etc/profile :&lt;BR /&gt;&lt;BR /&gt;ulimit -c 0&lt;BR /&gt;&lt;BR /&gt;This sets the maximum size for core files, and zero disables core file creation.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 20 Sep 2002 08:43:39 GMT</pubDate>
    <dc:creator>David Andrews_1</dc:creator>
    <dc:date>2002-09-20T08:43:39Z</dc:date>
    <item>
      <title>Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809406#M83855</link>
      <description>&lt;BR /&gt;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?&lt;BR /&gt;&lt;BR /&gt;Greetings,&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 19 Sep 2002 07:52:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809406#M83855</guid>
      <dc:creator>Ronald Cogen</dc:creator>
      <dc:date>2002-09-19T07:52:56Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809407#M83856</link>
      <description>The answer, as with many things is - it depends.&lt;BR /&gt;&lt;BR /&gt;We 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).&lt;BR /&gt;&lt;BR /&gt;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).</description>
      <pubDate>Thu, 19 Sep 2002 07:57:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809407#M83856</guid>
      <dc:creator>Chris Wilshaw</dc:creator>
      <dc:date>2002-09-19T07:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809408#M83857</link>
      <description>&lt;BR /&gt;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.&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Sep 2002 07:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809408#M83857</guid>
      <dc:creator>Stefan Farrelly</dc:creator>
      <dc:date>2002-09-19T07:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809409#M83858</link>
      <description>I would say core dumps are GOOD  things because they show you that the software most probably is badly programmed and should be avoided or corrected.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Rainer</description>
      <pubDate>Thu, 19 Sep 2002 08:03:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809409#M83858</guid>
      <dc:creator>Rainer von Bongartz</dc:creator>
      <dc:date>2002-09-19T08:03:56Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809410#M83859</link>
      <description>Hi, Ron&lt;BR /&gt;&lt;BR /&gt;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)</description>
      <pubDate>Thu, 19 Sep 2002 08:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809410#M83859</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2002-09-19T08:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809411#M83860</link>
      <description>Ron&lt;BR /&gt;&lt;BR /&gt;As has been said core dumps show problems with coding.&lt;BR /&gt;&lt;BR /&gt;If you do not want to core dump to a particular directory then create a dir call "core" in that directory.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Paula</description>
      <pubDate>Thu, 19 Sep 2002 08:19:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809411#M83860</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-09-19T08:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809412#M83861</link>
      <description>Hi,&lt;BR /&gt;In a nutshell,&lt;BR /&gt;Core files can be accepted in Development server used in some application development.&lt;BR /&gt;&lt;BR /&gt;Core files can be avoided in Production server&lt;BR /&gt;running standard applications for transactions.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Thu, 19 Sep 2002 08:26:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809412#M83861</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-09-19T08:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809413#M83862</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;generally if from an application they can be lived with but should be investigated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Use file core&lt;BR /&gt;&lt;BR /&gt;This will show the program and a short what happened message&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then you know what cored and can decide for yourself a plan of action.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;             Steve Steel</description>
      <pubDate>Thu, 19 Sep 2002 10:42:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809413#M83862</guid>
      <dc:creator>Steve Steel</dc:creator>
      <dc:date>2002-09-19T10:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809414#M83863</link>
      <description>If you wan to see the contents of a core file use the strings command and pipe it to page or more, EG:&lt;BR /&gt;&lt;BR /&gt;  strings core|pg&lt;BR /&gt;&lt;BR /&gt;You may be able to tell what created the dump, but be warned it is not light reading!&lt;BR /&gt;&lt;BR /&gt;I once saw a book on how to read and understand core files, but alas the place I saw this has now shut.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;If you want to stop users creating core files, add the following line to your /etc/profile :&lt;BR /&gt;&lt;BR /&gt;ulimit -c 0&lt;BR /&gt;&lt;BR /&gt;This sets the maximum size for core files, and zero disables core file creation.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 20 Sep 2002 08:43:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809414#M83863</guid>
      <dc:creator>David Andrews_1</dc:creator>
      <dc:date>2002-09-20T08:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: Do core dumps really mean bad news.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809415#M83864</link>
      <description>Hi&lt;BR /&gt;To analyze core files&lt;BR /&gt;&lt;BR /&gt;file &lt;CORE&gt;&lt;BR /&gt;what &lt;CORE&gt;&lt;BR /&gt;Strings &lt;CORE&gt;&lt;BR /&gt;&lt;BR /&gt;Also &lt;BR /&gt;&lt;BR /&gt;Down load and install wdb:- &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hp.com/go/wdb" target="_blank"&gt;http://hp.com/go/wdb&lt;/A&gt; &lt;BR /&gt;&lt;BR /&gt;fire up /opt/langtools/bin/gdb -c &lt;CORE file=""&gt;&lt;/CORE&gt;&lt;BR /&gt;"bt" will give a stack trace:- &lt;BR /&gt;&lt;BR /&gt;(gdb) bt &lt;BR /&gt;#0 0xc01ecb88 in ?? &lt;BR /&gt;#1 0xc01ecb68 in ?? () &lt;BR /&gt;#2 0xc01ecb68 in ?? () &lt;BR /&gt;&lt;BR /&gt;or use "where" &lt;BR /&gt;&lt;BR /&gt;There are two stored registers that will tell you the address being &lt;BR /&gt;accessed &lt;BR /&gt;and instruction the process was executing when it failed. In gdb or at &lt;BR /&gt;the &lt;BR /&gt;"(gdb)" command prompt in wdb, try: &lt;BR /&gt;&lt;BR /&gt;(gdb) p /x $ior &lt;BR /&gt;&lt;BR /&gt;This prints the "Interrupt Offset Register" that is the address the &lt;BR /&gt;program was trying to access when it failed. &lt;BR /&gt;&lt;BR /&gt;(gdb) p /x $iir &lt;BR /&gt;&lt;BR /&gt;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 &lt;BR /&gt;with "=i". For example, &lt;BR /&gt;&lt;BR /&gt;(gdb) p /x $iir &lt;BR /&gt;$2 = 0xfe01280 &lt;BR /&gt;&lt;BR /&gt;$ adb &lt;BR /&gt;0xfe01280=i &lt;BR /&gt;LDW 254,0(r31) &lt;BR /&gt;This is a Load word command being executed. See instructions set for PA Risc. &lt;BR /&gt;&lt;BR /&gt;HTH &lt;BR /&gt;&lt;BR /&gt;Paula &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/CORE&gt;&lt;/CORE&gt;&lt;/CORE&gt;</description>
      <pubDate>Fri, 20 Sep 2002 10:41:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/do-core-dumps-really-mean-bad-news/m-p/2809415#M83864</guid>
      <dc:creator>Paula J Frazer-Campbell</dc:creator>
      <dc:date>2002-09-20T10:41:40Z</dc:date>
    </item>
  </channel>
</rss>

