<?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: core dump space in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443174#M8398</link>
    <description>Tony,&lt;BR /&gt;I do not believe there is any way to prevent the system from dumping ram into configured dump space at a crash.  The procedure I gave was meant to address space concerns in /var/adm/crash (or other cooked filesystems).</description>
    <pubDate>Wed, 06 Sep 2000 17:40:02 GMT</pubDate>
    <dc:creator>Alan Riggs</dc:creator>
    <dc:date>2000-09-06T17:40:02Z</dc:date>
    <item>
      <title>core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443167#M8391</link>
      <description>I dont have enought dump space on any of my boxes.  I would at least need 2 gig, which isn't an option at the moment to have just sitting there waiting for the next core dump.&lt;BR /&gt;&lt;BR /&gt;I saw this in the tech knowledge base:&lt;BR /&gt;&lt;BR /&gt;Use these steps to prevent the core dumps from consuming large amountsof disk space:&lt;BR /&gt;1. Create a core file in the directory in which you expect the core file:    &amp;gt; core&lt;BR /&gt;2. Change the core file to read-only:&lt;BR /&gt; chmod 444 core&lt;BR /&gt;The core files will no longer be written to disk.&lt;BR /&gt;&lt;BR /&gt;Is that right? So can I just chmod for my /var/adm/crash directlry and that will work?</description>
      <pubDate>Wed, 06 Sep 2000 16:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443167#M8391</guid>
      <dc:creator>Unix Administrator_6</dc:creator>
      <dc:date>2000-09-06T16:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443168#M8392</link>
      <description>Or you can simply set SAVECORE=0 in /etc/rc.config.d/savecore (I am assuming you are running 10.20 with a core size that large).  This keeps the system from trying to automatically save the core after a crash.</description>
      <pubDate>Wed, 06 Sep 2000 16:59:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443168#M8392</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-09-06T16:59:14Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443169#M8393</link>
      <description>Sometimes I need the core dump for HP to analyze, but I hate wasting the space, so I do need it though.</description>
      <pubDate>Wed, 06 Sep 2000 17:04:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443169#M8393</guid>
      <dc:creator>Unix Administrator_6</dc:creator>
      <dc:date>2000-09-06T17:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443170#M8394</link>
      <description>Sheri,&lt;BR /&gt;&lt;BR /&gt;The 444 permissions technique is to prevent the creation of large core dumps from 'normal' applications (which dump to a file 'core' in their current directory)rather than a system crashdump which is saved to /var/adm/crash.&lt;BR /&gt;&lt;BR /&gt;As per Alan's post, setting SAVECORE=0 will prevent the system restart from saving a crashdump. If you are on HP-UX 11 though the method for saving crashdumps has been rewritten so that only some parts of memory are actually dumped rather than all of it. You will need much less space in /var/adm/crash. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John</description>
      <pubDate>Wed, 06 Sep 2000 17:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443170#M8394</guid>
      <dc:creator>John Palmer</dc:creator>
      <dc:date>2000-09-06T17:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443171#M8395</link>
      <description>You can still run the savecore command manually after reboot.  I assumed this was what you intended.  If you have a dedicated dump device (as opposed to sharing primary swap) then you can wait indefinitely until actually writing the dump to file.  If you share primary dump and swap, you will need to issue the savecore command before memory fills and pages start swapping to ensure an uncorrupted dump.&lt;BR /&gt;&lt;BR /&gt;With a dedicated dump device, turning savecore off on reboot also speeds recovery time since the boot will not be delayed while the core is written.</description>
      <pubDate>Wed, 06 Sep 2000 17:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443171#M8395</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-09-06T17:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443172#M8396</link>
      <description>There is a crash files written to /var/adm/crash which others have outlined how to disable, but the document you alluded to will not affect crash files but core files that have been left behind by an application or failed command.&lt;BR /&gt;&lt;BR /&gt;My point is that these are two separate concepts.</description>
      <pubDate>Wed, 06 Sep 2000 17:15:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443172#M8396</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2000-09-06T17:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443173#M8397</link>
      <description>Sheri, there is a difference between what happens just afer a system panic and what happens with savecore.  When a panic occurs, the kernel will attempt to dump the contents of system RAM and a copy of the kernel into the defined dump space. I believe this is what you are referring to when you say "I dont have enought dump space" Is it not? You can get a glimpse of whether this is true by looking at the output of dmesg. You will see:&lt;BR /&gt;&lt;BR /&gt;"WARNING: Insufficient space on dump device to save full crashdump.&lt;BR /&gt;Only 524288000 of 2147484672 bytes will be saved."&lt;BR /&gt;&lt;BR /&gt;However, when the system reboots, the /sbin/init.d/savecore script checks the dump area to see if a core dump exists. If a dump exists, then by default, it will be saved underthe directory /var/adm/crash. This space may or maynot be also the dump area.  Use lvlnboot -v to see how your dump is used.&lt;BR /&gt;&lt;BR /&gt;The question I have for you is: does your procedure prevent dumps from occuring period or does it prevent savecore from performing its thing?&lt;BR /&gt;&lt;BR /&gt;Tony&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Sep 2000 17:31:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443173#M8397</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-09-06T17:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443174#M8398</link>
      <description>Tony,&lt;BR /&gt;I do not believe there is any way to prevent the system from dumping ram into configured dump space at a crash.  The procedure I gave was meant to address space concerns in /var/adm/crash (or other cooked filesystems).</description>
      <pubDate>Wed, 06 Sep 2000 17:40:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443174#M8398</guid>
      <dc:creator>Alan Riggs</dc:creator>
      <dc:date>2000-09-06T17:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: core dump space</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443175#M8399</link>
      <description>Thanks Alan for clarifying!&lt;BR /&gt;&lt;BR /&gt;Tony</description>
      <pubDate>Wed, 06 Sep 2000 17:46:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dump-space/m-p/2443175#M8399</guid>
      <dc:creator>Anthony deRito</dc:creator>
      <dc:date>2000-09-06T17:46:46Z</dc:date>
    </item>
  </channel>
</rss>

