<?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 dumps in root filesytem in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769150#M260899</link>
    <description>for the time being, you could create a link in / to /dev/null, at least this prevent stalling your systems.&lt;BR /&gt;&lt;BR /&gt;# ln -s /dev/null/ core&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
    <pubDate>Mon, 10 Apr 2006 10:12:18 GMT</pubDate>
    <dc:creator>Robert-Jan Goossens</dc:creator>
    <dc:date>2006-04-10T10:12:18Z</dc:date>
    <item>
      <title>Core dumps in root filesytem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769149#M260898</link>
      <description>On 17 servers we had a core file fill up the root filesystem.  Some servers we had to reboot because we could not log in to the system to delete.  We have a ticket open with HP on what the cause of the core was but I would like to know how I can prevent this from happening again.  Somebody told me that we can create a /core directory and that would prevent it from happening.  Any suggestions?</description>
      <pubDate>Mon, 10 Apr 2006 10:05:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769149#M260898</guid>
      <dc:creator>Aaron_82</dc:creator>
      <dc:date>2006-04-10T10:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Core dumps in root filesytem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769150#M260899</link>
      <description>for the time being, you could create a link in / to /dev/null, at least this prevent stalling your systems.&lt;BR /&gt;&lt;BR /&gt;# ln -s /dev/null/ core&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Mon, 10 Apr 2006 10:12:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769150#M260899</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2006-04-10T10:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: Core dumps in root filesytem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769151#M260900</link>
      <description>Aaron, &lt;BR /&gt;- to identify which process is creating this core file:&lt;BR /&gt;  file /core&lt;BR /&gt;&lt;BR /&gt;- then you can change start script of this process to chdir a core directory. &lt;BR /&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769151#M260900</guid>
      <dc:creator>Antonio Cardoso_1</dc:creator>
      <dc:date>2006-04-10T10:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Core dumps in root filesytem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769152#M260901</link>
      <description>I think if it is a root process, then what would you do? &lt;BR /&gt;You might try identifying source of the file..(process), it can be a cron script or some startup script, you can check for fixing it.. &lt;BR /&gt;&lt;BR /&gt;You can create a job (cron), which will look for core file under root, and move it to some place (different than root), and leave a stamp of dir where it was and date.. YOu can keep the time you want  this way and you are not risking root this way.. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;find / -name core -xdev -exec mv {} /var/tmp/somedir/core.&lt;SOURCEDIR&gt; \; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;some script tricks can acheive this.. &lt;BR /&gt;&lt;BR /&gt;Thanks and good luck&lt;BR /&gt;Prashant&lt;/SOURCEDIR&gt;</description>
      <pubDate>Mon, 10 Apr 2006 10:27:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769152#M260901</guid>
      <dc:creator>Prashant Zanwar_4</dc:creator>
      <dc:date>2006-04-10T10:27:05Z</dc:date>
    </item>
    <item>
      <title>Re: Core dumps in root filesytem</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769153#M260902</link>
      <description>You find the name of the program that created the core file like this:&lt;BR /&gt; &lt;BR /&gt;file /core&lt;BR /&gt; &lt;BR /&gt;(assuming the core file is in /)  Now until you can prevent the bad program from creating further problems, remove the core file and create a directory called /core. There are other techniques including setting ulimit -c but the directory method is the simplest.&lt;BR /&gt; &lt;BR /&gt;Now since the core file is in the / directory, something is very wrong about the startup of this program. / (as you've seen) is critical to system operation so root's home as well as scripts that remain in / while running tasks are not good at all.</description>
      <pubDate>Mon, 10 Apr 2006 18:00:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/core-dumps-in-root-filesytem/m-p/3769153#M260902</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2006-04-10T18:00:29Z</dc:date>
    </item>
  </channel>
</rss>

