<?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 Size in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066760#M904516</link>
    <description>Some martian keeps getting a 700KB spam email.  At least I think thats where /dev/null stuff gets sent. :-)&lt;BR /&gt;&lt;BR /&gt;Your approach as noted above should cause no issues except that you cant fix the problem.&lt;BR /&gt;&lt;BR /&gt;If you dont know where the core is coming from, you can let it core dump once and type 'file core' to find out.&lt;BR /&gt;&lt;BR /&gt;Another alternative for limiting the size of the "core" file is to simply create a sub-directory named "core".&lt;BR /&gt;&lt;BR /&gt;This is my method of choice.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
    <pubDate>Tue, 09 Sep 2003 13:14:07 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2003-09-09T13:14:07Z</dc:date>
    <item>
      <title>Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066756#M904512</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I've seen some messages about how to minimize the size of a core file...&lt;BR /&gt;I have the same problem, a core is generated &lt;BR /&gt;on my platform but is very huge ! (around 700 Mb) if I'm redirecting this core with those commands :&lt;BR /&gt; ln -s /dev/null core &lt;BR /&gt; or ulimit -c 0&lt;BR /&gt;&lt;BR /&gt;can I have a problem of swap or any memory problem ?&lt;BR /&gt;I mean if my core is generated in RAM and not&lt;BR /&gt;written in a filesystem is there an impact for my platform ???&lt;BR /&gt;&lt;BR /&gt;Thanks for reply,&lt;BR /&gt;Jean-Remi QUIRICONI.</description>
      <pubDate>Tue, 09 Sep 2003 13:03:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066756#M904512</guid>
      <dc:creator>QUIRICONI</dc:creator>
      <dc:date>2003-09-09T13:03:27Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066757#M904513</link>
      <description>You know that you are fixing the symptoms and not really addressing the problem but limiting the size of the core file but no there is no harm here other than the dump data itself is lost for debugging purposes. The data is not written to RAM but rather to the null device. In that respect, it's really no different than writing to any other device (tape, disk, ...).&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 13:08:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066757#M904513</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2003-09-09T13:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066758#M904514</link>
      <description>Hi Jean-Remi,&lt;BR /&gt;&lt;BR /&gt;If I understand your question correctly, then the answer is no. Because the core file IS what was in memory when the process was dumped.&lt;BR /&gt;So it was already there in memory. Now the system is writing that image to disk due to a failure or a direct request to dump.&lt;BR /&gt;When you redirect core to /dev/null it simply vanishes into the ether. It does not go back to memory nor the disk.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 09 Sep 2003 13:10:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066758#M904514</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-09-09T13:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066759#M904515</link>
      <description>I think you are trying to prevent core files from filling up yuour file systems.  If this is the case, I suggest you create a zero byte sized file3 named core, then change its permissions so it cannot be overwritten or moved by non-root users.&lt;BR /&gt;&lt;BR /&gt;(as root)&lt;BR /&gt;# cd /$DIR&lt;BR /&gt;# touch core&lt;BR /&gt;# chmod 444 core&lt;BR /&gt;&lt;BR /&gt;Of course, if core files *do* represent an issue that should be dealt with, so this is just a quick-dirty way of dealing with a larger issue.&lt;BR /&gt;&lt;BR /&gt;Hope this is what you were looking for ...</description>
      <pubDate>Tue, 09 Sep 2003 13:13:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066759#M904515</guid>
      <dc:creator>Robert Gamble</dc:creator>
      <dc:date>2003-09-09T13:13:29Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066760#M904516</link>
      <description>Some martian keeps getting a 700KB spam email.  At least I think thats where /dev/null stuff gets sent. :-)&lt;BR /&gt;&lt;BR /&gt;Your approach as noted above should cause no issues except that you cant fix the problem.&lt;BR /&gt;&lt;BR /&gt;If you dont know where the core is coming from, you can let it core dump once and type 'file core' to find out.&lt;BR /&gt;&lt;BR /&gt;Another alternative for limiting the size of the "core" file is to simply create a sub-directory named "core".&lt;BR /&gt;&lt;BR /&gt;This is my method of choice.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Kent M. Ostby&lt;BR /&gt;</description>
      <pubDate>Tue, 09 Sep 2003 13:14:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066760#M904516</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2003-09-09T13:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066761#M904517</link>
      <description>thank you for your replies,&lt;BR /&gt;&lt;BR /&gt;in fact I know the problem of the core, but I need to analyse other files generated during the core (some log files).&lt;BR /&gt;but my core file is generating a file system full, so I need to decrease it to investigate.&lt;BR /&gt;&lt;BR /&gt;Jean-Remi.</description>
      <pubDate>Tue, 09 Sep 2003 13:23:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066761#M904517</guid>
      <dc:creator>QUIRICONI</dc:creator>
      <dc:date>2003-09-09T13:23:27Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066762#M904518</link>
      <description>Sometimes, &lt;BR /&gt;&lt;BR /&gt;strings core|more&lt;BR /&gt;&lt;BR /&gt;will give a hint as to what program generated the core dump in the first place - no guarantees....but this may be a logical first step towards troubleshooting this real issue.&lt;BR /&gt;&lt;BR /&gt;Rob</description>
      <pubDate>Tue, 09 Sep 2003 13:23:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066762#M904518</guid>
      <dc:creator>Rob_132</dc:creator>
      <dc:date>2003-09-09T13:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Core Size</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066763#M904519</link>
      <description>Hi (again) Jean-Remi,&lt;BR /&gt;&lt;BR /&gt;You can mitigate the problem by changing the working directory to a dir with enough free space *before* starting the offending process.&lt;BR /&gt; &lt;BR /&gt;Can do it either manually:&lt;BR /&gt;cd /new/larger/dir&lt;BR /&gt;/opt/your/process&lt;BR /&gt;&lt;BR /&gt;Or virtually:&lt;BR /&gt;export PWD=/new_larger_dir&lt;BR /&gt;/opt/your/process&lt;BR /&gt;&lt;BR /&gt;Because core is dumped to the $PWD environment variable value, you can force the dump to wherever you wish by explicitly setting it.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Jeff</description>
      <pubDate>Tue, 09 Sep 2003 13:30:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-size/m-p/3066763#M904519</guid>
      <dc:creator>Jeff Schussele</dc:creator>
      <dc:date>2003-09-09T13:30:31Z</dc:date>
    </item>
  </channel>
</rss>

