<?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: /tmp not shrinking in size after files are removed... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626001#M39905</link>
    <description>You may have a logfile of some sort that is still being accessed by a process.</description>
    <pubDate>Wed, 05 Dec 2001 15:34:52 GMT</pubDate>
    <dc:creator>John Bolene</dc:creator>
    <dc:date>2001-12-05T15:34:52Z</dc:date>
    <item>
      <title>/tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625996#M39900</link>
      <description>All,&lt;BR /&gt;&lt;BR /&gt;I've cleaned out my /tmp filesystem (with the exception of lost+found) and have noticed that bdf shows the filesystem to still be at 100%.  The filesystem has been clean for roughly one hour and the '% free' has yet to drop even 1%&lt;BR /&gt;&lt;BR /&gt;Thoughts anyone??&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 05 Dec 2001 15:27:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625996#M39900</guid>
      <dc:creator>Houston Kemper</dc:creator>
      <dc:date>2001-12-05T15:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625997#M39901</link>
      <description>Hi Houston,&lt;BR /&gt;&lt;BR /&gt;This may be because the processes that are accessing the deleted files are still active. Use lsof command to get the processes and open files on /tmp and then check the processes.&lt;BR /&gt;&lt;BR /&gt;You can get lsof from &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/" target="_blank"&gt;http://hpux.cs.utah.edu/hppd/hpux/Sysadmin/lsof-4.55/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;It's very handy and is a must to have tool on the systems.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#lsof /tmp &amp;gt; lsoftmp.out&lt;BR /&gt;&lt;BR /&gt;To find out the files that are bigger than 50MB being accessed by the processes, you can use the command&lt;BR /&gt;&lt;BR /&gt;#awk '$7 &amp;gt; 50000000 {print $0}' lsoftmp.out&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Dec 2001 15:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625997#M39901</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2001-12-05T15:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625998#M39902</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Apparently one or more procs still have the files in question open (even though you've rm'ed them).  bdf will not reflect the freed space until every last proc using said file(s) dies.&lt;BR /&gt;&lt;BR /&gt;If you need to nix big files and see the effects immediately with bdf, always redirect nothing (or /dev/null) to the file(s) like so:&lt;BR /&gt;&amp;gt; /tmp/somefile&lt;BR /&gt;cat /dev/null &amp;gt; /tmp/somefile&lt;BR /&gt;&lt;BR /&gt;You can use "du -kxs /tmp" to get a true picture of what is used/available in /tmp.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Jim</description>
      <pubDate>Wed, 05 Dec 2001 15:33:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625998#M39902</guid>
      <dc:creator>Jim Turner</dc:creator>
      <dc:date>2001-12-05T15:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625999#M39903</link>
      <description>This usually happens because some process has a file open in /tmp and hasn't closed the file.  Since the file is still open, even though you've deleted the file, it still takes up space.  So basically you have to determine the process that was holding the file and kill/restart it.&lt;BR /&gt;&lt;BR /&gt;You can use the fuser command to find all the executable the has files open in /tmp, i.e.&lt;BR /&gt;&lt;BR /&gt;fuser -cu /tmp&lt;BR /&gt;&lt;BR /&gt;You can also use lsof if you have that on your system.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Santosh</description>
      <pubDate>Wed, 05 Dec 2001 15:33:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2625999#M39903</guid>
      <dc:creator>Santosh Nair_1</dc:creator>
      <dc:date>2001-12-05T15:33:53Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626000#M39904</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Some programs still have space allocated in /tmp. This is the explanation.&lt;BR /&gt;&lt;BR /&gt;Do a lsof /tmp, kill the processes that have opened files there, umount the partition and mount it again.&lt;BR /&gt;&lt;BR /&gt;In addition, read this thread:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1cbfcf38d6bdd5118ff10090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,11866,0x1cbfcf38d6bdd5118ff10090279cd0f9,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;E.</description>
      <pubDate>Wed, 05 Dec 2001 15:34:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626000#M39904</guid>
      <dc:creator>Eugen Cocalea</dc:creator>
      <dc:date>2001-12-05T15:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626001#M39905</link>
      <description>You may have a logfile of some sort that is still being accessed by a process.</description>
      <pubDate>Wed, 05 Dec 2001 15:34:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626001#M39905</guid>
      <dc:creator>John Bolene</dc:creator>
      <dc:date>2001-12-05T15:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626002#M39906</link>
      <description>I have seen this on an R class running 10.2,&lt;BR /&gt;&lt;BR /&gt;after cleaning up the file system it still reported full, umount it and re-mount it and it should give you the correct bdf then.&lt;BR /&gt;&lt;BR /&gt;may have to use what others had said fuser -k&lt;BR /&gt;&lt;BR /&gt;hope this helps&lt;BR /&gt;&lt;BR /&gt;scott</description>
      <pubDate>Wed, 05 Dec 2001 15:43:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626002#M39906</guid>
      <dc:creator>Scott_14</dc:creator>
      <dc:date>2001-12-05T15:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626003#M39907</link>
      <description>Houston,&lt;BR /&gt;I would go with Santosh's action plan. &lt;BR /&gt;fuser -cu /tmp&lt;BR /&gt;&lt;BR /&gt;You may have to use fuser anyway even if you kill the processes so why not cut out the middle man.&lt;BR /&gt;&lt;BR /&gt;Good Luck,&lt;BR /&gt;C</description>
      <pubDate>Wed, 05 Dec 2001 15:43:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626003#M39907</guid>
      <dc:creator>Craig Rants</dc:creator>
      <dc:date>2001-12-05T15:43:51Z</dc:date>
    </item>
    <item>
      <title>Re: /tmp not shrinking in size after files are removed...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626004#M39908</link>
      <description>Great information.  Thanks all!</description>
      <pubDate>Wed, 05 Dec 2001 21:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/tmp-not-shrinking-in-size-after-files-are-removed/m-p/2626004#M39908</guid>
      <dc:creator>Houston Kemper</dc:creator>
      <dc:date>2001-12-05T21:48:25Z</dc:date>
    </item>
  </channel>
</rss>

