<?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: Root File system getting full - in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977389#M293909</link>
    <description>This has all the markings of an unlinked temporary file but there is something else to check for. Is /tmp actually mounted? For example, if /tmp were not mounted then everything under the normal /tmp mountpoint would go in /. This means that you could have unlinked temporary files that should be in /tmp actually in /.&lt;BR /&gt;&lt;BR /&gt;You should also note that OnlineJFS would not help you in this case because / must be housed in a contiguously allocated LVOL.</description>
    <pubDate>Mon, 09 Apr 2007 09:21:42 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-04-09T09:21:42Z</dc:date>
    <item>
      <title>Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977387#M293907</link>
      <description>Hi All&lt;BR /&gt;my root file system keeps getting full.  I dont seem to have any cause.  No files that have filled up this system.  I am forced to reboot to clear it. and it reduces to as low as 35%.  Does anybody out there have a clue as to what it is and what I can do ?  &lt;BR /&gt;&lt;BR /&gt;ooh, I dont have online JFS to extend it.&lt;BR /&gt;&lt;BR /&gt;Suggestions welcome.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Rich...</description>
      <pubDate>Mon, 09 Apr 2007 08:51:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977387#M293907</guid>
      <dc:creator>Richard_115</dc:creator>
      <dc:date>2007-04-09T08:51:22Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977388#M293908</link>
      <description>Hi Richard:&lt;BR /&gt;&lt;BR /&gt;From your description it sounds like you have a process that is opending a temporary file(s) in the root directory and immediately removing the file while contining to write to it.  This is a very common technique for handling temporary files.&lt;BR /&gt;&lt;BR /&gt;The easiest way to identify the process doing this is to use 'lsof' (available from the Porting Center):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/" target="_blank"&gt;http://hpux.cs.utah.edu/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you do:&lt;BR /&gt;&lt;BR /&gt;# lsof +D / +L1&lt;BR /&gt;&lt;BR /&gt;Look for an 'NLINK' count of zero (0).  These represent open files that will vanish as soon as the last process using them terminates.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Apr 2007 09:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977388#M293908</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-09T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977389#M293909</link>
      <description>This has all the markings of an unlinked temporary file but there is something else to check for. Is /tmp actually mounted? For example, if /tmp were not mounted then everything under the normal /tmp mountpoint would go in /. This means that you could have unlinked temporary files that should be in /tmp actually in /.&lt;BR /&gt;&lt;BR /&gt;You should also note that OnlineJFS would not help you in this case because / must be housed in a contiguously allocated LVOL.</description>
      <pubDate>Mon, 09 Apr 2007 09:21:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977389#M293909</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-09T09:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977390#M293910</link>
      <description>Clay and James,&lt;BR /&gt;&lt;BR /&gt;Yes I have /tmp file system mounted.  Files underneath are not linked.  &lt;BR /&gt;&lt;BR /&gt;James, Do I have to dowmload this lsof from some website ?  I dont seem t have it installed on any of my systems.  Does it cause a reboot ?  I cannot risk since this is a production server !&lt;BR /&gt;&lt;BR /&gt;HELP....</description>
      <pubDate>Mon, 09 Apr 2007 09:27:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977390#M293910</guid>
      <dc:creator>Richard_115</dc:creator>
      <dc:date>2007-04-09T09:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977391#M293911</link>
      <description>And just some notes about the / filesystem: &lt;BR /&gt; &lt;BR /&gt;- You can't extend / (or /stand or the primary swap lvol -- these must remain contiguous)&lt;BR /&gt; &lt;BR /&gt;- You don't want to extend / -- it is supposed to remain staic in size&lt;BR /&gt; &lt;BR /&gt;- You probably have root's $HOME in / -- a very bad place (and unfortunately common on almost all Unix flavors). Move root's $HOME to a separate directory so it is easier to manage (/root is fine or /home/root if desired)&lt;BR /&gt; &lt;BR /&gt;- search for bad files in /dev: &lt;BR /&gt; &lt;BR /&gt;find /dev -type f -exec ll {} +&lt;BR /&gt; &lt;BR /&gt;(no regular files in /dev - common errors include om (should be 0m) and /dev/null2)&lt;BR /&gt; &lt;BR /&gt;- No application directories in / -- EVER. They belong in /opt for installs, /var/tmp for temp files and separate lvols for /data-etc</description>
      <pubDate>Mon, 09 Apr 2007 09:28:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977391#M293911</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2007-04-09T09:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977392#M293912</link>
      <description>Hi (again) Richard:&lt;BR /&gt;&lt;BR /&gt;You can download a binary depot from here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.77/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Apr 2007 09:29:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977392#M293912</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-09T09:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977393#M293913</link>
      <description>... and no, a swinstall of /lsof does not trigger a reboot. Lsof is one of those utilities that no UNIX box should be without.</description>
      <pubDate>Mon, 09 Apr 2007 09:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977393#M293913</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-09T09:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977394#M293914</link>
      <description>Thanks all.... &lt;BR /&gt;Have installed the lsof .... I am evaluating the results.... will keep u updated...</description>
      <pubDate>Mon, 09 Apr 2007 12:33:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977394#M293914</guid>
      <dc:creator>Richard_115</dc:creator>
      <dc:date>2007-04-09T12:33:45Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977395#M293915</link>
      <description>James&lt;BR /&gt;&lt;BR /&gt;I have looked at the output from the lsof command.  Now it appears that the NLINK number zero is associated with a given process, which actually is very vital.  I cannot kill the process !  In a sense, what I am looking at is " what causes this problem" and how can I stop it from happening.  Killing the processes is tantamount to rebooting the system !  Whci case I didnt want to do.  Any advise as to the cause and what to do to fix it ?????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;&lt;BR /&gt;Rich...</description>
      <pubDate>Mon, 09 Apr 2007 13:50:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977395#M293915</guid>
      <dc:creator>Richard_115</dc:creator>
      <dc:date>2007-04-09T13:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977396#M293916</link>
      <description>Hi (again) Richard:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; it appears that the NLINK number zero is associated with a given process, which actually is very vital&lt;BR /&gt;&lt;BR /&gt;...and so, what is the name of that process?  If this is a *local* application, then you probably need to look at where and how that application creates its temporary file(s).&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 09 Apr 2007 14:00:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977396#M293916</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2007-04-09T14:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977397#M293917</link>
      <description>&amp;gt;&amp;gt; Now it appears that the NLINK number zero is associated with a given process, which actually is very vital.&lt;BR /&gt;&lt;BR /&gt;And the file size is relevant? (ls -li )&lt;BR /&gt;&lt;BR /&gt;Sounds like an ill-behaving or ill-used application. Maybe there is a environment variable or .init or .rc setting to redirect its work files?&lt;BR /&gt;&lt;BR /&gt;If this is not a homegrown application but a more or less standard package then you may want to &lt;BR /&gt;- share the name with us as some reader might have prior expeirences and resolutions&lt;BR /&gt;- contact the vendor for support!&lt;BR /&gt;&lt;BR /&gt;hth,&lt;BR /&gt;Hein van den Heuvel&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Apr 2007 14:04:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977397#M293917</guid>
      <dc:creator>Hein van den Heuvel</dc:creator>
      <dc:date>2007-04-09T14:04:11Z</dc:date>
    </item>
    <item>
      <title>Re: Root File system getting full -</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977398#M293918</link>
      <description>Since I left my secret decoder ring at home and "The Force" isn't very strong today, it would help to know the name of this vital process --- and is this some application that you are running?&lt;BR /&gt;&lt;BR /&gt;If so, the "fix" may very well be to start the application so that it's CWD is not in the root filesystem. I think this is some "home-grown" or 3rd-party application because well-written applications would observe the TMPDIR convention for temporary files. Of course, it is also possible that this is a well-written application that has been out-bushwhacked by setting TMPDIR=/.</description>
      <pubDate>Mon, 09 Apr 2007 14:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/root-file-system-getting-full/m-p/3977398#M293918</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-04-09T14:07:21Z</dc:date>
    </item>
  </channel>
</rss>

