<?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: /var directory still full even after I removed some data in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438226#M206875</link>
    <description>/var contains many kind of log file. each is put in private subdirectory.&lt;BR /&gt;You can find bigest directory by using this command&lt;BR /&gt;#du -sk /var/* |sort -nr&lt;BR /&gt;1144688 /var/adm&lt;BR /&gt;207736  /var/opt&lt;BR /&gt;13224   /var/stm&lt;BR /&gt;4752    /var/dmi&lt;BR /&gt;616     /var/sam&lt;BR /&gt;528     /var/tmp&lt;BR /&gt;408     /var/asx&lt;BR /&gt;240     /var/tombstones&lt;BR /&gt;144     /var/vx&lt;BR /&gt;112     /var/spool&lt;BR /&gt;96      /var/yp&lt;BR /&gt;&lt;BR /&gt;and then you track large file in each subdirectory again.&lt;BR /&gt;Or you also find big file by using find command.&lt;BR /&gt;[trn0:/] find /var -size +10240000c&lt;BR /&gt;This command finds all file sized over 10240000byte.&lt;BR /&gt;tienna&lt;BR /&gt;</description>
    <pubDate>Wed, 08 Dec 2004 04:43:47 GMT</pubDate>
    <dc:creator>Nguyen Anh Tien</dc:creator>
    <dc:date>2004-12-08T04:43:47Z</dc:date>
    <item>
      <title>/var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438217#M206866</link>
      <description>Hi!&lt;BR /&gt;&lt;BR /&gt;My /var directory is still at 100% even after I removed some directories under it. Is it possible there are some log or dump files in there that kept growing? Thanks and appreciate any advise!</description>
      <pubDate>Tue, 07 Dec 2004 11:07:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438217#M206866</guid>
      <dc:creator>Joshua Goi</dc:creator>
      <dc:date>2004-12-07T11:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438218#M206867</link>
      <description>You could have a run away process taking all the space as you free it up.&lt;BR /&gt; &lt;BR /&gt;The file wouldn't show up in the directory until the process closed.&lt;BR /&gt; &lt;BR /&gt;Use "lsof" to try to find the culprit.&lt;BR /&gt; &lt;BR /&gt;HTH&lt;BR /&gt; &lt;BR /&gt;-- Rod Hills</description>
      <pubDate>Tue, 07 Dec 2004 11:11:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438218#M206867</guid>
      <dc:creator>Rodney Hills</dc:creator>
      <dc:date>2004-12-07T11:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438219#M206868</link>
      <description>Your problem is that rm does an unlink and if the link count is now 0 the directory entry is removed BUT the space is only returned to the filesystem when all porcesses which had the file open either terminate or close the file. You need to user lsof or fuser to see what processes still have the file open and kill them.&lt;BR /&gt;&lt;BR /&gt;Man 2 unlink for a better understanding of your problem.&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 11:12:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438219#M206868</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2004-12-07T11:12:24Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438220#M206869</link>
      <description>A runaway process? Exactly how can I find out if it's that's the case?&lt;BR /&gt;&lt;BR /&gt;"lsof" doesn't seem to be a valid command when I typed it.</description>
      <pubDate>Tue, 07 Dec 2004 11:14:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438220#M206869</guid>
      <dc:creator>Joshua Goi</dc:creator>
      <dc:date>2004-12-07T11:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438221#M206870</link>
      <description>I did a reboot after I have removed those directories so that should have killed those processes or any users. But the space is still showing 100%. Weird.</description>
      <pubDate>Tue, 07 Dec 2004 11:17:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438221#M206870</guid>
      <dc:creator>Joshua Goi</dc:creator>
      <dc:date>2004-12-07T11:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438222#M206871</link>
      <description>All info may be in this thread :&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=757621" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=757621&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 11:17:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438222#M206871</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-07T11:17:46Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438223#M206872</link>
      <description>If you issue a reboot and still have space used, then you didn't remove the good files :)&lt;BR /&gt;&lt;BR /&gt;To see a good report of space, use this :&lt;BR /&gt;du -ksx /var/*&lt;BR /&gt;&lt;BR /&gt;This will give you size report for any element under /var. Change /var to anything to find more space-using element.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Fred&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Dec 2004 11:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438223#M206872</guid>
      <dc:creator>Fred Ruffet</dc:creator>
      <dc:date>2004-12-07T11:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438224#M206873</link>
      <description>There are some more obvious places to look.&lt;BR /&gt;Do an ls -l on the following:&lt;BR /&gt;&lt;BR /&gt;/var/adm/lp/log  &amp;lt;--lp log file&lt;BR /&gt;/var/adm/syslog/*  &amp;lt;-- syslogd log files&lt;BR /&gt;/var/tmp/  &amp;lt;-- system work space&lt;BR /&gt;/var/adm/sw   &amp;lt;-- lots of log files here&lt;BR /&gt;/var/adm/sw/products   &amp;lt;-- patch files&lt;BR /&gt;/var/lost+found  &amp;lt;-- misfiled files&lt;BR /&gt;/var/opt/ignite/logs  &amp;lt;-- logs from bootable backup&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 07 Dec 2004 12:29:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438224#M206873</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2004-12-07T12:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438225#M206874</link>
      <description>You could also try this:&lt;BR /&gt;&lt;BR /&gt;cd /var&lt;BR /&gt;touch junk&lt;BR /&gt;(delete a file under /var)&lt;BR /&gt;find . -newer junk&lt;BR /&gt;&lt;BR /&gt;That should show up the file(s) being written to. Then do either:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; file&lt;BR /&gt;     (only if the contents are not needed)&lt;BR /&gt;&lt;BR /&gt;or...&lt;BR /&gt;&lt;BR /&gt;fuser &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;and if it's appropriate, kill the process writing to the file&lt;/FILE&gt;</description>
      <pubDate>Wed, 08 Dec 2004 03:18:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438225#M206874</guid>
      <dc:creator>Gordon  Morrison</dc:creator>
      <dc:date>2004-12-08T03:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: /var directory still full even after I removed some data</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438226#M206875</link>
      <description>/var contains many kind of log file. each is put in private subdirectory.&lt;BR /&gt;You can find bigest directory by using this command&lt;BR /&gt;#du -sk /var/* |sort -nr&lt;BR /&gt;1144688 /var/adm&lt;BR /&gt;207736  /var/opt&lt;BR /&gt;13224   /var/stm&lt;BR /&gt;4752    /var/dmi&lt;BR /&gt;616     /var/sam&lt;BR /&gt;528     /var/tmp&lt;BR /&gt;408     /var/asx&lt;BR /&gt;240     /var/tombstones&lt;BR /&gt;144     /var/vx&lt;BR /&gt;112     /var/spool&lt;BR /&gt;96      /var/yp&lt;BR /&gt;&lt;BR /&gt;and then you track large file in each subdirectory again.&lt;BR /&gt;Or you also find big file by using find command.&lt;BR /&gt;[trn0:/] find /var -size +10240000c&lt;BR /&gt;This command finds all file sized over 10240000byte.&lt;BR /&gt;tienna&lt;BR /&gt;</description>
      <pubDate>Wed, 08 Dec 2004 04:43:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/var-directory-still-full-even-after-i-removed-some-data/m-p/3438226#M206875</guid>
      <dc:creator>Nguyen Anh Tien</dc:creator>
      <dc:date>2004-12-08T04:43:47Z</dc:date>
    </item>
  </channel>
</rss>

